consolidate single color sprites into one master file
This commit is contained in:
parent
7d84f595e4
commit
fe5a11112f
16 changed files with 90 additions and 53 deletions
|
|
@ -9,7 +9,7 @@ function Switch:initialize(x, y, color)
|
|||
color = color,
|
||||
collision = "none", --switches are floor elements that can't be pushed or bloc movement!!
|
||||
cellShape = {{x = 1, y = 1}},
|
||||
sprite = loadSprite("art/game/switch_" .. color:sub(1, 1) .. ".png")
|
||||
sprite = loadSprite("art/game/switch.png")
|
||||
})
|
||||
|
||||
self.activated = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue