We are pleased to announce R63 and updated AGEDemo are now in the Files area!
This release contains the ShaderBuilder, some fixes in GameplayFragment, and lots of new things for you to implement in GameHost. Don't despair! There is also new stuff in the HostSupport class to assist implementing these methods; some are simply a passthrough to HostSupport methods of the same name.
If you have working code from previous release, you should look at the new AGEDemo files; there are some new things you must do now to integrate correctly with the updated GameHost interface.
We also want to give everyone a reminder that you should not in general re-execute everything in the startLoading method, when reload is true!
@Override protected void startLoading(boolean isreload) { Log.d(name, "startLoading " + isreload); if(isreload) return; host.enableStartGame(false); host.enableLoading(true); ...
This gets re-called with true by GameCycle as a "courtesy" so you can tell that there was a GL context change. However, the ContextResourceLoader handles GL resource reloads for you, so there is no need to do anything else, especially re-creating everything!
We bring this up because it happened to us! The game was loading and playing "very slowly"....
Was playing with this recently. Found two issues.
AGEDemo does not include all files. Missing:
- drawable/bkg_0.png
- drawable/ic_launcher.png
- menu/activity_gameplay.xml
- raw/cube.obj
- values/strings.xml
are easy enough to recover.
GameWorld.java includes lines:
where AnimateRatio and LaunchComponent are missing.
That's, or missing classes, or outdated API.
Last edit: UBaH UBaHoB 2017-01-10
Hi sorry for the long delay but i just uploaded these. Hopefully you are still interested in them.