This is not a real game. It is an example what is possible using the arcade library and the included gui system.
In addition, it helps to use your own library.
Requirements for a GUI demo game:
- main interaction/content should be the GUI
- use game mechanics that require a wide variety of GUI widgets (progress bars, buttons, notifications, menues, slider, ...)
- code should be easy to locate ("how is this part of the game implemented?")
Approach:
Idle game, containing different "mini" games
- Navigation between arcade.Views
- Show resources in a top bar
- Show cards with different actions to get resources
- Toast when a new resource gained
- Use UIGridLayout for a crop field
- Place seeds
- Collect crops
- Store collected crops in a inventory
- consume seeds from inventory
- clean up tool, some stones and gras on the field
- Some option to save/load game
- Character moving on a map, depending on the place en/disable mini games in sidebar
- Progress bar
- Transitions/Animations
- Change views
- UI used on multiple views
- GridView