As a player, I want to press on-screen buttons to access Sky View and to end the day.
Design
When playing the game, there should be an on-screen button to swap between Sky View (looking at buildings on balloons) and Ground View (looking at the island and city).
There should also be an on-screen button to end the day.
Implementation
Right now, you can press TAB to swap views and ENTER to end the day. Both of these actions call a single method (toggle_sky_and_ground_view() in the MovingCamera node, and end_day() in the WorldStats node, respectively), and the buttons should do the same thing.
The buttons should be placed as Button controls as children of a CanvasLayer node. The placement doesn't matter too much for now.
Both buttons should have clear text or icons (preferably pixel art) to show their functionality.
Ideally, the buttons could look something like this...
...but it doesn't have to be that fancy until the final demo.
As a player, I want to press on-screen buttons to access Sky View and to end the day.
Design
Implementation
toggle_sky_and_ground_view()
in theMovingCamera
node, andend_day()
in theWorldStats
node, respectively), and the buttons should do the same thing.Button
controls as children of aCanvasLayer
node. The placement doesn't matter too much for now.Ideally, the buttons could look something like this... ...but it doesn't have to be that fancy until the final demo.