Animate character shooting
butterbean
Member Posts: 4,315
So if you wanted to animate a main character, aiming a gun, would you just do a spawn behavior rule?
Or animate behavior rule, and show the actor moving it's arm up pointing the gun and shooting?
Sorry, there is probably a simple solution to this, but just wanted to see how people on here are approaching it
Thanks!
Or animate behavior rule, and show the actor moving it's arm up pointing the gun and shooting?
Sorry, there is probably a simple solution to this, but just wanted to see how people on here are approaching it
Thanks!
Comments
Basically, you'd have a character that can move left and right and jump for example.
You would tap on the screen to shoot in that direction.
While facing right, if the mouse position is above a certain height, you'd replace the character's image with one pointing towards that height. Say 'High'.
Then a different image would be used if the character aimed at mid height.
And another if the mouse was 'low'.
A bit like the old Bungie game 'Abuse'. Or Turrican. Or any number of others
The only issue I was having trouble with (in my head, as in visualising it, because I haven't written anything yet) was the amount of variations dependent on if the character was standing still, or moving.
Anyway, hope that helps.
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
But I can't find a way to shoot when turn left.
example:
Left=Z
Right=C
Jump=down arrow
Shoot=Right arrow
Walking right(I'm pressing C and shooting with Right arrow.
Walking left (I'm pressing Z LOL but I can't shoot, because I can't find a way to shoot with the right arrow when walking left. Since it's been set to shoot right when walking to the right.
LOL quantumsheep you said tap,,,, you know we can't tap yet. But if we had the View app then yes,, that would be the story =D
Good point Quantum, I hadn't thought of doing the controls that way, but I think I'm going to keep it simple, shooting left, shooting right, and shooting up
I was thinking of that old arcade game magic sword, and I think those characters could only shoot left and right, and it worked quite well