Action-Step Animations for 4.5.6 (Like in Gradius)

PasseGaming

Active member
Greetings! I am using the shooter module for my Shmup naturally. I've followed the tutorials and made some solid progress with the basics. However I'm having some issues with animating the sprites. I'd like to have the ship bank up or down as it does in Gradius. I've found a tutorial for 4.1 but it doesn't really translate well with 4.5. Especially so since I am using the scripts from the tutorial for the player inputs. Does anyone have any idea how to go about achieving this effect using 4.5? It'd be greatly appreciated.
 
I'm on my work computer, I don't have the scripts available to me, but I feel like it's a simple fix here :

- Create an action Step for moving
- In that action step, create 2 animations. one for moving up, one for moving down. assign each animation to the appropriate direction
- In your input scripts for moving up and moving down, add a line of code for changing object state to that new action step you created.
- In your stop moving script, add a code to change action step back to zero (if your default state is 0)

I can check a bit more tonight after work. Hope that helps in the meantime.
 

PasseGaming

Active member
I appreciate it nathanlurker, I've been futzing around with it all night and managed a overly complicated work around. An while It does display the ship banking it doesn't play the full animation for some reason. Just displays the correct sprite. I'll give your suggestion a shot, at the very least it could make the function simpler and actually animate.
 
Top Bottom