From bc09e485e6981e5b4943161b5a9d410ac179eb4a Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 21 Apr 2024 22:07:26 +0100 Subject: add images --- character.png | Bin 0 -> 1351 bytes objects.go | 2 +- tiles.png | Bin 0 -> 1416 bytes 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 character.png create mode 100644 tiles.png diff --git a/character.png b/character.png new file mode 100644 index 0000000..4cbc070 Binary files /dev/null and b/character.png differ diff --git a/objects.go b/objects.go index 9eb4167..7793c36 100644 --- a/objects.go +++ b/objects.go @@ -129,7 +129,7 @@ func NewObject(x, y float32) *GameObject{ func NewPlayer(x, y float32) *GameObject{ player := NewObject(x, y) - playerImage, _, err := ebitenutil.NewImageFromFile("Assets/Main Characters/Ninja Frog/Idle (32x32).png") + playerImage, _, err := ebitenutil.NewImageFromFile("character.png") if err != nil { log.Fatal(err) } diff --git a/tiles.png b/tiles.png new file mode 100644 index 0000000..5c3ce91 Binary files /dev/null and b/tiles.png differ -- cgit v1.2.1