Skip to main content

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

Quick bug report. Plays fine when using a keyboard, but when using a detected joystick, it crashes with a runtime error when I press a button mapped to X:

quick update. To troubleshoot, I removed my keyboard mapping for all my buttons so it's only receiving input from the detected joystick. When I press the same button, it crashes the same way. So it's apparently not related to keyboard input, and solely something to do with detected joystick button presses. 

(+1)

Mmm Could it be there are more devices than players? I think there's a bug in this line in MAINMENU_UPDATE: 

 for i=0,2 do

Maybe it should be i=0,1. Can you try that, please?

That fixed it! :) Works perfectly now. Thank you! 

(the change was on line 22, for reference)