Author Topic: AOD83pl  (Read 3779 times)

0 Members and 1 Guest are viewing this topic.

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
AOD83pl
« on: February 28, 2006, 03:51:00 am »
Well, I went through all the programs, and I going through them once more, to make sure that I didn't miss anything. :)smile.gif So far, I have cut around 2500 bytes off the overall game, and will hopefully take off some more today. :)smile.gif If things go well, I will release a new version around lunch time, when I can get to a comp...

Ok, here is the before and after of the program sizes:

AOD - 708 - 618
D3AR - 345 - 338
D3BA - 585 - 563
D3BB - 1505 - 1440
D3BE - 175 - 129
D3BF - 1179 - 1078
D3CS - 616 - 524
D3DE - 81 - 66
D3EN - 2611 - 2540
D3EX - 838 - 822
D3GA - 597 - 452
D3HP - 816 - 816
D3IN - 283 - 279
D3ME - 407 - 360
D3PL - 3139 - 2891
D3SC - 2386 - 1561
D3SH - 346 - 340
D3SS - 1030 - 1019
D3ST - 334 - 326
D3VI - 597 - 569
D3EC - 120 - 121

Totals: 18,971 - 16,852= 2,119 bytes saved. :)smile.gif

I will rewrite the readme file, rezip the file and upload to ticalc and calcgames. :)smile.gif It will most definitely be available for download at my site first though...

And if you want to Kevin, you can upload it to your site...

Edit: Completed! http://tifreakware.calcgames.org/ainfo/2.htm

What do you think??
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
AOD83pl
« Reply #1 on: February 28, 2006, 07:41:00 am »
Looks nice and the bytes shaved down looks great! I will give it a try today and let you know what I think.

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
AOD83pl
« Reply #2 on: February 28, 2006, 08:43:00 am »
Thanks, According to Kerm, the game runs a whole lot faster now. :)smile.gif
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
AOD83pl
« Reply #3 on: February 28, 2006, 05:51:00 pm »
Ok I tested it and it has a few bugs.

user posted image

I will look at the code and see if I can help.

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
AOD83pl
« Reply #4 on: March 01, 2006, 02:08:00 am »
Yeah, the load feature, I need to fix that as well...

And
I wonder what is up with the clearing the left cursor, since it worked before...
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
AOD83pl
« Reply #5 on: March 01, 2006, 05:25:00 am »
Well the code looks a little more complicated then needed, tonight I should have time to help optimize it a little. Btw I hope you don't take offense to me saying you need to optimize it more, as I am trying you help :Pblah.gif.

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
AOD83pl
« Reply #6 on: March 01, 2006, 05:44:00 am »
Complicated?? I always try to do things as simple as possible... But, I really didn't mess with the starting program that much, so some optimizing could be done...
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
AOD83pl
« Reply #7 on: March 03, 2006, 07:14:00 pm »
Ok, I went trough a few programs and tried to see what I could optimize. The task seemed pretty big so I just optimized the main program (the start menu). I shaved it down 157b and it runs alot faster. Btw a tip for a quick optimization is when you have
c1-->
CODE
ec1While W=1
could be
While W
and since W seems to always stay 1
While 1c2
ec2
But I am sure you are just making it stay within the loop.
http://www.freewebs.com/kalans2/AOD.8xp is the program, I hope you can take it in and work on the rest of the game. Good luck! Oh and the reason why it wasn't erasing the < was because you had it
c1
-->
CODE
ec1Text(-54125+1,T,V,"
Text(-54125+1,T,V,"
instead of
Text(-54125+1,T,U,"
Text(-54125+1,T,V," c2
ec2

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
AOD83pl
« Reply #8 on: March 04, 2006, 02:45:00 am »
lol, oops. Thanks. :)smile.gif

And the reason I used W=1 was because I was manipulating the W variable, to turn it into a goto and lbl system. Then I stopped using it that way in this game...
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
AOD83pl
« Reply #9 on: March 04, 2006, 07:15:00 am »
Well it looks like it would be a great game, but I can't seem to get it to work >.<.

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
AOD83pl
« Reply #10 on: March 04, 2006, 09:20:00 am »
I don't know what is up with that. :(sad.gif I can play it just fine on my calc...

Edit:

While looking at your screenshot, I noticed it doesn't ask for a name... Mine does as soon as you select NEW... I wonder if I didn't get one of the Finance variables changed over to a normal variable... Check the main program, to see what number it stores to what variable, when NEW is selected. Then check to see if it is the same variable in the program that is called...
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
AOD83pl
« Reply #11 on: March 04, 2006, 12:19:00 pm »
Well I made it not need U or V and I changed the list menu so it only has T. Idk what your other program looks like, if it's If U or V etc...But I didn't modify anything besides the main menu code. Also I took out W in the mm code.

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
AOD83pl
« Reply #12 on: March 08, 2006, 05:53:00 am »
I noticed AOD was on ticalc now, are u planning to port AOD2 next?

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
AOD83pl
« Reply #13 on: March 08, 2006, 06:08:00 am »
Well, I need to do some more work to the game it seems... I must have missed a couple important things... <_<dry.gif *sigh*

AOD2 might get ported, though it relied on strings... If I come up with a way to get around that, I might make it... Though right now, I have two other calcs to port aod to, and optimize a third. ;)wink.gif
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%