mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +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++
|
||||
|
||||
sw, sh := ebiten.ScreenSizeInFullscreen()
|
||||
// TODO: Consider multiple monitors. This requires new APIs (#1114).
|
||||
ebiten.SetWindowPosition(m.x16/16, m.y16/16+sh-height)
|
||||
|
||||
if m.vx16 == 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user