thunderrabbit / robdot_conswi

A swipe game for Godot
1 stars 1 forks source link

Fix orphaned swipes #2

Closed thunderrabbit closed 6 years ago

thunderrabbit commented 6 years ago

fix bug that the swipe isn't triggered if mouse button is released when mouse is not over swiped Tile. The issue is that Tiles do not detect the unclick unless mouse is above them.

Solution is probably to make GameScene process input (start when level starts; end when game over (level over) by running set_process_input(BOOLEAN))