Author Topic: A semi-3D tilt-maze type game in Lua  (Read 5325 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
A semi-3D tilt-maze type game in Lua
« on: December 31, 2011, 08:54:48 pm »
Loulou 54 has recently released a new TI-Nspire Lua game featuring some form of 3D and great use of physics and the touchpad: LabyRoll'!



The game is inspired from those wooden tilt-maze type puzzles like this, where you must tilt the maze panel to move the ball around while avoiding holes. It is quite challenging, especially on a Touchpad. The game looks pretty impressive due to how tilting the maze causes the walls angle to change in a pseudo-3D fashion. Note that the framerate on-calc is pretty high compared to the screenshot above.

The current version is available here. Good luck!

Discussion topic
« Last Edit: December 31, 2011, 08:55:27 pm by DJ_O »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: A semi-3D tilt-maze type game in Lua
« Reply #1 on: December 31, 2011, 08:56:03 pm »
someone needs to port this to casio!!!



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline Spyro543

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1189
  • Rating: +74/-3
    • View Profile
Re: A semi-3D tilt-maze type game in Lua
« Reply #2 on: December 31, 2011, 09:02:27 pm »
Okay, that is just awesome. No other words. Awesome.

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: A semi-3D tilt-maze type game in Lua
« Reply #3 on: January 01, 2012, 07:32:25 am »
Very nice!

Offline imo_inx

  • Manman, SaviourOfTheMultiverse!
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 473
  • Rating: +27/-8
  • imo_inx
    • View Profile
Re: A semi-3D tilt-maze type game in Lua
« Reply #4 on: January 01, 2012, 10:09:37 am »
It should be ported to casio fx9860g though. :D Nice.


Offline jwalker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 660
  • Rating: +13/-0
  • Almost everything I have released includes a 'WZ'
    • View Profile
Re: A semi-3D tilt-maze type game in Lua
« Reply #5 on: January 01, 2012, 01:05:59 pm »
very cool!
<a href="http://www.nerdtests.com/ft_cg.php?im">
<img src="http://www.nerdtests.com/images/ft/cg.php?val=9612" alt="My computer geek score is greater than 41% of all people in the world! How do you compare? Click here to find out!"> </a>

Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads

Offline Loulou 54

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 165
  • Rating: +39/-0
    • View Profile
    • Mes programmes sur TI bank.
Re: A semi-3D tilt-maze type game in Lua
« Reply #6 on: January 01, 2012, 02:20:15 pm »
Thanks for the news and the capture. :)
Happy new year btw ! :D

Note that this version is not finished yet. There is only 5 levels (of 16) and the game crashes in the 6th. (since he doesn't exist ^^)

As I said in the topic, there is an interactive level editor, so if you want to make some level please send them : [email protected] ! ;)
« Last Edit: January 01, 2012, 02:38:59 pm by Loulou 54 »
Some of my program available here.. :)
http://ti.bank.free.fr/index.php?mod=archives&ac=voir2&id=1471

     

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: A semi-3D tilt-maze type game in Lua
« Reply #7 on: January 03, 2012, 09:41:09 am »
bad colors? i've played it and it's perfect.. (imo)
the only thing you might say is that it can be hard to control with the touchpad, but not that the colors aren't good O.o
sorry, didn't think about the B/W touchpad..i've tried it in the emulator, and indeed, it might be getting weird on B/W xs

so, better use platform.isColorDisplay, and add a kind of table with the colors for B/W and one for colors

also, i always tilt my calc to change direction, instead of using the touch xp

and loulou, really congratz with this being your first game, it looks way better than a first game should look :)
« Last Edit: January 03, 2012, 09:44:32 am by Nick »

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: A semi-3D tilt-maze type game in Lua
« Reply #8 on: January 03, 2012, 09:46:30 am »
It looks great! I remember a real-life board game like this...
also, i always tilt my calc to change direction, instead of using the touch xp
Stick two accelerometers somewhere and you could do that :D
and loulou, really congratz with this being your first game, it looks way better than a first game should look :)
That's true :)




Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: A semi-3D tilt-maze type game in Lua
« Reply #9 on: January 03, 2012, 10:23:26 am »
Stick two accelerometers somewhere and you could do that :D

Ever heard of Vernier sensors? :D
You can easily interface them with Lua.

(Although those sensors are a lot of money :D)
« Last Edit: January 03, 2012, 10:23:47 am by jimbauwens »

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: A semi-3D tilt-maze type game in Lua
« Reply #10 on: January 03, 2012, 10:41:21 am »
yeah, it would be awesome, but i don't thinka nyone who owns an nspire just for normal schoolwork or other stuff (not that scientific), doesn't have those sensors

and i'm not planning to buy some :) but it wouls be great..

Offline Loulou 54

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 165
  • Rating: +39/-0
    • View Profile
    • Mes programmes sur TI bank.
Re: A semi-3D tilt-maze type game in Lua
« Reply #11 on: January 06, 2012, 02:39:51 pm »
Stick two accelerometers somewhere and you could do that :D
Oh yes it would be cool to try that !  XD

bad colors? i've played it and it's perfect.. (imo)
the only thing you might say is that it can be hard to control with the touchpad, but not that the colors aren't good O.o
sorry, didn't think about the B/W touchpad..i've tried it in the emulator, and indeed, it might be getting weird on B/W xs

so, better use platform.isColorDisplay, and add a kind of table with the colors for B/W and one for colors

also, i always tilt my calc to change direction, instead of using the touch xp

and loulou, really congratz with this being your first game, it looks way better than a first game should look :)
:P
Yes I'll make this surely for the black/white Nspires.

and loulou, really congratz with this being your first game, it looks way better than a first game should look :)
That's true :)

Thank you ! :D That's my first Lua game indeed but not my first game on a calculator obviously. ;)
Some of my program available here.. :)
http://ti.bank.free.fr/index.php?mod=archives&ac=voir2&id=1471