Author Topic: [Lua] Tactical Wars CX  (Read 10525 times)

0 Members and 1 Guest are viewing this topic.

Offline hellninjas

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 625
  • Rating: +17/-0
    • View Profile
Re: [Lua] Tactical Wars CX
« Reply #30 on: November 07, 2011, 02:47:50 pm »
Wow! Good luck with this!
It looks awsome, i love those kind'ove text based and tile layered games!
Next page!!!
« Last Edit: November 07, 2011, 02:48:02 pm by hellninjas »

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: [Lua] Tactical Wars CX
« Reply #31 on: November 09, 2011, 08:13:56 am »
Tactical Wars CX is online on TI-Planet:
http://tiplanet.org/index.php?mod=archives&ac=voir&id=3767

Have fun ;)
TI-Planet co-admin.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: [Lua] Tactical Wars CX
« Reply #32 on: November 09, 2011, 08:35:32 am »
It would've been better if it had AI D:
* TBO_Yeong was the first to download XD
Sig wipe!

Offline Alex

  • LV2 Member (Next: 40)
  • **
  • Posts: 32
  • Rating: +3/-0
    • View Profile
Re: [Lua] Tactical Wars CX
« Reply #33 on: November 09, 2011, 11:29:01 am »
comment puis-je retourner au menu après un partie quand ça dit: "blue is victorious"

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: [Lua] Tactical Wars CX
« Reply #34 on: November 09, 2011, 11:29:31 am »
Bug report: if red wins, the game crashes O.o
Sig wipe!

Offline hoffa

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 322
  • Rating: +131/-13
    • View Profile
Re: [Lua] Tactical Wars CX
« Reply #35 on: November 09, 2011, 12:09:11 pm »
Alrighty I've updated the first post, check it out. (note that I removed the background image, as it was painfully slow to navigate in the menus)

comment puis-je retourner au menu après un partie quand ça dit: "blue is victorious"
For non-French speakers: "how do I return to the menu after a player wins the game?"
Well, I have to admit I was in a hurry when I submitted the game for the TI-Planet contest, and had at 23:45 (it was due for midnight) still not written any code for when a player won a game. I decided to deal with it a very quick and dirty way ("player won? Accept no further input, stop everything, just show the goddamn win screen and make sure it takes up the whole display!") and consequently you cannot do anything once a player won. It's like when you finished Super Mario Bros., you get that fancy "The End" screen and all you can do is press the reset button. Press Ctrl+w to close the document, and you should be able to open it again. I will fix it in a future version, don't worry.

Bug report: if red wins, the game crashes O.o
Thanks for reporting that, I'll look into it.
EDIT: Oh wait, it's probably what Alex just asked (it may seem like it crashed, but it's the dirty way I implemented it, for now). Read my answer above.
« Last Edit: November 09, 2011, 01:05:50 pm by hoffa »

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: [Lua] Tactical Wars CX
« Reply #36 on: November 09, 2011, 12:40:28 pm »
no. It was definitely a crash.
It said there was an error in code #1028 or something (or number little bit over 1000)
Sig wipe!

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: [Lua] Tactical Wars CX
« Reply #37 on: November 09, 2011, 02:41:30 pm »
Amazing game Hoffa! I know that the code to show where the units are able to move to must have been a nightmare. (I once tried to remake a fire emblem game and I tried to understand that part. It's what killed the project before I even started) :P
« Last Edit: November 09, 2011, 02:41:55 pm by HOMER-16 »

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline hoffa

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 322
  • Rating: +131/-13
    • View Profile
Re: [Lua] Tactical Wars CX
« Reply #38 on: November 09, 2011, 02:46:18 pm »
Amazing game Hoffa! I know that the code to show where the units are able to move to must have been a nightmare. (I once tried to remake a fire emblem game and I tried to understand that part. It's what killed the project before I even started) :P
Don't tell anybody, but it actually uses a very dumb way of detecting where a unit can move or not. Actually a unit can magically jump over water and shoot through a mountain, but it rarely happens in the game as the range of the units is fairly small. I'm working on it though, there will be a real algorithm for finding the positions a unit can move to soon.

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: [Lua] Tactical Wars CX
« Reply #39 on: November 09, 2011, 03:09:28 pm »
I want an nspire now

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55839
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: [Lua] Tactical Wars CX
« Reply #40 on: November 09, 2011, 03:10:26 pm »
Tactical Wars CX is online on TI-Planet:
http://tiplanet.org/index.php?mod=archives&ac=voir&id=3767

Have fun ;)
w00t time to try it now :D

Also thanks to whoever split the off-topicness from this topic.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8206
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: [Lua] Tactical Wars CX
« Reply #41 on: November 09, 2011, 03:59:42 pm »
That is amazing. I need to try this as soon as I can (and I don't even care about the filesize, since I use an emu :D).




Offline AzNg0d1030

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 522
  • Rating: +45/-4
  • Hardcore anime watcher.
    • View Profile
Re: [Lua] Tactical Wars CX
« Reply #42 on: November 09, 2011, 04:37:26 pm »
Amazing game and graphics!  Hope you fix the bugs soon.  Is it possible to implement an AI  or is that kind of much?  D:
You just lost the game.



Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: [Lua] Tactical Wars CX
« Reply #43 on: November 09, 2011, 04:41:24 pm »
I guess that AI for this kind of games are pretty hard to make :P
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline hoffa

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 322
  • Rating: +131/-13
    • View Profile
Re: [Lua] Tactical Wars CX
« Reply #44 on: November 09, 2011, 04:47:06 pm »
Amazing game and graphics!  Hope you fix the bugs soon.  Is it possible to implement an AI  or is that kind of much?  D:
Yeah as adriweb said, making an AI for such a game is pretty hard. As mentioned in the first post, I certainly will look if I could implement at least some kind of single player that eventually uses some sort of AI. I haven't really looked into that yet; it'll come later.