diff --git a/parts/scenes/app_cmd.lua b/parts/scenes/app_cmd.lua index 34bccd86..e9931fd4 100644 --- a/parts/scenes/app_cmd.lua +++ b/parts/scenes/app_cmd.lua @@ -209,6 +209,14 @@ do--commands.help(arg) "Usage: theme ", }, }, + demo={ + description="Go to an empty demo scene", + details={ + "Go to an empty demo scene", + "", + "Usage: demo", + }, + }, }TABLE.reIndex(command_help_messages) local command_help_list={ @@ -233,6 +241,7 @@ do--commands.help(arg) "stopbgm", "setbg", "theme", + "demo", } local pageSize=10 local maxPage=math.ceil(#command_help_list/pageSize) @@ -488,6 +497,9 @@ function commands.theme(name) log{C.water,"Usage: theme [themeName]"} end end +function commands.demo() + SCN.go("empty","none") +end diff --git a/parts/scenes/empty.lua b/parts/scenes/empty.lua new file mode 100644 index 00000000..7c671d9e --- /dev/null +++ b/parts/scenes/empty.lua @@ -0,0 +1 @@ +return{} \ No newline at end of file