Animated Projectiles Demo
Posted: Sat Feb 10, 2024 5:23 am
Hi,
Attached is a small stack illustrating animating projectiles without too many bells and whistles. For this implementation I just concentrated on what I could do with graphic objects and the various properties you can set for them. It is should be fairly easy to tweak this as you see fit.
There is another tutorial breakdown of a defender-like game on this forum, "Defensive-Release", which is quite a large project and contains projectile animation. For my purposes I thought I would just tackle projectile animation from scratch and build up to include other effects. One thing I would like to do is to be able to tilt the PacMac-like character up and down and have the projectiles be emitted in the new direction. Maybe a scale scrollbar would work or, preferably an on-screen simulated trackball.
Back when I took the Galactic Gauntlet course I tried to get rays shooting out of the rocket but never got very far. It seems this basic effect is the key to many kinds of games. Hope this helps in some way.
[Note: replaced demo with new version in new post below.]
Happy Coding,
-Mike
Attached is a small stack illustrating animating projectiles without too many bells and whistles. For this implementation I just concentrated on what I could do with graphic objects and the various properties you can set for them. It is should be fairly easy to tweak this as you see fit.
There is another tutorial breakdown of a defender-like game on this forum, "Defensive-Release", which is quite a large project and contains projectile animation. For my purposes I thought I would just tackle projectile animation from scratch and build up to include other effects. One thing I would like to do is to be able to tilt the PacMac-like character up and down and have the projectiles be emitted in the new direction. Maybe a scale scrollbar would work or, preferably an on-screen simulated trackball.
Back when I took the Galactic Gauntlet course I tried to get rays shooting out of the rocket but never got very far. It seems this basic effect is the key to many kinds of games. Hope this helps in some way.
[Note: replaced demo with new version in new post below.]
Happy Coding,
-Mike