I’m not sure where is best to post my question, I’ve tried in Discord but no bites yet.
I’ve copy and pasted here…
I hit a very odd issue, after setting the shortcut for the Start button to start_game, I found that the game wouldn’t start when pressing the enter key, but worse was that clicking the button with the mouse only partially started the game.
The Start button would disappear, but the enemy never displayed and the music didn’t play.
I quit & restarted the game, it consistently froze after hiding the Start button.
I decided to debug this by adding a breakpoint to the new_game function, but, when debugging the game worked! I then quit + restarted the game and then it would play by using the mouse by clicking on the Start button every time.
In desperation I reverted my code using GitHub, repeated the process and got exactly the same weird quirk, I had to debug to unblock the start_game function!
As of now, the game consistently runs… (UPDATE… intermittently runs unless in debug mode!)
I still however don’t have the shortcut setup for the keyboard, even though I followed the instructions.
I’m using GoDot 4.3 on a MacBook Air (Apple M2).
I noticed in 4.3 there’s a new ‘Event Index’ property, but I’ve tried setting that from -1 (default) to 0 with no impact, so I don’t think that difference is related?