switched to yadu debug log
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user