Skapat grundprojekt: Huvudmeny och Spel-scen as med hoppmakanik och AABB kollisions-grund

This commit is contained in:
2026-04-25 22:46:10 +02:00
parent 680a6f5f9e
commit 56934135ab
5 changed files with 226 additions and 0 deletions

18
main.go Normal file
View File

@@ -0,0 +1,18 @@
package main
import (
"log"
"mountain/internal/game"
"github.com/hajimehoshi/ebiten/v2"
)
func main() {
ebiten.SetWindowSize(800, 600)
ebiten.SetWindowTitle("Regin: Mountain of Treasures")
g := game.NewGame()
if err := ebiten.RunGame(g); err != nil {
log.Fatal(err)
}
}