Originally posted by Knight of TimeAlright, been thinking of it for a while, so...
I'd like to request a special custom sprite please. I'm not sure how this would be done, but could someone here attempt to make a sprite that makes a specified normal or custom sprite with water buoyancy reappear on the screen a few moments after it is killed, regardless of how far the player goes after killing the sprite (while staying in the same area)? Being as I realized both the SMB3 Boss Bass and water-skipping Cheep Cheep both respawn a few moments after being killed, that's the basis for this request. I'm presuming it would be the only way to make swimming sprites in SMW respawn after being killed, like in SMB3.
So yeah, hoping I can get some input here if someone understands what I'm talking about.
If I understand correctly, you simply want a system that auto-respawns a certain sprite at an edge of the screen sometime after its death ?
This is pretty easy to do. It doesn't even require to be in the form of a sprite, an UberASM code is sufficient. I mean, theoretically, this is just:
Code
Check if there's sprite X in at least one slot, in normal state
If yes,
Do nothing and return
If not,
Grab its position and store it somewhere
Loop through some timer
Spawn sprite X on the correct edge using the retained position.
And if you also want to the whole thing to stop after a certain screen, adding an extra check isn't difficult at all.
The only problem might reside in the sprite you want to respawn. It has to be processed when offscreen, and (preferably) not set his direction by itself when spawned. It should also not already obey to a similar system.
Consider this claimed once you give precisions on the sprite(s) affected by this system. Links to the Sprites section pages / files would greatly help.