From 5f6064b5fe72913f0a9404f89e6511915f818ffc Mon Sep 17 00:00:00 2001 From: Damjan Pavlica Date: Wed, 19 Feb 2025 16:48:16 +0100 Subject: [PATCH] - dodati opis (normal, fly, imune to lava) --- README.md | 3 --- examples/80-scenes/random-boxes/game.js | 15 ++++++++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 193641b16..745e097ec 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,6 @@ npx live-server ## TODO -- avatar - - dodati fly i dodati opis (normal, fly, imune to lava) - - test on mobile - joystick: - doesn't return to its place after release diff --git a/examples/80-scenes/random-boxes/game.js b/examples/80-scenes/random-boxes/game.js index 2d6351d2f..88ab2c219 100644 --- a/examples/80-scenes/random-boxes/game.js +++ b/examples/80-scenes/random-boxes/game.js @@ -129,9 +129,18 @@ const callback = async e => { const subtitle = /* html */`
- - - +
+
+ Normal +
+
+
+ Can fly +
+
+
+ Immune to lava +
` gui.showGameScreen({ title: 'Choose your avatar', subtitle, callback }) \ No newline at end of file