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:
lustlion
2022-03-08 09:34:51 +01:00
parent a8ffae726f
commit 0acbfd5e9d
24 changed files with 165 additions and 139 deletions

View File

@@ -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",