add marching ants

This commit is contained in:
Josh Deprez 2021-08-15 17:09:34 +10:00
parent a6336dadc9
commit f89d79f69d
3 changed files with 5 additions and 0 deletions

BIN
asset_src/ants.aseprite Normal file

Binary file not shown.

BIN
assets/ants.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

View file

@ -34,6 +34,11 @@ func (g *Game) Draw(screen *ebiten.Image) {
g.Scene.Draw(screen, ebiten.DrawImageOptions{}) g.Scene.Draw(screen, ebiten.DrawImageOptions{})
} }
// Update updates the current scene.
func (g *Game) Update() error {
return g.Scene.Update()
}
// Layout returns the configured screen width/height. // Layout returns the configured screen width/height.
func (g *Game) Layout(outsideWidth, outsideHeight int) (w, h int) { func (g *Game) Layout(outsideWidth, outsideHeight int) (w, h int) {
return g.ScreenWidth, g.ScreenHeight return g.ScreenWidth, g.ScreenHeight