Author Topic: [Contest] LuaTowerDefense  (Read 13254 times)

0 Members and 1 Guest are viewing this topic.

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: [Contest] LuaTowerDefense
« Reply #15 on: July 09, 2012, 09:03:27 am »
I haven't really found out under which conditions the bug occurs, it just happens in about 10% to 20% of the times I play.
And if it happens I have to close the document, just quitting the game and starting a new one doesn't solve the problem.

I only tested it on a non-cx with 3.1.

Edit: I tested it on nspire_emu with 3.2 and had the same bug.
« Last Edit: July 09, 2012, 12:37:32 pm by lkj »

Offline AzNg0d1030

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 522
  • Rating: +45/-4
  • Hardcore anime watcher.
    • View Profile
Re: [Contest] LuaTowerDefense
« Reply #16 on: July 09, 2012, 06:16:29 pm »
Every single time I've ran the game, it's gotten an error midgame.
Haven't managed to die without an error. Farthest was wave 5 since wave 6 had an error.
You just lost the game.



Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: [Contest] LuaTowerDefense
« Reply #17 on: July 19, 2012, 01:56:16 pm »
v1.1 : Small but important update (stability + features) …
- Probably killed an annoying "ghost" tower bug causing crashes
- Upgrading a tower checks for money (duh…)
- Fixed the GameOver popup
- Adjusted a bit the overall difficulty

https://github.com/adriweb/LuaTowerDefense/raw/master/LuaTowerDefense.tns

Soon adding *new* features :)

btw, I still can't make it crash :P

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: [Contest] LuaTowerDefense
« Reply #18 on: July 19, 2012, 02:01:38 pm »
By the way are you planning to replace graphics with sprites in future versions like Chockosta's Bobby Carrot clone? That might actually get the game to become more popular.
« Last Edit: July 19, 2012, 02:02:15 pm by DJ_O »

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: [Contest] LuaTowerDefense
« Reply #19 on: July 19, 2012, 03:06:52 pm »
By the way are you planning to replace graphics with sprites in future versions like Chockosta's Bobby Carrot clone? That might actually get the game to become more popular.
Yes :D
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

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: [Contest] LuaTowerDefense
« Reply #20 on: July 20, 2012, 01:06:48 am »
Tower Defense with AI... Sounds (and looks) like a really fun game. Would it run in TI's online simulator? I want to try it out later, but I don't actually have the calculator and my Nspire Student Software license expired :/




Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: [Contest] LuaTowerDefense
« Reply #21 on: July 20, 2012, 05:34:55 am »
Tower Defense with AI... Sounds (and looks) like a really fun game. Would it run in TI's online simulator? I want to try it out later, but I don't actually have the calculator and my Nspire Student Software license expired :/
The .tns file I think, should be perfectly openable in the online doc player, and I made the lua script controllable fully with mouse when you can't do anything (doc player, for example)....
It should be good :D
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: [Contest] LuaTowerDefense
« Reply #22 on: July 20, 2012, 05:08:59 pm »
Now that it's more difficult it's much more fun to play :)

This version didn't crash (yet :P)

But why do the enemies die even if they're outside the ranges of towers?

Offline AzNg0d1030

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 522
  • Rating: +45/-4
  • Hardcore anime watcher.
    • View Profile
Re: [Contest] LuaTowerDefense
« Reply #23 on: July 20, 2012, 05:48:38 pm »
Where can we get the updated version? I can't seem to find it :(


EDIT: Thanks lkj I found it
« Last Edit: July 20, 2012, 10:15:34 pm by AzNg0d1030 »
You just lost the game.



Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: [Contest] LuaTowerDefense
« Reply #24 on: July 20, 2012, 05:58:02 pm »
Just open the link in this post :)

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: [Contest] LuaTowerDefense
« Reply #25 on: July 21, 2012, 02:53:31 am »
But why do the enemies die even if they're outside the ranges of towers?
Uhhh ? Do you have any specific conditions for making that happen ?
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation