Homing Drops | ||
Release Date: May 13, 2024 |
Author: Nodever2
|
|
Type: Assembly |
Rating:
Pending
|
|
Links:
[download] .asm file
(49 downloads)
|
Game:
|
Description
I made this two years ago but haven't finished a hack to show it off soooo here you go.
Currently the code is configured to make drops work like dread item drops where they home in on you by default after a second (80 frames - configurable).
You can also configure the max range and max speed of the drops as they move towards samus. The max range doesn't seem to work very well past a couple screens worth of distance though.
There is commented code which makes it work like a normal charge beam tractor beam (uncomment line 86). There is also commented code which makes the drops attract to PBs like X parasites do in metroid fusion (uncomment line 85). You should be able to use any combination of these features - so if you uncomment all three they should all work together.
The main reason I made this and am posting it when we already have another tractor beam is because these drops don't move in a mere 8 directions at a constant speed. They use math to move at a variable speed in a more direct route to the player which is much more satisfying. See the gifs below. But this one is kinda hard to convey in gifs because of the low framerate and how fast it happens.
This thing is also more CPU intensive than our other tractor beams though (I haven't noticed any real lag but it's definitely not a cheap calculation). If anyone out there wants to improve/optimize this code, feel free to get in touch. Like I said it's been a couple years and unfortunately I haven't had the opportunity to dig back into the main logic of it since then and try to improve it. But I wanted to get this out there since some interest was expressed on discord today.
Please give credit if you use it. And for my part, thanks to Black Falcon for the idea (this is a complete reimplementation of his tractor beam) and PJ for the bank logs as always.
Tested with asar. Pretty sure I made it with xkas though.
Currently the code is configured to make drops work like dread item drops where they home in on you by default after a second (80 frames - configurable).
You can also configure the max range and max speed of the drops as they move towards samus. The max range doesn't seem to work very well past a couple screens worth of distance though.
There is commented code which makes it work like a normal charge beam tractor beam (uncomment line 86). There is also commented code which makes the drops attract to PBs like X parasites do in metroid fusion (uncomment line 85). You should be able to use any combination of these features - so if you uncomment all three they should all work together.
The main reason I made this and am posting it when we already have another tractor beam is because these drops don't move in a mere 8 directions at a constant speed. They use math to move at a variable speed in a more direct route to the player which is much more satisfying. See the gifs below. But this one is kinda hard to convey in gifs because of the low framerate and how fast it happens.
This thing is also more CPU intensive than our other tractor beams though (I haven't noticed any real lag but it's definitely not a cheap calculation). If anyone out there wants to improve/optimize this code, feel free to get in touch. Like I said it's been a couple years and unfortunately I haven't had the opportunity to dig back into the main logic of it since then and try to improve it. But I wanted to get this out there since some interest was expressed on discord today.
Please give credit if you use it. And for my part, thanks to Black Falcon for the idea (this is a complete reimplementation of his tractor beam) and PJ for the bank logs as always.
Tested with asar. Pretty sure I made it with xkas though.
Media
Ratings and Reviews
This resource has not yet been rated.
You must login to rate this resource
You must login to rate this resource