- It’d be nice if the initial screen animations were faster and/or there was a way to bypass them to get back into the game
For some of the functions, I had to use global variables. The only way I know how to do that in Hype is to use something like “window.gameOver = false;” in order for a value to go between scenes and functions. Because of that, I had the game jump from the shot summary scene to the splash scene and reset all of the global variables with window.whatever.
Is there a better way to handle global variables between different functions in Hype? If I could figure that out, I’d have it jump to the scene where the game actually begins.
On a different note, I picked the Ctrl key for firing due to old habits from playing Doom. Plus you don’t have to worry about keyboard repeat rates with the Ctrl key. Good to know about the issue with Ctrl+Left arrow in Safari. Thanks for the feedback!