Action-Step Animations

PasseGaming

Active member
I'm making a Shmup, I am trying to set up a animations for the ship. One while it is flying (this would be the default animation), one when the player presses up (ship tilts upward animation) and one for when the player presses down (downwards tilt animation). Could someone help me out here or point me in the right direction?

::EDIT:: I've seen the tutorial for 4.1 but I couldn't get it to work with 4.5. Any help would be much appreciated.
 

CutterCross

Active member
There is a topic on doing exactly that. It's for 4.1.5, so the macros may be slightly different argument-wise, but he logic behind it should still apply: https://www.nesmakers.com/viewtopic.php?f=35&t=5198&p=25232#p25232

Though this won't really apply if you've already redid the whole animation system like in 4.5.6's Advanced tutorial for the Shooter module.
 

PasseGaming

Active member
@CutterCross I did follow that tutorial but I decided to stick with the base script for now for my game. Only because I knew I would be using animations and I didn't quite understand all of the coding bits. I did get the gist at best. Thanks for digging that up for me! Only problem now is that I don't know what to do with these scripts because the input scripts have changed.

I'm kind of stuck without this knowledge. For the time being I am going to work on other aspects of the game while I hope someone figures out how to go about doing so. I'm trying to learn the coding at the moment (it's slow going as I have no prior experience). I am also posting a request for this tutorial in it's proper section. Anyhow, thanks.
 

PasseGaming

Active member
I figures it out, took me all night and this morning to do so. It now displays the correct sprite but doesn't animate for some reason. It's more or less sort of like the 4.1 version, just using less code.
 

mouse spirit

Well-known member
Not sure but maybe this can help.
http://nesmakers.com/viewtopic.php?t=1691
It has to do with fixing idle animation in 4.1.5.

Also do you have animation speed set to anything but 0 on you ship?
 

PasseGaming

Active member
Yeah, I have the speed set for both. I'm going to take a look through that code and see if there is anything I can use to try to trigger the full animation.
 
Top Bottom