Rehandled menus; reworked dialog, added dialogsequences instead of dialogboxes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user