Implement first enemy, bullet damage and collision.
This commit is contained in:
parent
032cc0a2ed
commit
4aa4c129dc
7 changed files with 82 additions and 26 deletions
|
@ -9,6 +9,7 @@ import "CoreLibs/graphics"
|
|||
import "CoreLibs/sprites"
|
||||
import "CoreLibs/timer"
|
||||
import "kani"
|
||||
import "ika"
|
||||
|
||||
local gfx <const> = playdate.graphics
|
||||
|
||||
|
@ -23,6 +24,10 @@ function setup()
|
|||
player:add()
|
||||
ui:add()
|
||||
|
||||
local enemy = Ika()
|
||||
enemy:moveTo(350, 120)
|
||||
enemy:add()
|
||||
|
||||
makeWalls()
|
||||
|
||||
drawBackground()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue