switched to yadu debug log

This commit is contained in:
2024-02-13 18:42:13 +01:00
parent c9f8783521
commit 48396e7e0a
11 changed files with 63 additions and 32 deletions

View File

@@ -1,9 +1,9 @@
package grid
import (
"fmt"
"image"
"log"
"log/slog"
"openquell/assets"
"openquell/components"
"openquell/config"
@@ -66,7 +66,7 @@ func NewGrid(world *ecs.World,
pos, _, render, speed, _ = playermapper.Get(entity)
playerobserver.AddEntity(entity)
speed.Value = config.PLAYERSPEED
fmt.Printf("player start pos: %d,%d\n", point.X*tilesize, point.Y*tilesize)
slog.Debug("player start pos", "X", point.X*tilesize, "Y", point.Y*tilesize, "Z", 191)
case tile.Collectible:
entity := colmapper.New()
pos, render, _ = colmapper.Get(entity)