Prophets-of-Profit / Galactic-Rush-OLD

A game in space about destroying your enemies with programmable drones!
2 stars 0 forks source link

Improve behaviour for modal popup windows #34

Closed SaurabhTotey closed 6 years ago

SaurabhTotey commented 6 years ago

I think a good way to do behaviour for modal popup windows would be to draw a thin gray layer over everything on the screen to make it non-interactive and then overlay a modal on top. This would solve issue #13 because it would mean only the modal window can be interacted with while active. However, the issue with this approach would be that the background cannot be interacted with, so for example, players cannot see planets while modifying drones.

SaurabhTotey commented 6 years ago

The best way to solve this issue would probably be to use https://github.com/libgdx/libgdx/wiki/Scene2d.ui#window

EliaGorokhovsky commented 6 years ago

We are already using Window.