aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-03-13 20:11:03 -0400
committeriamcheeseman <[email protected]>2026-03-13 20:11:03 -0400
commit973cc401d03a38cf889f122e74d92ab8cde053a1 (patch)
tree97fce6c22f8e30d9fea0ab8f1adc7b79c5f26b68
parentcc679988babf47d5752c609ee90444db22d2d1fe (diff)
have physics layers follow naming convention
-rw-r--r--src/objs/player.lua2
-rw-r--r--src/phys.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/objs/player.lua b/src/objs/player.lua
index 2893321..8ba664b 100644
--- a/src/objs/player.lua
+++ b/src/objs/player.lua
@@ -60,7 +60,7 @@ function new_player(x, y)
offsetx = -4,
offsety = -6,
layers = {},
- mask = {"hard"},
+ mask = {"Hard"},
})
add_comp(ent, "Sprite", "res/img/player.ase", {
diff --git a/src/phys.lua b/src/phys.lua
index 08a610a..f9ae004 100644
--- a/src/phys.lua
+++ b/src/phys.lua
@@ -53,7 +53,7 @@ function phys.Box.new(
self.width = width
self.height = height
- self.layers = opts.layers or { "hard" }
+ self.layers = opts.layers or { "Hard" }
self.mask = opts.mask or {}
local scene = get_current_scene()