fix state thigns and port to love11
This commit is contained in:
parent
ff5abf6bcd
commit
c92c0f6ff7
11 changed files with 130 additions and 96 deletions
|
|
@ -3,8 +3,8 @@ require "entity"
|
|||
Player = class("Player", Entity)
|
||||
|
||||
Player.static.sounds = {
|
||||
switchFail = love.audio.newSource("sounds/switch_fail.wav"),
|
||||
switchSuccess = love.audio.newSource("sounds/switch_success.wav")
|
||||
switchFail = love.audio.newSource("sounds/switch_fail.wav", "static"),
|
||||
switchSuccess = love.audio.newSource("sounds/switch_success.wav", "static")
|
||||
}
|
||||
|
||||
function Player:initialize(x, y, color)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue