@@ -10,5 +10,5 @@ target_link_libraries(game-lua crown crownlua)
set_target_properties (game-lua PROPERTIES OUTPUT_NAME game)
+install (DIRECTORY lua DESTINATION samples)
install (TARGETS game-lua DESTINATION samples/lua)
-
@@ -0,0 +1,12 @@
+function init()
+ print("Hello from lua!!!")
+end
+
+function shutdown()
+function frame(dt)
+ if Keyboard.key_pressed(65) then
+ Device.stop()
+ end