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"....