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

0 Members and 1 Guest are viewing this topic.

Offline BrownyTCat

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 420
  • Rating: +37/-8
    • View Profile
Re: [Lua] Space Invaders
« Reply #45 on: June 06, 2011, 09:45:56 am »
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 =)
Student software just says "Invalid 7Zip Archive" for me, If I manually extract the EXE, nothing happens still. It'll probably fix on my WinXP computer.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Lua] Space Invaders
« Reply #46 on: June 06, 2011, 02:52:49 pm »
I tried this and it's quite nice actually. I wonder if adding a star background or more complex sprites would slow it down too much?

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: [Lua] Space Invaders
« Reply #47 on: June 07, 2011, 09:22:53 am »
Thank you for putting my game in the news ! :)

For the star background or more complex sprites, I'm not sure it's a really good idea.
Yes it would maybe look prettier, but I like minimalist graphics...

But if you really think that it would be better, I could try.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Lua] Space Invaders
« Reply #48 on: June 08, 2011, 01:20:56 am »
AAh ok, it's up to you then. Else, another idea is to just make the background plain black. Also adding blocks at the bottom to hide yourself from shots like in the original game would be nice (maybe as option)

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: [Lua] Space Invaders
« Reply #49 on: June 10, 2011, 07:15:25 am »
Great ideas !
Sorry, I didn't noticed your post before yesterday.
Well, I've added a new option : when you press the "c" key, the colors change. Actually, there are two themes : the first one that we can see in the first screenshots, and the second one which looks like the original game. (I attach a screenie) Moreover, the second one looks nicer on a CX, and the first one is more adapted for a clickpad (or touchpad)

I also fixed a bug : when the player had just 1 life, if he "caught" two shots exactly at the same time, he had -1 lives, and became invincible.
I will try to add blocks soon.
« Last Edit: June 10, 2011, 07:31:07 am by Chockosta »

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: [Lua] Space Invaders
« Reply #50 on: June 10, 2011, 07:16:18 am »
Looks very pretty!

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: [Lua] Space Invaders
« Reply #51 on: June 10, 2011, 07:33:08 am »
Thank you !
(And for the .tns, I will post it when I have added the shield blocks)

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: [Lua] Space Invaders
« Reply #52 on: June 11, 2011, 07:24:20 am »
(Sorry for the double post)

I've added the blocks, which hide the player.  Three shots destroy a block. (There are 12 blocks)
Do you think that it's better if the player can shoot through blocks or not ?

I attach a new screenshot

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: [Lua] Space Invaders
« Reply #53 on: June 11, 2011, 09:37:25 am »
This is looking great. :D
Do you think that it's better if the player can shoot through blocks or not ?
I think the player should not be able to shoot through blocks, as that means that he has too much protection.  Make it so if the player does shoot the blocks that it counts as one of each blocks' three shots-to-destroy. ;)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Lua] Space Invaders
« Reply #54 on: June 11, 2011, 02:35:01 pm »
Wow nice! And I like the new colors: It looks even closer to the original :D


Offline Kjelddy

  • LV3 Member (Next: 100)
  • ***
  • Posts: 80
  • Rating: +2/-1
    • View Profile
Re: [Lua] Space Invaders
« Reply #55 on: June 11, 2011, 04:15:46 pm »
do u already know when you release the one with blocks. and where could i download it then?
KJ
in need of omnoms ? check this out :P
http://img.removedfromgame.com/imgs/0-omnom.png

Offline BrownyTCat

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 420
  • Rating: +37/-8
    • View Profile
Re: [Lua] Space Invaders
« Reply #56 on: June 12, 2011, 02:55:29 am »
Wow nice! And I like the new colors: It looks even closer to the original :D


* BrownyTCat is crossing his fingers for possible sprites.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Lua] Space Invaders
« Reply #57 on: June 12, 2011, 02:57:49 am »
do u already know when you release the one with blocks. and where could i download it then?
I'm not sure if the version with blocks is available yet.

Offline Kjelddy

  • LV3 Member (Next: 100)
  • ***
  • Posts: 80
  • Rating: +2/-1
    • View Profile
Re: [Lua] Space Invaders
« Reply #58 on: June 12, 2011, 04:20:48 am »
do u already know when you release the one with blocks. and where could i download it then?
I'm not sure if the version with blocks is available yet.
that was my question :)

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: [Lua] Space Invaders
« Reply #59 on: June 12, 2011, 05:07:49 am »
No, not yet.
I have to forbid the player to shoot trough blocks, and to do some optimizations.
I will probably post the new release today (well, in my French day).

And sadly, I tried with sprites, and it became awfully slow.