diff --git a/README.md b/README.md index 07111c44..abf28773 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ Want to build a game like those? Read the documentation above ⬆️ and start t [![Connect Me](./tiny-doc/src/docs/asciidoc/sample/connect_me.gif)](https://dwursteisen.itch.io/connect-me) [![Meiro De Maigo 2](./tiny-doc/src/docs/asciidoc/sample/meiro_de_maigo2.gif)](https://dwursteisen.itch.io/meiro-de) [![Freezming](./tiny-doc/src/docs/asciidoc/sample/freezming.gif)](https://dwursteisen.itch.io/freezming) +[![Gravity Balls](./tiny-doc/src/docs/asciidoc/sample/gravity-balls.gif)](https://dwursteisen.itch.io/gravity-balls) ## Community diff --git a/tiny-doc/src/docs/asciidoc/sample/freezming.gif b/tiny-doc/src/docs/asciidoc/sample/freezming.gif index ce922fbe..58faeb37 100644 Binary files a/tiny-doc/src/docs/asciidoc/sample/freezming.gif and b/tiny-doc/src/docs/asciidoc/sample/freezming.gif differ diff --git a/tiny-doc/src/docs/asciidoc/sample/gravity-balls.gif b/tiny-doc/src/docs/asciidoc/sample/gravity-balls.gif new file mode 100644 index 00000000..8fb01a17 Binary files /dev/null and b/tiny-doc/src/docs/asciidoc/sample/gravity-balls.gif differ diff --git a/tiny-doc/src/docs/asciidoc/sample/meiro_de_maigo2.gif b/tiny-doc/src/docs/asciidoc/sample/meiro_de_maigo2.gif index 0b342d91..587f6752 100644 Binary files a/tiny-doc/src/docs/asciidoc/sample/meiro_de_maigo2.gif and b/tiny-doc/src/docs/asciidoc/sample/meiro_de_maigo2.gif differ diff --git a/tiny-doc/src/docs/asciidoc/sample/tiny-cli-sfx0.gif b/tiny-doc/src/docs/asciidoc/sample/tiny-cli-sfx0.gif new file mode 100644 index 00000000..63c8ed03 Binary files /dev/null and b/tiny-doc/src/docs/asciidoc/sample/tiny-cli-sfx0.gif differ diff --git a/tiny-doc/src/docs/asciidoc/sample/tiny-cli-sfx0.png b/tiny-doc/src/docs/asciidoc/sample/tiny-cli-sfx0.png deleted file mode 100644 index 7fc77107..00000000 Binary files a/tiny-doc/src/docs/asciidoc/sample/tiny-cli-sfx0.png and /dev/null differ diff --git a/tiny-doc/src/docs/asciidoc/sample/tiny-cli-sfx1.gif b/tiny-doc/src/docs/asciidoc/sample/tiny-cli-sfx1.gif new file mode 100644 index 00000000..f19e5a46 Binary files /dev/null and b/tiny-doc/src/docs/asciidoc/sample/tiny-cli-sfx1.gif differ diff --git a/tiny-doc/src/docs/asciidoc/sample/tiny-cli-sfx1.png b/tiny-doc/src/docs/asciidoc/sample/tiny-cli-sfx1.png deleted file mode 100644 index c5127058..00000000 Binary files a/tiny-doc/src/docs/asciidoc/sample/tiny-cli-sfx1.png and /dev/null differ diff --git a/tiny-doc/src/docs/asciidoc/tiny-cli.adoc b/tiny-doc/src/docs/asciidoc/tiny-cli.adoc index 3990ea87..c930d2e1 100644 --- a/tiny-doc/src/docs/asciidoc/tiny-cli.adoc +++ b/tiny-doc/src/docs/asciidoc/tiny-cli.adoc @@ -234,9 +234,9 @@ The tiny-cli sfx command is used to start a SFX edtor to generate sound to use i https://dwursteisen.itch.io/tiny-sfx-editor[This SFX editor can be tried online] on itch.io. -image:sample/tiny-cli-sfx1.png[] +image:sample/tiny-cli-sfx1.gif[] -image:sample/tiny-cli-sfx0.png[] +image:sample/tiny-cli-sfx0.gif[] ==== Usage diff --git a/tiny-doc/src/docs/asciidoc/tiny-showcase.adoc b/tiny-doc/src/docs/asciidoc/tiny-showcase.adoc index 0eb38721..9c32753d 100644 --- a/tiny-doc/src/docs/asciidoc/tiny-showcase.adoc +++ b/tiny-doc/src/docs/asciidoc/tiny-showcase.adoc @@ -9,6 +9,7 @@ image:sample/connect_me.gif[link=https://dwursteisen.itch.io/connect-me] image:sample/only_three_seconds.gif[link=https://dwursteisen.itch.io/one-light-for-three-seconds] image:sample/meiro_de_maigo2.gif[link=https://dwursteisen.itch.io/meiro-de] image:sample/freezming.gif[link=https://dwursteisen.itch.io/freezming] +image:sample/gravity-balls.gif[link=https://dwursteisen.itch.io/gravity-balls] TIP: Want your game to appear here? Create a post about it in https://github.com/minigdx/tiny/discussions/categories/show-and-tell[the Show and tell board] and share all information about it. diff --git a/tiny-engine/src/commonMain/kotlin/com/github/minigdx/tiny/lua/CtrlLib.kt b/tiny-engine/src/commonMain/kotlin/com/github/minigdx/tiny/lua/CtrlLib.kt index 134aed04..e4220ab5 100644 --- a/tiny-engine/src/commonMain/kotlin/com/github/minigdx/tiny/lua/CtrlLib.kt +++ b/tiny-engine/src/commonMain/kotlin/com/github/minigdx/tiny/lua/CtrlLib.kt @@ -114,7 +114,7 @@ class CtrlLib( "- 1: right click or two fingers\n" + "- 2: middle click or three fingers\n\n" + "If you need to check that the touch/mouse button is still active, see `ctrl.touching` instead.", - CTRL_TOUCHED_EXAMPLE, + example = CTRL_TOUCHED_EXAMPLE, ) inner class touched : OneArgFunction() {