10/23/2023 0 Comments Game maker studio 2 scriptsThere's support for movement keys (d-pad, WASD), start (enter), select (esc) and 8 action buttons for up to 4 players, though only the first player gets the mapping for keyboard out of the box. I kinda did some clean-room engineering to build these control scripts here, and ended up adding more stuff here and there, but it basically follows the same principles: each button has 3 states and, for each state we have a script (down, pressed and released). They were hugely inspired by how Derek Yu wrote control handling scripts for his game Spelunky Classic. This repo contains some scripts I use to handle controller bindings on some of my games.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |