Skip to main content

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

Hey there, I tryed to add gamepadd controls but I'mn having issues, is this what you mean when you said to add an "or" ?

(1 edit)

Yes that's the right place for the OR, but you need to set the correct conditions, like this:

So, IF gamepad left button OR keyboard left key is pressed, AND the right keyboard key and right gamepad button is not pressed, Then move Left.

Note: The Inverted conditions are NOT inside the OR condition.

You Sir, are a LEGEND! Thank you for you help! This is a super high quality template btw, thank you for caring!

Thank you <3

hum... Did the exact same thing and it doesn't work, I even tryed with gamepad 0, 1 and 2 (because in other projects my pc recognizes as 2) but still nothing :/ 

(1 edit)

Oh thats weird, can you create a complete new empty project and see if your gamepad is working in that project ?
For me its working perfectly (gamepad buttons not the analog stick one though, analog stick need other conditions), when i press the left button on my gamepad the character moves to left perfectly, the gamepad identifier for me is 1.

If its still not working, close gdevelop and disconnect → reconnect your gamepad then open gdevelop and open the game and see if it works.

I was only able to make it work like this, (for me identifier is 2)

ohhh thats an OR issue in gdevelop, i dont have that issue though, please double-check you are on the latest version of gdevelop:
Hamburger icon → Help → About GDevelop → Check for updates.