zorldo

Goofing around with Ebiten
git clone git://bsandro.tech/zorldo
Log | Files | Refs | README

commit b4f0347cc11a5cd8ce2465dddcebd9f6d5736e3c
parent 626d8fd5d01b50741d885cf291232bea0dadbcab
Author: bsandro <brian.drosan@gmail.com>
Date:   Wed, 20 Oct 2021 00:37:00 +0300

go fmt

Diffstat:
Mcharacter.go | 2+-
Mmain.go | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/character.go b/character.go @@ -1,10 +1,10 @@ package main import ( + "errors" "github.com/hajimehoshi/ebiten/v2" "github.com/hajimehoshi/ebiten/v2/ebitenutil" _ "image/png" - "errors" ) type Character struct { diff --git a/main.go b/main.go @@ -12,7 +12,7 @@ import ( ) const ( - assetsDir = "assets/" + assetsDir = "assets/" screenW = 1280 screenH = 480 scale = 2 @@ -43,7 +43,7 @@ func (g *Game) Init() error { g.Hero.Init(assetsDir + "protag.png") // @todo stub - g.Hero.Move(100, 100) + g.Hero.Move(200, 200) return nil }