- [NEW] Animació de caminar i d'estar quet de Morcus activades
- [NEW] Es pot pasar quan es vullga del joc al editor i viceversa - [NEW] Els shaders s'activen en el joc i se desactiven en l'editor
This commit is contained in:
@@ -12,6 +12,7 @@ editor = {
|
||||
enable = function()
|
||||
app.update = editor.update
|
||||
sys.beat(2)
|
||||
shader.disable();
|
||||
end,
|
||||
|
||||
update = function()
|
||||
@@ -141,6 +142,20 @@ editor = {
|
||||
end
|
||||
end,
|
||||
|
||||
play=function()
|
||||
if editor.modified then
|
||||
msgbox.show("IE MEN!",
|
||||
{"Hi ha canvis sense guardar.", "Vols guardar-los abans de jugar?"},
|
||||
{
|
||||
{"Cancel", app.pop},
|
||||
{"No", function() app.pop() game.enable() end},
|
||||
{"Yes", function() app.pop() rooms.save() game.enable() end}
|
||||
} )
|
||||
else
|
||||
game.enable()
|
||||
end
|
||||
end,
|
||||
|
||||
picker = {
|
||||
|
||||
show = function()
|
||||
|
||||
Reference in New Issue
Block a user