McStevey 2019-09-05 12:49
I want to make it so whenever I shoot an enemy, the bullet sprite does an explosion animation on impact but I don't know how.
Timo 2019-09-05 14:28
If you attach your current code it will be easier to help.
was8bit 2019-09-05 15:12
Try this :)
McStevey 2019-09-05 16:43
Thank you so much this is exactly what I was looking for
was8bit 2019-09-05 19:01
Cool, glad i could help :)
Timing in a game is best done with
1) a main DO LOOP that drives the game
2) timing mechanisms that control things like animation and events etc. which are placed near the bottom of that loop
It’s also possible to synchronize with sound effects and music as well :)
Cgdoodler 2019-09-24 07:02
Is there any way to implement sprite rotation without creating multiple sprites? Trying to make a rotating tank example.
Timo 2019-09-24 07:13
Only flip/mirror is possible, not rotation. But if you have an image of a tank rotated by 45 degrees, you can use it for all diagonal directions using flipping.
Cgdoodler 2019-09-24 08:21
Thanks I was looking into rotational maths like in early asteroids and tank games. I suppose best way is to use the flip and mirror and just extra images for the in between animations?
Timo 2019-09-24 09:39
The original asteroids uses vector graphics (drawn lines between calculated points). This is not (easily) possible with LowRes NX as it's based on "hardware" sprites. So yes, you have to do it the way you said.