Animate character shooting

butterbeanbutterbean Member Posts: 4,315
edited November -1 in Working with GS (Mac)
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!

Comments

  • JGary321JGary321 Member Posts: 1,246
    Easiest IMO is to create it using animation. It's going to look the best.
  • quantumsheepquantumsheep Member Posts: 8,188
    I was having thoughts about this, and it might be along the same lines, so could be useful to you.

    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

  • Vanny_ArtsVanny_Arts Member Posts: 16
    Well in my case I use the spawn behavior since I'm using the keyboard to move.
    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
  • butterbeanbutterbean Member Posts: 4,315
    Yes, I would love to get my hands on that view app right now! :) As for now, I'm programming keyboard controls for all my games

    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
Sign In or Register to comment.