Rehandled menus; reworked dialog, added dialogsequences instead of dialogboxes

This commit is contained in:
lustlion
2022-02-03 05:31:25 +01:00
parent 26fe8f2c33
commit 7595ed3b90
14 changed files with 324 additions and 185 deletions

View File

@@ -1,6 +1,5 @@
function GameStep()
if not do_pause then
SetCollisionFlags(main_Player)
if menu_type == "no" then
for _, particle in pairs(LoadedParticles) do
particle:Smart()
particle:DoPhysics()
@@ -32,10 +31,9 @@ function GameStep()
end
if Keybind:HasPressed(Keybind.debug.reload) then
--LoadLevel()
menuPage = "example"
MenuInit(menuPage)
MenuClear()
menu_type = "dialog"
MenuInit("dialog",DialogSequence.Example)
end
if Keybind:HasPressed(Keybind.debug.editor) then