@@ -0,0 +1,5 @@
+{
+ "lua" : [
+ "lua/game"
+ ]
+}
@@ -1,5 +1,7 @@
{
- "boot" : "lua/game",
+ "boot_script" : "lua/game",
+ "boot_package" : "boot",
+ "console_port" : 10001,
"window_width" : 800,
"window_height" : 600
}
@@ -3,10 +3,10 @@ function init()
Window.set_title("Hello world!")
end
-function frame(dt)
+function update(dt)
-- Stop the engine when the 'ESC' key is released
if Keyboard.button_released(Keyboard.ESCAPE) then
- Device.stop()
+ Device.quit()