mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-11 10:33:16 +01:00
Updated Web Browsers (markdown)
parent
df9b26001c
commit
f52152808a
@ -20,3 +20,10 @@ If you want to embed your game into your web page, using iframe is strongly reco
|
|||||||
# Restrictions
|
# Restrictions
|
||||||
|
|
||||||
On both Android and iOS, touching is required to start sound. This is the browser's restriction.
|
On both Android and iOS, touching is required to start sound. This is the browser's restriction.
|
||||||
|
|
||||||
|
# Emulate context-lost
|
||||||
|
|
||||||
|
`document.getElementsByTagName("canvas")[0].getContext("webgl").getExtension('WEBGL_lose_context').loseContext()
|
||||||
|
undefined`
|
||||||
|
|
||||||
|
Note that Ebiten automatically restores images when the context is lost.
|
||||||
|
Loading…
Reference in New Issue
Block a user