Add new map and tileset files for Windows release

- Created test.tmj and test.tsj files in the maps directory.
- Added tileset.tsj with configuration for the MainTileset including image path and dimensions.
This commit is contained in:
2026-04-26 02:35:31 +02:00
parent 93abb31ba7
commit 16ae22bcba
255 changed files with 401031 additions and 237 deletions

11
main.go
View File

@@ -3,11 +3,22 @@ package main
import (
"log"
"mountain/internal/game"
"os"
"github.com/hajimehoshi/ebiten/v2"
)
func main() {
// Sätt upp loggning till fil
f, err := os.OpenFile("game.log", os.O_RDWR|os.O_CREATE|os.O_APPEND, 0666)
if err != nil {
log.Fatalf("Kunde inte skapa logfil: %v", err)
}
defer f.Close()
log.SetOutput(f)
log.Println("--- Spelet startar ---")
ebiten.SetWindowSize(800, 600)
ebiten.SetWindowTitle("Regin: Mountain of Treasures")