diff --git a/cmd/krampus19/playlevel.go b/cmd/krampus19/playlevel.go index 4e0be1d..9495072 100644 --- a/cmd/krampus19/playlevel.go +++ b/cmd/krampus19/playlevel.go @@ -94,22 +94,21 @@ func (l *playLevel) posToScreenF32(p geom.PointF32, z float32) geom.PointF32 { } func (l *playLevel) posToCabinet(p geom.PointF32) geom.PointF32 { - return geom.PtF32(p.X*100-p.Y*50, p.Y*40) + return geom.PtF32(p.X*100-p.Y*50, p.Y*70) } // <- 150-> // <-100-> // // /----/| ^ ^ -// / / | | 40 -// /----/ | 140 v ^ +// / / | | 70 +// /----/ | 170 v ^ // | | | | | // | | / | 100 // |----|/ v v // -// Center: 74,19 // Offset between horizontal tiles: 100,0 -// Offset between vertical tiles: -25,40 +// Offset between vertical tiles: -25,70 func (l *playLevel) Layout(ctx *alui.Context, bounds geom.RectangleF32) { if l.init { diff --git a/cmd/krampus19/res/entity_brick.png b/cmd/krampus19/res/entity_brick.png index f88444b..bf2ccdd 100644 Binary files a/cmd/krampus19/res/entity_brick.png and b/cmd/krampus19/res/entity_brick.png differ diff --git a/cmd/krampus19/res/sprites/brick.txt b/cmd/krampus19/res/sprites/brick.txt index 31843e8..3579224 100644 --- a/cmd/krampus19/res/sprites/brick.txt +++ b/cmd/krampus19/res/sprites/brick.txt @@ -3,8 +3,8 @@ texture: brick part: name: brick -sub_texture: 0,0,1020,960 -anchor: 510,780 +sub_texture: 0,0,1020,1140 +anchor: 510,870 scale: 6 :part diff --git a/cmd/krampus19/res/sprites/lava_brick.txt b/cmd/krampus19/res/sprites/lava_brick.txt index a922418..3d29b26 100644 --- a/cmd/krampus19/res/sprites/lava_brick.txt +++ b/cmd/krampus19/res/sprites/lava_brick.txt @@ -3,15 +3,15 @@ texture: lava_brick part: name: lava_brick -sub_texture: 0,0,1020,960 -anchor: 510,180 +sub_texture: 0,0,1020,1140 +anchor: 510,270 scale: 6 :part part: name: magma -sub_texture: 0,960,1020,960 -anchor: 510,1140 +sub_texture: 0,1140,1020,1140 +anchor: 510,1410 scale: 6 :part diff --git a/cmd/krampus19/res/sprites/magma.txt b/cmd/krampus19/res/sprites/magma.txt index 2205c43..7c69096 100644 --- a/cmd/krampus19/res/sprites/magma.txt +++ b/cmd/krampus19/res/sprites/magma.txt @@ -3,15 +3,15 @@ texture: magma part: name: magma -sub_texture: 0,0,1020,960 -anchor: 510,180 +sub_texture: 0,0,1020,1140 +anchor: 510,270 scale: 6 :part part: name: sunken_overlay -sub_texture: 0,960,1020,960 -anchor: 510,1140 +sub_texture: 0,1140,1020,1140 +anchor: 510,1410 scale: 6 :part diff --git a/cmd/krampus19/res/tile_lava_brick.png b/cmd/krampus19/res/tile_lava_brick.png index c4c1d8a..3c650dc 100644 Binary files a/cmd/krampus19/res/tile_lava_brick.png and b/cmd/krampus19/res/tile_lava_brick.png differ diff --git a/cmd/krampus19/res/tile_magma.png b/cmd/krampus19/res/tile_magma.png index e522ea3..083921f 100644 Binary files a/cmd/krampus19/res/tile_magma.png and b/cmd/krampus19/res/tile_magma.png differ