overbound / SonicTimeTwisted

Source Code for a Sonic Fan Game Made in Game Maker Studio
https://overboundstudio.com/
GNU General Public License v3.0
60 stars 16 forks source link

Level select and the regular menu appearing at once #19

Closed AlexKhayrullin closed 4 years ago

AlexKhayrullin commented 7 years ago

During my tests with the BT keyboard, I pressed random keys during startup and somehow managed to activate both the level select and the main menu at once, despite them being completely different states in the object objMenu. Both were shown at once, and both were unusable.

Need to look into this...

VectorSatyr commented 7 years ago

Could it be that more than 1 objMenu was instantiated, somehow?

AlexKhayrullin commented 7 years ago

Looks like it :/ . But since it is only instantiated during the create event of objTitleControl, this might be a sign of a bigger problem, at least with the Android version.

At least it might explain why I'm still having slowdowns when the game starts on Android.

overbound commented 6 years ago

I wonder if you activated the level select code at the same time you entered a level.

AlexKhayrullin commented 6 years ago

It appears that this is a regression in the Android builds: the Android version of the "objMenu" object sometimes somehow appears at the same time as the default version of "objMenu", which shouldn't even be instantiated.

I could consistently reproduce it on Android by displaying the menu and accessing the options after starting a new game and proceeding to Attraction Attack Act 2.