mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-23 17:32:02 +01:00
examples/mascot: Add comments
This commit is contained in:
parent
5e4e76d75c
commit
eb5f5485b3
@ -87,6 +87,7 @@ func (m *mascot) update(screen *ebiten.Image) error {
|
|||||||
m.count++
|
m.count++
|
||||||
|
|
||||||
sw, sh := ebiten.ScreenSizeInFullscreen()
|
sw, sh := ebiten.ScreenSizeInFullscreen()
|
||||||
|
// TODO: Consider multiple monitors. This requires new APIs (#1114).
|
||||||
ebiten.SetWindowPosition(m.x16/16, m.y16/16+sh-height)
|
ebiten.SetWindowPosition(m.x16/16, m.y16/16+sh-height)
|
||||||
|
|
||||||
if m.vx16 == 0 {
|
if m.vx16 == 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user