Omnimaga
Omnimaga => News => Topic started by: apcalc on April 17, 2011, 01:34:07 pm
-
Although Lua Programming on the Nspire was only discovered a few short days ago, a quick explosion of new games for the Nspire has come with its discovery!
First we have Goplat's original 15 puzzle game (http://ourl.ca/10347), the first Nspire Lua game:
(http://www.omnimaga.org/index.php?action=dlattach;topic=7750.0;attach=7309;image)
Secondly, apcalc has been working on porting Block Dude Nspire (http://ourl.ca/10395) to Lua:
(http://img.removedfromgame.com/imgs/NSPIREVIDEO0016.gif)
Finally, ExtendeD, author of Ndless, has been working on a Minesweeper clone, 9sweeper (http://ourl.ca/10457/199399):
(http://img.removedfromgame.com/imgs/NSPIREVIDEO0017.gif)
We hope to see more progress on these games, and new developments for the Nsprie in the near future! :D
-
Nice! Nice. I hope more programs will come.
-
Sweetness. It just occured to me that TI let us use Lua on OS 3.0 just so that we'd make games and create tools that would let us finally use the thing so as to entice people into getting Nspires.
-
This is very nice! I hope to port Block Breaker to my new nspire, but I have allot of school work, so I don't know when that will happen.
-
It just occured to me that TI let us use Lua on OS 3.0 just so that we'd make games and create tools that would let us finally use the thing so as to entice people into getting Nspires.
I doubt it, given that simultaneously, they removed backwards compatibility with the only documents that we third parties could easily create programatically, without using TI's software. http://ourl.ca/10462 ;)
-
Well, maybe they're endorsing their own software at the same time?
-
You know, this rocks. And it's interesting, a language not much harder than Basic, but with fast, beautiful games!
-
Wow. This LUA community is really taking off!
-
To complete the first post
I'm trying to port my Make3D prog on Lua
http://tibank.forumactif.com/t4072p180-wip-make3d-pour-nspire-cas#109672
-
Should be much faster :P
-
Good luck :P
-
but wait, doesn't 3.0 have a realtime 3D grapher?
-
but wait, doesn't 3.0 have a realtime 3D grapher?
Yes it does. But only for 3D functions. My goal is to make a mini-Blender, as I managed to do with the TI-BASIC (but with a really lack of performance while rendering), and help French HighSchool student to modelize their exercices in 3D and understand better the math concepts.
-
Ah. Sounds cool!
-
Great! If we keep this up, I might actually get a CX. :)
-
You don't need a CX for this, fortunately, just get 3.0 for the reg. nspire.
-
Well, I don't have an Nspire at all. As for the CX, the colors are just too enticing...
-
Lua supports grayscale? O.O
-
Lua has setColorRGB(red, green, blue) Values range from 0 to 255.
;)
-
Wow awesome. A big step above TI-BASIC. I remember working on grayscale RPGs in BASIC on the 83+ before and we were forced to use assembly libraries using hooks to get grayscale and it still was kinda flickery.
Maybe I could eventually port my old Reuben Quest games to the Nspire if I ever got to learn Lua. ;D
(http://xlib.mtv-music-generator.com/reuben2b.gif)
-
I remember trying Reuben Quest once. It would definitely do much better on the TI-Nspire than it did on the 84.
-
Actually on the 84+ it could have done much better than it did back then, trust me. However, it was created 6 months too early...
-
Hum ... I think there is only one thing missing in all those games : incompatibility with the nspire-player we use at TI-Bank.fr to preview before downloading the TNS.
This is why I made a common Button class relatively easy to implement without changing lots of lines.
http://levak.free.fr/ftp/nspire/Make3D/Buttons.lua
If you don't want the keypad to appear oncalc, just add a "plaform.window:width() > 320" or something.
=)
-
Yeah I remember loading some of them in the player on TI website and buttons wouldn't work. Only the mouse would. D:
-
apcalc, you should add Direct 4 to the topic :D
-
Also, DJ, there's a Lua command, that tests for a color display, returning (I think) 1 if it's a CX and 0 for non-CX. I'm betting the hardware is pretty similar too, besides the screen and RAM.
-
I discovered missing events inside the OS itself (we just had to open a hex editor to see what was invisible)
http://hackspire.unsads.com/wiki/index.php/Lua_Programming
-
apcalc, you should add Direct 4 to the topic :D
Actually it's Connect 4, not direct 4.
And thanks for the info guys. I shall check that page if I ever learn Lua.
-
;D I hope to see the classical battle tank on Nspire!
3 cheers for LUA!!
-
;D I hope to see the classical battle tank on Nspire!
3 cheers for LUA!!
Welcome to Omnimaga, I see that's your first post. Perhaps you'd like to create a topic here (http://www.omnimaga.org/index.php?board=10.0).
-
Heya and welcome on the forums. :D