more naming convention
now there are spawn objects! now entity spawns are loaded from level! now entity spawns are saved to level!
This commit is contained in:
12
main.lua
12
main.lua
@@ -53,13 +53,7 @@ function love.load()
|
||||
|
||||
main_player = Player:new(75,50)
|
||||
|
||||
--Kupo:new(100,150)
|
||||
--Kupo:new(300,150)
|
||||
HookAnchor:new(200,89)
|
||||
HookAnchor:new(400,89)
|
||||
Fairy:new(200,88)
|
||||
--CursedBook:new(180,68)
|
||||
|
||||
activateSpawns()
|
||||
--love.audio.play(music.placeholder)
|
||||
end
|
||||
|
||||
@@ -109,6 +103,10 @@ function love.update(dt)
|
||||
return
|
||||
end
|
||||
|
||||
if Keybind:checkPressed(Keybind.debug.respawn) then
|
||||
activateSpawns()
|
||||
end
|
||||
|
||||
if love.keyboard.isDown("f7") then
|
||||
local test_prompt = Prompt:new({
|
||||
name = "test prompt",
|
||||
|
||||
Reference in New Issue
Block a user