flambe icon indicating copy to clipboard operation
flambe copied to clipboard

Flambe html5 game run in android phone lost the texture

Open zhulu-mike opened this issue 10 years ago • 2 comments

i release a game and run it in android phone, sometimes it's works fine.but sometimes it works bad. the image didnot show all,some image lost, background iamge allways lost. but in ios phone it is fine. only bad in android. what happenned?

Uploading QQ图片20150209104634.png . . .

zhulu-mike avatar Feb 09 '15 02:02 zhulu-mike

On some platforms WebGL will lose its context, and you'll have to handle it by listening to System.renderer.hasGPU changes. Flambe doesn't currently handle it automatically.

You can also use the canvas renderer which doesn't lose its context.

aduros avatar Feb 09 '15 14:02 aduros

@zhulu-mike you might want to look at this pull request https://github.com/aduros/flambe/pull/289

markknol avatar Feb 09 '15 16:02 markknol