Author Topic: [Lua] Space Invaders  (Read 29108 times)

0 Members and 3 Guests are viewing this topic.

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: [Lua] Space Invaders
« Reply #30 on: June 04, 2011, 03:53:19 pm »
If it could help you to understand :
Wait... you can read that thing?
Where is the problem ? We can do this since a while ... The more important thing to know is that the data base part (like strings, keys of strings, and the Lua part) are readable without dissassembly procedure.
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline pianoman

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 426
  • Rating: +24/-0
  • ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫
    • View Profile
Re: [Lua] Space Invaders
« Reply #31 on: June 04, 2011, 04:02:31 pm »
Never mind, thought you were able to read the gobbledegook above the Lua part.

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: [Lua] Space Invaders
« Reply #32 on: June 05, 2011, 08:17:15 am »
For pianoman :
The important thing is not all the weird characters, but the highlighted word in the last line and the following words... It says the Lua version is 5.1.4

To go back to the topic, my hi-score is 94. Can you beat it ? :)

Ashbad

  • Guest
Re: [Lua] Space Invaders
« Reply #33 on: June 05, 2011, 08:18:29 am »
For pianoman :
The important thing is not all the weird characters, but the highlighted word in the last line and the following words... It says the Lua version is 5.1.4

To go back to the topic, my hi-score is 94. Can you beat it ? :)

I think I'll try it later on today with the official Nspire document player.  It seems as if you did a great job with this, I commend you :) did the optimizations [that worked] help speed at all?

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: [Lua] Space Invaders
« Reply #34 on: June 05, 2011, 09:59:23 am »
Well, the speed without optimizations was already adapted to the game. I tried the optimizations like one table instead of two for X and Y, but I couldn't see the speed changing. I think that the difference exist, but it's too small.
I will post the final version in a few hours including a first page which contains explanations (keys, etc)

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: [Lua] Space Invaders
« Reply #35 on: June 05, 2011, 12:05:35 pm »
Welcome to Omnimaga, Chockosta!

And I must say, amazing game design so far.

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: [Lua] Space Invaders
« Reply #36 on: June 05, 2011, 01:30:18 pm »
The final version is here !
I attach it in the first post, and in this post too.
It works on OS 3.0.2, as I used the official TI scripting tool, with the 30-days trial.
So thank you for all your help and replies, and I forgot to thank you for all your welcoming posts :)
« Last Edit: June 12, 2011, 06:51:52 am by Chockosta »

Offline pianoman

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 426
  • Rating: +24/-0
  • ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫
    • View Profile
Re: [Lua] Space Invaders
« Reply #37 on: June 05, 2011, 01:35:49 pm »
The final version is here !
I attach it in the first post, and in this post too.
It works on OS 3.0.2, as I used the official TI scripting tool, with the 30-days trial.
So thank you for all your help and replies, and I forgot to thank you for all your welcoming posts :)
Wait, 30-day trial?

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: [Lua] Space Invaders
« Reply #38 on: June 05, 2011, 01:41:47 pm »
The final version is here !
I attach it in the first post, and in this post too.
It works on OS 3.0.2, as I used the official TI scripting tool, with the 30-days trial.
So thank you for all your help and replies, and I forgot to thank you for all your welcoming posts :)
Wait, 30-day trial?

He used the official TI scripting tool. To use it you need TI Nspire Computer Software. But since TI-Nspire Computer Software is under licence and we need to pay for it, Chockosta used the trial version of TI-Nspire Computer Software. But one thing is that it is not a 30-days trial, but a 90-days trial =)
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline pianoman

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 426
  • Rating: +24/-0
  • ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫
    • View Profile
Re: [Lua] Space Invaders
« Reply #39 on: June 05, 2011, 01:42:21 pm »
Got it. Thanks!

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: [Lua] Space Invaders
« Reply #40 on: June 05, 2011, 01:42:38 pm »
30-days trial of Nspire computer software :)
(For the moment) the official scripting tool is unlimited...

EDIT : Ninja'd
« Last Edit: June 05, 2011, 01:43:03 pm by Chockosta »

Offline Spyro543

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1189
  • Rating: +74/-3
    • View Profile
Re: [Lua] Space Invaders
« Reply #41 on: June 05, 2011, 01:58:36 pm »
So that means to link out Nspire to the computer we can only do it for 30 days for free??? The computer software doesn't come with the Nspire?

Offline pianoman

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 426
  • Rating: +24/-0
  • ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫
    • View Profile
Re: [Lua] Space Invaders
« Reply #42 on: June 05, 2011, 01:59:52 pm »
Touchpad comes for free, I'd assume CX does too. Clickpad does not.

Offline Spyro543

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1189
  • Rating: +74/-3
    • View Profile
Re: [Lua] Space Invaders
« Reply #43 on: June 05, 2011, 02:00:45 pm »
Oh I get it. Chockosta has a clickpad, then?

Offline pianoman

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 426
  • Rating: +24/-0
  • ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫
    • View Profile
Re: [Lua] Space Invaders
« Reply #44 on: June 05, 2011, 02:01:22 pm »
Says that in his profile.