Initial commit
This commit is contained in:
BIN
enemies/.DS_Store
vendored
Normal file
BIN
enemies/.DS_Store
vendored
Normal file
Binary file not shown.
9
enemies/basic.lua
Normal file
9
enemies/basic.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
enemyBasic=enemy:extend()
|
||||
|
||||
function enemyBasic:new(x,y)
|
||||
sounds=group("audio/enemies/1")
|
||||
sounds.loop:setLooping(true)
|
||||
enemyBasic.super.new(self,x,y,sounds)
|
||||
sounds.loop:play()
|
||||
|
||||
end
|
Reference in New Issue
Block a user