Setting Animations for Diagonal Aiming * moved post

drdocker

New member
Hi nes makers, I'm super excited to have found out about NesMaker recently and have fully gone down the worm hole. This community seems great and I'm hoping someone can steer me in the right direction. I'm currently trying to recreate a contra like game with 8 dir aiming and can't seem to get the diagonals working.

I've set up diagonal run animations for my running object state and set them in the Object's animations tab. Where should I set the Down Right, Up Right, Down Left, Up Left flags?
https://www.dropbox.com/s/1l2t6pdobvjty7b/AnimationQuestion.jpg?dl=0

Also is there a way to increase the player animation count above 16?
 
In the macros code, It shows the ones not defined with a name.
FACE_DOWN = #%00000000
FACE_DOWN_RIGHT = #%00000001
FACE_RIGHT = #%00000010
FACE_UP_RIGHT = #%00000011
FACE_UP = #%00000100
FACE_UP_LEFT = #%00000101
FACE_LEFT = #%00000110
FACE_DOWN_LEFT = #%00000111
Use FaceDirection with the binary values as the argument to set it to a given direction. For example, Up left would be
Code:
FaceDirection player1_object, #%00000101
Hope this helps!
EDIT: I dont know if its a glitch or what, but if you close and open the animation manager, it will let you add another animation to it. And it Seems to work fine...
 
Top Bottom