Samples
You can find a demo project in the GitHub repository and see all the required changes by comparing it with the engine (diff with the src folder).
The sample is based on version 0.1 and will be updated only at 1.0 release. It will work, but the engine code is not the latest.
The changes to engine are:
- PlaceholderObject is modified to create
CarandStageobjects. - PlaceholderView is modified to create respective
CarViewandStageViewviews. - GameRules are added to populate the
gameWorldwith the created objects. - Layouter code is added to layout the views in the
viewHierarchyand link user interaction toCarobjects.
About the demo
It’s a very simple simulation of a car driving down the road and changing its color upon interaction.
