Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

What if I wanted to add two contollers for two different players? How can I make the engine let one player move the first sprite, and the second player move the other sprite?

Then, you can add an additional check for controllers like: if action.gamepad == 0 or if action.gamepad == 1 etc.

Check out for more details: https://defold.com/manuals/input-gamepads/#multiple-gamepads