... discussions about development with the GLES2 branch of AndEngine.

Re: LayoutGameActivity

Postby marcojak » Mon Dec 26, 2011 5:28 pm

pep_dj wrote:Change org.anddev.andengine.opengl.view.RenderSurfaceView to org.andengine.opengl.view.RenderSurfaceView

Thanks for your valuable answers, I have solved the problems with OpenFeint and admob.

There's only one thing (I hope):
When I switch from an activity to another, everything works perfectly, but when I return to the previous one, the activity is black (i see only admob)...
the strange thing is that if I press on the screen, the menu of the activity works...seems to me that the screen does not refresh...
I Recycle
I Recycle is a fun and educational game where your mission is to recycle as much as possible.
Posts: 12
Joined: Mon Dec 26, 2011 1:40 pm

Re: LayoutGameActivity

Postby kalp9428 » Wed Feb 19, 2014 9:10 am

Thank you very much marcojak.
Your post solved my problem.

I did not know if we want to use LayoutGameActivity instead of SimpleBaseGameActivity then we have to use
pOnCreateResourcesCallback.onCreateResourcesFinished(); at end of onCreateResources ,
pOnCreateSceneCallback.onCreateSceneFinished(scene); at end of onCreateScene and
pOnPopulateSceneCallback.onPopulateSceneFinished(); at end of onPopulateScene.
Posts: 1
Joined: Wed Feb 19, 2014 9:06 am


Return to GLES2

Who is online

Users browsing this forum: MSNbot Media, RonScript, Yahoo [Bot] and 29 guests