Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

New controls and animations

A topic by diegojamco created Dec 10, 2023 Views: 58 Replies: 2
Viewing posts 1 to 3

Hi Rob, great job on the engine,

I have a couple of questions:

How could it be done in case of changing controls or even to add alternative controls? such as for command or mobile controls.

I also wanted to ask you how I could add animations to the character so that when he looks to the left he looks to the left, or jump animations.

Thank you for your time, greetings.

Developer

Hi Diego, 

There are several variables that you can use to set sprites accordingly, for example the flip variable indicates which direction (left/right) the player is looking. All the variables you need are commented in the create event of the player.

Touch controls are tricky, I suggest you look up a tutorial on how to implement them. Once you are wiser, you can simply replace the keyboard_check() functions in the movement script with your own controls.

Thanks for your response, I was already able to make some changes.

Greetings.