Re: Frame delay
How can I find the frame delay for animated tiles? I want to have a sprite which has the same time between frames as the tiles.
Would that be in the original script, by any chance?
Probably not. Tiles don't have scripts, so this is probably hardcoded into the engine. Maybe someone with some knowledge about the dinkengine knows?
I don't know much about the frame delays, but which tiles are you talking about? The water tiles seem to be random, to me...
Hmmm... I never thought the water tiles loooked all to random, but that might just be me. Anyway, I'm looking specifically for the fire tiles. I want to make it so that a part of the firetiles can disappear by removing a sprite that lookes like the tiles I'm interested in.
The water tiles are indeed random. The fire animation advances a frame every 100 'ticks'.
If you want to match your sprite's animation, either use SET_FRAME_DELAY in the dink.ini file to set it to 100, or use sp_frame_delay(&sprite,100);
Good luck!
(a sourcediver is me!)
If you want to match your sprite's animation, either use SET_FRAME_DELAY in the dink.ini file to set it to 100, or use sp_frame_delay(&sprite,100);
Good luck!
(a sourcediver is me!)