From e549a9445b3f6de4567b52d73e22fdf9c0e54e4f Mon Sep 17 00:00:00 2001 From: John Alanbrook Date: Fri, 9 Jun 2023 03:51:06 +0000 Subject: [PATCH] nogame --- source/scripts/nogame.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 source/scripts/nogame.js diff --git a/source/scripts/nogame.js b/source/scripts/nogame.js new file mode 100644 index 0000000..2c7cd21 --- /dev/null +++ b/source/scripts/nogame.js @@ -0,0 +1,14 @@ +function nogamegui() +{ + GUI.column({ + items: [ + GUI.text_fn("NO GAME LOADED", {font_size: 6}), + GUI.text_fn("No game.js available.") + ], + anchor: [0.5,0.5], + + }).draw(Window.dimensions.scale(0.5)); +} + +register_gui(nogamegui); +