Update tileset and game log for improved asset management and debugging
- Modified tileset configuration to include multiple tile images with updated dimensions. - Enhanced game log to provide detailed startup information and entity loading for room1. - Updated binary file for the game executable. added climebol laders
This commit is contained in:
@@ -8,13 +8,15 @@ import (
|
||||
type Tile struct {
|
||||
pos mgl64.Vec3
|
||||
health int
|
||||
Climbable bool
|
||||
SideImg *ebiten.Image
|
||||
TopImg *ebiten.Image
|
||||
}
|
||||
|
||||
func (t *Tile) Pos() mgl64.Vec3 { return t.pos }
|
||||
func (t *Tile) SetPos(pos mgl64.Vec3) { t.pos = pos }
|
||||
func (t *Tile) IsBlocking() bool { return true }
|
||||
func (t *Tile) IsBlocking() bool { return !t.Climbable }
|
||||
func (t *Tile) IsClimbable() bool { return t.Climbable }
|
||||
func (t *Tile) IsMovable() bool { return false }
|
||||
func (t *Tile) Move(dx, dy, dz float64) {
|
||||
// Not feasible for soil etc.
|
||||
|
||||
Reference in New Issue
Block a user