Add spiky box variants
This commit is contained in:
parent
761214fe3e
commit
c3a2692351
10 changed files with 340 additions and 19 deletions
|
|
@ -1,7 +1,7 @@
|
|||
local BoxVariants = {}
|
||||
|
||||
-- Add directional sticky-puller and all-edge skewer variants for every authored
|
||||
-- moveable box. Both share sprite paths and collision cells with their base.
|
||||
-- Add directional sticky-puller, rigid skewer, and soft all-edge spiky variants
|
||||
-- for every authored moveable box. All share sprites/collision with their base.
|
||||
function BoxVariants.addTo(assets)
|
||||
local baseBoxes = {}
|
||||
for name, properties in pairs(assets) do
|
||||
|
|
@ -28,6 +28,7 @@ function BoxVariants.addTo(assets)
|
|||
for _, base in ipairs(baseBoxes) do
|
||||
addVariant(base, "sticky_", "sticky", "sticky", "goopy")
|
||||
addVariant(base, "skewer_", "skewer", "skewer", "skewer")
|
||||
addVariant(base, "spiky_", "spiky", "spiky", "spiky")
|
||||
end
|
||||
|
||||
return assets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue