Replacing The Wait Arrow (SOLVED)

Pretty basic, title says it all, I ctrl+f "arrow" in model and level.txt and was still not able to find where the sprite is inputted. (Eventually finding the font's code as well)

Just looking to replace it with a sprite I have.

Thanks.

-A.S.P
 
The arrow is in the Sprites folder, and is not an entity that can be spawned by the level. Simply name the new Sprite “arrow.gif” and place it in the sprites folder for it to appear.
 
OK, that would explain why the character sprites imported work fine, another reason I wanted to know where its hardcoded in is to add a .wav sound that plays "Go!" every-time the arrow appears.

Other than that, my placeholder sprite works fine atm.

Thanks

-A.S.P
 
Its on the manual, take a look under Sound Files:

data/sounds/go.wav
~Plays three times in a row when the player has beaten all enemies at a wait and can now move forward again.

By the way, if you want to not show neither play that sample, you can replace the arrow with a transparent image and the sound with a blank sound file (if I am not wrong, the engine will shut down if you simply delete those required stuff).

If you want to make an animated arrow, there are ways to do it - one with a workaround (like Bloodbane did) which would make you change all the WAITS on your stages and one using scripts. I have a proto-script about this but never went too far on it, thanks to my lack of free time.

And if you need to use an arrow facing left, there is a graphic for it too:
data/SPRITES/arrowl.gif
~This works like the arrow.gif file, but it flashes on the left half in direction left levels.
 
Bloodbane

Thanks fr suggesting that page, definitely  answers some questions. I also didn't realize that some things are built into the engine, such as adding go.wav and hearing it during gameplay. Neat stuff though, the up arrows may come in handy down the road.

-A.S.P

 
Back
Top Bottom