Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flambe html5 game run in android phone lost the texture #322

Open
zhulu-mike opened this issue Feb 9, 2015 · 2 comments
Open

Flambe html5 game run in android phone lost the texture #322

zhulu-mike opened this issue Feb 9, 2015 · 2 comments

Comments

@zhulu-mike
Copy link

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

@aduros
Copy link
Owner

aduros commented Feb 9, 2015

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.

@markknol
Copy link
Contributor

markknol commented Feb 9, 2015

@zhulu-mike you might want to look at this pull request #289

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants