-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
188 changed files
with
279 additions
and
5 deletions.
There are no files selected for viewing
Binary file added
BIN
+285 Bytes
...e-narrat/template-games/demo/public/img/ui/button-prompts/gamepad/dpad-down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+275 Bytes
...e-narrat/template-games/demo/public/img/ui/button-prompts/gamepad/dpad-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+276 Bytes
...-narrat/template-games/demo/public/img/ui/button-prompts/gamepad/dpad-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+284 Bytes
...ate-narrat/template-games/demo/public/img/ui/button-prompts/gamepad/dpad-up.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+281 Bytes
...create-narrat/template-games/demo/public/img/ui/button-prompts/gamepad/dpad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+673 Bytes
...at/template-games/demo/public/img/ui/button-prompts/gamepad/facebutton-down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+696 Bytes
...at/template-games/demo/public/img/ui/button-prompts/gamepad/facebutton-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+644 Bytes
...t/template-games/demo/public/img/ui/button-prompts/gamepad/facebutton-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+661 Bytes
...rat/template-games/demo/public/img/ui/button-prompts/gamepad/facebutton-top.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+362 Bytes
...rrat/template-games/demo/public/img/ui/button-prompts/gamepad/shoulder-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+407 Bytes
...rat/template-games/demo/public/img/ui/button-prompts/gamepad/shoulder-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+629 Bytes
...arrat/template-games/demo/public/img/ui/button-prompts/gamepad/special-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+591 Bytes
...rrat/template-games/demo/public/img/ui/button-prompts/gamepad/special-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+435 Bytes
...arrat/template-games/demo/public/img/ui/button-prompts/gamepad/trigger-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+499 Bytes
...rrat/template-games/demo/public/img/ui/button-prompts/gamepad/trigger-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+274 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+358 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+371 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+276 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+342 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+380 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+352 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+368 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+384 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+398 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+233 Bytes
...narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-arrows.png
Oops, something went wrong.
Binary file added
BIN
+347 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-b.png
Oops, something went wrong.
Binary file added
BIN
+396 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-c.png
Oops, something went wrong.
Binary file added
BIN
+367 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-d.png
Oops, something went wrong.
Binary file added
BIN
+365 Bytes
...e-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-down.png
Oops, something went wrong.
Binary file added
BIN
+262 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-e.png
Oops, something went wrong.
Binary file added
BIN
+341 Bytes
...-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-enter.png
Oops, something went wrong.
Binary file added
BIN
+385 Bytes
...narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-escape.png
Oops, something went wrong.
Binary file added
BIN
+262 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-f.png
Oops, something went wrong.
Binary file added
BIN
+414 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-g.png
Oops, something went wrong.
Binary file added
BIN
+258 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-h.png
Oops, something went wrong.
Binary file added
BIN
+255 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-i.png
Oops, something went wrong.
Binary file added
BIN
+313 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-j.png
Oops, something went wrong.
Binary file added
BIN
+372 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-k.png
Oops, something went wrong.
Binary file added
BIN
+258 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-l.png
Oops, something went wrong.
Binary file added
BIN
+373 Bytes
...e-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-left.png
Oops, something went wrong.
Binary file added
BIN
+370 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-m.png
Oops, something went wrong.
Binary file added
BIN
+332 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-n.png
Oops, something went wrong.
Binary file added
BIN
+405 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-o.png
Oops, something went wrong.
Binary file added
BIN
+347 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-p.png
Oops, something went wrong.
Binary file added
BIN
+393 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-q.png
Oops, something went wrong.
Binary file added
BIN
+360 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-r.png
Oops, something went wrong.
Binary file added
BIN
+370 Bytes
...-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-right.png
Oops, something went wrong.
Binary file added
BIN
+405 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-s.png
Oops, something went wrong.
Binary file added
BIN
+328 Bytes
...-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-space.png
Oops, something went wrong.
Binary file added
BIN
+261 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-t.png
Oops, something went wrong.
Binary file added
BIN
+338 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-u.png
Oops, something went wrong.
Binary file added
BIN
+372 Bytes
...ate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-up.png
Oops, something went wrong.
Binary file added
BIN
+395 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-v.png
Oops, something went wrong.
Binary file added
BIN
+401 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-w.png
Oops, something went wrong.
Binary file added
BIN
+429 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-x.png
Oops, something went wrong.
Binary file added
BIN
+370 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-y.png
Oops, something went wrong.
Binary file added
BIN
+345 Bytes
...eate-narrat/template-games/demo/public/img/ui/button-prompts/keyboard/key-z.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+285 Bytes
...-narrat/template-games/empty/public/img/ui/button-prompts/gamepad/dpad-down.png
Oops, something went wrong.
Binary file added
BIN
+275 Bytes
...-narrat/template-games/empty/public/img/ui/button-prompts/gamepad/dpad-left.png
Oops, something went wrong.
Binary file added
BIN
+276 Bytes
...narrat/template-games/empty/public/img/ui/button-prompts/gamepad/dpad-right.png
Oops, something went wrong.
Binary file added
BIN
+284 Bytes
...te-narrat/template-games/empty/public/img/ui/button-prompts/gamepad/dpad-up.png
Oops, something went wrong.
Binary file added
BIN
+281 Bytes
...reate-narrat/template-games/empty/public/img/ui/button-prompts/gamepad/dpad.png
Oops, something went wrong.
Binary file added
BIN
+673 Bytes
...t/template-games/empty/public/img/ui/button-prompts/gamepad/facebutton-down.png
Oops, something went wrong.
Binary file added
BIN
+696 Bytes
...t/template-games/empty/public/img/ui/button-prompts/gamepad/facebutton-left.png
Oops, something went wrong.
Binary file added
BIN
+644 Bytes
.../template-games/empty/public/img/ui/button-prompts/gamepad/facebutton-right.png
Oops, something went wrong.
Binary file added
BIN
+661 Bytes
...at/template-games/empty/public/img/ui/button-prompts/gamepad/facebutton-top.png
Oops, something went wrong.
Binary file added
BIN
+362 Bytes
...rat/template-games/empty/public/img/ui/button-prompts/gamepad/shoulder-left.png
Oops, something went wrong.
Binary file added
BIN
+407 Bytes
...at/template-games/empty/public/img/ui/button-prompts/gamepad/shoulder-right.png
Oops, something went wrong.
Binary file added
BIN
+629 Bytes
...rrat/template-games/empty/public/img/ui/button-prompts/gamepad/special-left.png
Oops, something went wrong.
Binary file added
BIN
+591 Bytes
...rat/template-games/empty/public/img/ui/button-prompts/gamepad/special-right.png
Oops, something went wrong.
Binary file added
BIN
+435 Bytes
...rrat/template-games/empty/public/img/ui/button-prompts/gamepad/trigger-left.png
Oops, something went wrong.
Binary file added
BIN
+499 Bytes
...rat/template-games/empty/public/img/ui/button-prompts/gamepad/trigger-right.png
Oops, something went wrong.
Binary file added
BIN
+274 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-1.png
Oops, something went wrong.
Binary file added
BIN
+358 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-2.png
Oops, something went wrong.
Binary file added
BIN
+371 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-3.png
Oops, something went wrong.
Binary file added
BIN
+276 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-4.png
Oops, something went wrong.
Binary file added
BIN
+342 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-5.png
Oops, something went wrong.
Binary file added
BIN
+380 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-6.png
Oops, something went wrong.
Binary file added
BIN
+352 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-7.png
Oops, something went wrong.
Binary file added
BIN
+368 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-8.png
Oops, something went wrong.
Binary file added
BIN
+384 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-9.png
Oops, something went wrong.
Binary file added
BIN
+398 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-a.png
Oops, something went wrong.
Binary file added
BIN
+233 Bytes
...arrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-arrows.png
Oops, something went wrong.
Binary file added
BIN
+347 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-b.png
Oops, something went wrong.
Binary file added
BIN
+396 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-c.png
Oops, something went wrong.
Binary file added
BIN
+367 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-d.png
Oops, something went wrong.
Binary file added
BIN
+365 Bytes
...-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-down.png
Oops, something went wrong.
Binary file added
BIN
+262 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-e.png
Oops, something went wrong.
Binary file added
BIN
+341 Bytes
...narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-enter.png
Oops, something went wrong.
Binary file added
BIN
+385 Bytes
...arrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-escape.png
Oops, something went wrong.
Binary file added
BIN
+262 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-f.png
Oops, something went wrong.
Binary file added
BIN
+414 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-g.png
Oops, something went wrong.
Binary file added
BIN
+258 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-h.png
Oops, something went wrong.
Binary file added
BIN
+255 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-i.png
Oops, something went wrong.
Binary file added
BIN
+313 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-j.png
Oops, something went wrong.
Binary file added
BIN
+372 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-k.png
Oops, something went wrong.
Binary file added
BIN
+258 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-l.png
Oops, something went wrong.
Binary file added
BIN
+373 Bytes
...-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-left.png
Oops, something went wrong.
Binary file added
BIN
+370 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-m.png
Oops, something went wrong.
Binary file added
BIN
+332 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-n.png
Oops, something went wrong.
Binary file added
BIN
+405 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-o.png
Oops, something went wrong.
Binary file added
BIN
+347 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-p.png
Oops, something went wrong.
Binary file added
BIN
+393 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-q.png
Oops, something went wrong.
Binary file added
BIN
+360 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-r.png
Oops, something went wrong.
Binary file added
BIN
+370 Bytes
...narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-right.png
Oops, something went wrong.
Binary file added
BIN
+405 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-s.png
Oops, something went wrong.
Binary file added
BIN
+328 Bytes
...narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-space.png
Oops, something went wrong.
Binary file added
BIN
+261 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-t.png
Oops, something went wrong.
Binary file added
BIN
+338 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-u.png
Oops, something went wrong.
Binary file added
BIN
+372 Bytes
...te-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-up.png
Oops, something went wrong.
Binary file added
BIN
+395 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-v.png
Oops, something went wrong.
Binary file added
BIN
+401 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-w.png
Oops, something went wrong.
Binary file added
BIN
+429 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-x.png
Oops, something went wrong.
Binary file added
BIN
+370 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-y.png
Oops, something went wrong.
Binary file added
BIN
+345 Bytes
...ate-narrat/template-games/empty/public/img/ui/button-prompts/keyboard/key-z.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+285 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/gamepad/dpad-down.png
Oops, something went wrong.
Binary file added
BIN
+275 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/gamepad/dpad-left.png
Oops, something went wrong.
Binary file added
BIN
+276 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/gamepad/dpad-right.png
Oops, something went wrong.
Binary file added
BIN
+284 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/gamepad/dpad-up.png
Oops, something went wrong.
Binary file added
BIN
+281 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/gamepad/dpad.png
Oops, something went wrong.
Binary file added
BIN
+673 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/gamepad/facebutton-down.png
Oops, something went wrong.
Binary file added
BIN
+696 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/gamepad/facebutton-left.png
Oops, something went wrong.
Binary file added
BIN
+644 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/gamepad/facebutton-right.png
Oops, something went wrong.
Binary file added
BIN
+661 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/gamepad/facebutton-top.png
Oops, something went wrong.
Binary file added
BIN
+362 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/gamepad/shoulder-left.png
Oops, something went wrong.
Binary file added
BIN
+407 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/gamepad/shoulder-right.png
Oops, something went wrong.
Binary file added
BIN
+629 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/gamepad/special-left.png
Oops, something went wrong.
Binary file added
BIN
+591 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/gamepad/special-right.png
Oops, something went wrong.
Binary file added
BIN
+435 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/gamepad/trigger-left.png
Oops, something went wrong.
Binary file added
BIN
+499 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/gamepad/trigger-right.png
Oops, something went wrong.
Binary file added
BIN
+274 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-1.png
Oops, something went wrong.
Binary file added
BIN
+358 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-2.png
Oops, something went wrong.
Binary file added
BIN
+371 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-3.png
Oops, something went wrong.
Binary file added
BIN
+276 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-4.png
Oops, something went wrong.
Binary file added
BIN
+342 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-5.png
Oops, something went wrong.
Binary file added
BIN
+380 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-6.png
Oops, something went wrong.
Binary file added
BIN
+352 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-7.png
Oops, something went wrong.
Binary file added
BIN
+368 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-8.png
Oops, something went wrong.
Binary file added
BIN
+384 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-9.png
Oops, something went wrong.
Binary file added
BIN
+398 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-a.png
Oops, something went wrong.
Binary file added
BIN
+233 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-arrows.png
Oops, something went wrong.
Binary file added
BIN
+347 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-b.png
Oops, something went wrong.
Binary file added
BIN
+396 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-c.png
Oops, something went wrong.
Binary file added
BIN
+367 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-d.png
Oops, something went wrong.
Binary file added
BIN
+365 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-down.png
Oops, something went wrong.
Binary file added
BIN
+262 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-e.png
Oops, something went wrong.
Binary file added
BIN
+341 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-enter.png
Oops, something went wrong.
Binary file added
BIN
+385 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-escape.png
Oops, something went wrong.
Binary file added
BIN
+262 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-f.png
Oops, something went wrong.
Binary file added
BIN
+414 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-g.png
Oops, something went wrong.
Binary file added
BIN
+258 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-h.png
Oops, something went wrong.
Binary file added
BIN
+255 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-i.png
Oops, something went wrong.
Binary file added
BIN
+313 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-j.png
Oops, something went wrong.
Binary file added
BIN
+372 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-k.png
Oops, something went wrong.
Binary file added
BIN
+258 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-l.png
Oops, something went wrong.
Binary file added
BIN
+373 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-left.png
Oops, something went wrong.
Binary file added
BIN
+370 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-m.png
Oops, something went wrong.
Binary file added
BIN
+332 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-n.png
Oops, something went wrong.
Binary file added
BIN
+405 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-o.png
Oops, something went wrong.
Binary file added
BIN
+347 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-p.png
Oops, something went wrong.
Binary file added
BIN
+393 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-q.png
Oops, something went wrong.
Binary file added
BIN
+360 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-r.png
Oops, something went wrong.
Binary file added
BIN
+370 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-right.png
Oops, something went wrong.
Binary file added
BIN
+405 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-s.png
Oops, something went wrong.
Binary file added
BIN
+328 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-space.png
Oops, something went wrong.
Binary file added
BIN
+261 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-t.png
Oops, something went wrong.
Binary file added
BIN
+338 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-u.png
Oops, something went wrong.
Binary file added
BIN
+372 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-up.png
Oops, something went wrong.
Binary file added
BIN
+395 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-v.png
Oops, something went wrong.
Binary file added
BIN
+401 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-w.png
Oops, something went wrong.
Binary file added
BIN
+429 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-x.png
Oops, something went wrong.
Binary file added
BIN
+370 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-y.png
Oops, something went wrong.
Binary file added
BIN
+345 Bytes
packages/narrat/examples/assets/img/ui/button-prompts/keyboard/key-z.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
packages/narrat/src/components/input-prompt/input-prompt.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<template> | ||
<span class="input-prompt-container" v-if="inputs.showPrompts && action"> | ||
<span class="input-prompt-label" v-if="showLabel || label">{{ | ||
labelText | ||
}}</span> | ||
<img :src="getImageUrl(iconPath)" class="input-prompt-icon" /> | ||
</span> | ||
</template> | ||
<script lang="ts" setup> | ||
import { getImageUrl } from '@/config'; | ||
import { useInputs } from '@/stores/inputs-store'; | ||
import { computed } from 'vue'; | ||
import { error } from '@/utils/error-handling'; | ||
const inputs = useInputs(); | ||
const props = defineProps<{ | ||
input: string; | ||
label?: string; | ||
showLabel?: boolean; | ||
}>(); | ||
const action = computed(() => { | ||
const result = inputs.getAction(props.input); | ||
if (!result) { | ||
error(`Input action ${props.input} does not exist.`); | ||
} | ||
return result; | ||
}); | ||
const iconPath = computed(() => { | ||
if (inputs.inputMode === 'gamepad') { | ||
return action.value?.gamepadIcon; | ||
} else { | ||
return action.value?.keyboardIcon; | ||
} | ||
}); | ||
const labelText = computed(() => { | ||
if (props.label) { | ||
return props.label; | ||
} else { | ||
return action.value?.label ?? 'NONE'; | ||
} | ||
}); | ||
</script> | ||
<style> | ||
.input-prompt-icon { | ||
width: 1.4em; | ||
height: 1.4em; | ||
margin-left: 0.5em; | ||
display: inline-block; | ||
} | ||
</style> |
48 changes: 48 additions & 0 deletions
48
packages/narrat/src/components/input-prompt/inputs-legend.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<template> | ||
<div | ||
class="inputs-legend" | ||
v-if=" | ||
inputs.showPrompts && getCommonConfig().input.showBottomLegend !== false | ||
" | ||
> | ||
<InputPrompt | ||
v-for="prompt in legend" | ||
:key="prompt" | ||
:input="prompt" | ||
:showLabel="true" | ||
class="legend-prompt" | ||
/> | ||
</div> | ||
</template> | ||
<script lang="ts" setup> | ||
import { useInputs } from '@/stores/inputs-store'; | ||
import InputPrompt from './input-prompt.vue'; | ||
import { getCommonConfig } from '@/config'; | ||
import { computed } from 'vue'; | ||
const inputs = useInputs(); | ||
const props = defineProps<{ | ||
extraInputs?: string[]; | ||
}>(); | ||
const legend = computed(() => { | ||
return [...(props.extraInputs ?? []), ...inputs.inputLegend]; | ||
}); | ||
</script> | ||
<style> | ||
.inputs-legend { | ||
position: absolute; | ||
bottom: 5px; | ||
left: 5px; | ||
opacity: 0.7; | ||
} | ||
.legend-prompt { | ||
border: 1px solid white; | ||
border-radius: 5px; | ||
background-color: rgba(0, 0, 0, 0.8); | ||
padding: 5px; | ||
margin-right: 10px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.