2D Game Graphic Designer Question:

Tell me what is “onsurfacecreated” in android game development?

Tweet Share WhatsApp

Answer:

“OnsurfaceCreated” is called every time the drawing surface is created. This can happen when the application starts or when it becomes active after being sent to the background or when the orientation changes. After a context loss, all these events are triggered, so every asset will be lost and have to be recreated. All assets and application objects should be recreated at this place.

Download 2D Game Graphic Designer PDF Read All 47 2D Game Graphic Designer Questions
Previous QuestionNext Question
Tell me in Java game development what does the animation thread class holds?Explain me how would you make the games you're playing better?