Omnimaga

Calculator Community => TI Calculators => Lua => Topic started by: blweldon2 on September 19, 2011, 10:03:38 pm

Title: Can someone help me?
Post by: blweldon2 on September 19, 2011, 10:03:38 pm
Does anyone know if there is a Tetris app written in Lua for a TI nspire? I have looked all over the internet and can't find one. If not, could someone help me learn how to make one?
Title: Re: Can someone help me?
Post by: pianoman on September 19, 2011, 10:58:43 pm
There is, but I'm not sure it would be legal to release it...
Very long story that I'm too tired to look for :P
With that being said, I think we can definitely help you learn Lua :)
Welcome to Omnimaga!
Title: Re: Can someone help me?
Post by: Adriweb on September 20, 2011, 01:39:08 am
There is one, which has been made by TI actually.

They didn't intent to release it for legal reasons, obviously but it's still available here, i have no idea why :
http://www.compasstech.com.au/TNS_Authoring/Scripting/ (http://www.compasstech.com.au/TNS_Authoring/Scripting/)
(at the bottom)

 /topic

lol
Title: Re: Can someone help me?
Post by: blweldon2 on September 20, 2011, 10:20:48 am
Thanks. :) Now I need to learn Lua.
Title: Re: Can someone help me?
Post by: Adriweb on September 21, 2011, 06:06:47 am
http://www.inspired-lua.org (http://www.inspired-lua.org) is here for you.

:-D
Title: Re: Can someone help me?
Post by: Jim Bauwens on September 21, 2011, 07:17:26 am
And don't be afraid to ask more questions, there are enough people here who love to help :)
Title: Re: Can someone help me?
Post by: blweldon2 on September 21, 2011, 05:38:43 pm
Where should I start learning? There is so much stuff  ??? Should I read documentation, follow tutorials, jump in headfirst?
Title: Re: Can someone help me?
Post by: Levak on September 21, 2011, 05:52:05 pm
Follow the Starting in Nspire Lua (http://www.inspired-lua.org/category/tutorials/starting-in-lua/) serie
Title: Re: Can someone help me?
Post by: boot2490 on September 21, 2011, 05:54:22 pm
Whenever I start a new programming language, I always learn the very basics, (like a crash couse) and then look up some commands to experiment with until I learn it.
It always helps to ask people who know the language specific questions to learn more. That is what omni is for!
Welcome to the forums.
Title: Re: Can someone help me?
Post by: pianoman on October 03, 2011, 10:25:15 pm
I tend to enjoy jumping in headfirst, and asking questions later.
I would suggest reading those tutorials for sure, but also go to ticalc.org, download some games and code, and try to follow it.
And, of course, when you have questions, feel free to ask them (half of the questions in this subforum are mine :P).
Have fun!
Title: Re: Can someone help me?
Post by: apcalc on October 04, 2011, 07:16:01 pm
I love tetris! :)
Title: Re: Can someone help me?
Post by: boot2490 on October 04, 2011, 08:18:58 pm
Tetris, meh. Just because a game was good back then doesn't mean it is good now.
Title: Re: Can someone help me?
Post by: DJ Omnimaga on October 05, 2011, 03:17:55 pm
It doesn't necessarily mean it's bad either, though, if you personally dislike it. You need to be careful when saying stuff Boot because sometimes it sounds like you are trolling. X.x

However I would recommend against starting with a Tetris clone as first ever project, because that is quite a challenge to do. In the entire time I did TI-BASIC I never figured out the algorithms to make one.
Title: Re: Can someone help me?
Post by: Nick on November 09, 2011, 03:00:43 pm
when starting to learn lua, i advise to open a simple game, like pong 1.0 by karl noss (http://www.ticalc.org/pub/nspire/lua/games/pong.zip and choose previous version pong 1.0). Open it next to http://wiki.inspired-lua.org and try to find out what it does. I did it with this pong too, and it was very useful, as i learned how to program in about 1 week or so :)

and for the tetris, i'm making one, watch http://ourl.ca/13855 but it isn't finished yet