EMM-Gruppe8 / Morphy

A 2D-Platformer for Mobile using the accelerometer for stearing and a innovative character-switching system.
0 stars 0 forks source link

Feat/36: Flipping pause menu when device is flipped #42

Closed vantezzen closed 3 years ago

vantezzen commented 3 years ago

Closes #36: Implements flipping the pause menu when device is flipped. The check is implemented in the "Pause()" function so it is only executed once while opening the pause menu. This will prevent the menu from suddenly flipping while trying to press a button.

Demo:

https://user-images.githubusercontent.com/10333196/123546455-d8d91300-d75c-11eb-803f-03655e965106.mov

enze-l commented 3 years ago

The main menu needs to turn in the same direction. Going back to it from the Pause menu doesn't lead to expected result.

enze-l commented 3 years ago

Would it be easy to create the levels in the same rotation too?

enze-l commented 3 years ago

Sorry for the mess I just made. Looked at another PR and thought this was the issue for it.