Good morning. I searched forum for a similar post and I didn't find one so I guess it's either a silly question (and if so sorry about that) or no one made a game with locked the vertical movement
Anyway I'm trying to make a 2D game with only horizontal movement and with mouse interface for interactions. So my question is about the setup of the players character and his animations. Basically I only need Left Right Walk and Idle / Talk. How I setup animations for something like that? Thank you.
edit : The problem I have right now is that when I look right and I'm in Idle mode and I click to walk left, first shows a small animation walking right then flips then starts walking left...
Comments
I run a Player Constrain Action at the start of a scene to make sure he is locked to one axis.
Up/Down movement means towards the camera/away from the camera.
With Point and Click these options are not available.
But you can still use the action list to constrain the player to a specific path. Maybe that works. Create a path (from left to right) and constrain the player to it. I am not sure if that prevents the player from facing forwards/backwards, but you can replace the up/down animations with the left/right animations, so nobody will notice.