Author Topic: Nyaar!  (Read 13850 times)

0 Members and 1 Guest are viewing this topic.

Offline {AP}

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 981
  • Rating: +74/-3
  • I am Webmaster!
    • View Profile
    • Removed From Game
Nyaar!
« Reply #15 on: December 06, 2007, 03:15:00 pm »
It's not so much that, as the fact of how embarrassed I am of my coding... >.<
I haven't been nearly as efficient as I'd have liked and I have that weird personality where I need to be at least near par with peers...

Blah, screw it. I'll just get the groups together and upload it.
It'll be done tonight.

Offline Speler

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 857
  • Rating: +6/-2
    • View Profile
Nyaar!
« Reply #16 on: December 06, 2007, 03:16:00 pm »
There's no need to rush it, if you want to wait a little and make your code better nobody will mind ;)wink.gif.

Offline {AP}

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 981
  • Rating: +74/-3
  • I am Webmaster!
    • View Profile
    • Removed From Game
Nyaar!
« Reply #17 on: December 06, 2007, 03:21:00 pm »
I'll just throw what I have for now.
I'll probably benefit more when you guys check it out and give me input.

I'm writing up a readme now.
I expect the demo to be up in about 1-20 minutes. =P

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
Nyaar!
« Reply #18 on: December 06, 2007, 03:42:00 pm »
Woot, demo! Can't wait to test it.  
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Nyaar!
« Reply #19 on: December 06, 2007, 04:00:00 pm »
QuoteBegin-Delnar_Ersike+6 Dec, 2007, 21:01-->
QUOTE (Delnar_Ersike @ 6 Dec, 2007, 21:01)
QuoteBegin-(AP)+6 Dec, 2007, 18:58-->
QUOTE ((AP) @ 6 Dec, 2007, 18:58)
Ok, having a slight problem... as I'm quite new to the whole 'linking calc to comp' thing...

I need to know how you get it to where you can edit programs on the computer.

The software that came with the cable doesn't help there...

You cannot edit BASIC programs on the computer. All you can do is send your programs to it, which is useful for uploading, emulator testing, and backup purposes. The cable that came with your calc will connect your calc and computer, while the software will allow you to send programs to and from your computer.  

 Yes you can edit BASIC programs on the computer, using TI-Graph Link software, but good luck finding it on TI website because it's hidden inside their maze website. I still have the CD containing TI graph link. You can even protect/unprotect programs on the pc

Offline {AP}

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 981
  • Rating: +74/-3
  • I am Webmaster!
    • View Profile
    • Removed From Game
Nyaar!
« Reply #20 on: December 06, 2007, 04:09:00 pm »
That's what I thought, Omni.

Anywho, the demo is now up on the first post.

It's my first time with this... so tell me if I messed up with the files... ^_^;

(Note: Was wrong about size... it's 4097 + 5115 + 883 + 767x2. The 767x2 is archived and unarchived in the program though. [pics])

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
Nyaar!
« Reply #21 on: December 06, 2007, 04:23:00 pm »
Just downloaded, and I like it. I really like the battle system, and all the classes (I became an Aura Knight :Ptongue.gif). Few things:
- After I saved for the first time, it somehow gave me 1200 xp, and thus I gained 4 levels for free.
- It doesn't display the numerical value of ur enemies hp, just the bar.
- I would suggest, although it's alright now, that you make a more graphical menu system, but that's just me. (Menu('s and Lbl's and Goto =  :knight:knight3.gif )
- I'm guessing there isn't a way to get any weapons or armour yet.
- It should tell you whether or not a file has already been saved too, instead of just saving over it.
- I really like the info screens, where you move left or right and it shows a different screen.  :thumb:thumb.gif

I haven't looked at the code, so I'll do that so I can give you some optimization tips. All-in-all a very good demo. I can't wait for more!

EDIT: Some optimization tips:
You don't need )'s or "'s before ->
You can change this:
c1-->
CODE
ec1If ListA(8)=10c2
ec2
to:
c1
-->
CODE
ec1If 10=ListA(8c2
ec2
Saves a byte each time (there were a few that I saw like that).
And of corse, try avoiding Lbl-Goto's. You have a few instances that you Goto out of an If-Then, which cause a Memory leak, and cause the game to go slower.
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline {AP}

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 981
  • Rating: +74/-3
  • I am Webmaster!
    • View Profile
    • Removed From Game
Nyaar!
« Reply #22 on: December 06, 2007, 04:31:00 pm »
Thank you! =D
The enemy HP thing is how it's supposed to be. =P
You don't always know how much they're hurt exactly... but you can see when they're about to die. ^_~

I'm not sure why the levels happened when saved... if you pressed 'Cheat' then it should happen (which is probably what you did at first).

I have an idea fo the saving thing... never thought about it til now.

Read the readme a bit more. It explains a bit of what you brought up and will help out. ^_~

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
Nyaar!
« Reply #23 on: December 06, 2007, 04:33:00 pm »
Hmm.. Come to think of it, I did push cheat  :haha:laugh.gif

I also edited my last post for some optimization things.
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline {AP}

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 981
  • Rating: +74/-3
  • I am Webmaster!
    • View Profile
    • Removed From Game
Nyaar!
« Reply #24 on: December 06, 2007, 04:36:00 pm »
Nice. Thanks. I was going to work on doing a little clean-up later on come to think of it.

Really, I just have a hard time finding alternates to Lbl-Goto isn a few instances. I'll work on it tomorrow.

Thanks again. =3

(Well, I'm off for tonight. School and all. I'll work on optimization as much as I can.)

Offline {AP}

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 981
  • Rating: +74/-3
  • I am Webmaster!
    • View Profile
    • Removed From Game
Nyaar!
« Reply #25 on: December 07, 2007, 11:27:00 am »
Sorry for double post.

Made optimizations. Uploaded v1.1.
Enjoy! =D

More comments and suggestions welcome. =3

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Nyaar!
« Reply #26 on: December 07, 2007, 12:00:00 pm »
cool, I will try as soon as I get some time :)smile.gif

Offline {AP}

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 981
  • Rating: +74/-3
  • I am Webmaster!
    • View Profile
    • Removed From Game
Nyaar!
« Reply #27 on: December 07, 2007, 03:35:00 pm »
Well. Being happy with how everything is so far... I'm going to work on adding those classes now (as stated in the Coming Soon list).

I hope to have it done and partially tested by tonight. Though, things may get complicated. Expect about 500 more RAM taken up. (rough guesstimate)

Xphoenix

  • Guest
Nyaar!
« Reply #28 on: December 08, 2007, 06:19:00 am »
QuoteBegin-(AP)+6 Dec, 2007, 20:58-->
QUOTE ((AP) @ 6 Dec, 2007, 20:58)
Ok, having a slight problem... as I'm quite new to the whole 'linking calc to comp' thing...

I need to know how you get it to where you can edit programs on the computer.

The software that came with the cable doesn't help there...  

Delnar_Ersike

  • Guest
Nyaar!
« Reply #29 on: December 08, 2007, 12:56:00 pm »
Here are more optimization tips:
-Special characters take up 2 bytes while normal ones only take up 1 byte. This means lowercase letters take up twice the amount of space uppercase ones take up. Even if lowercase letters make the game look prettier, try replacing them with uppercase letters to save space.
-Try making labels' names as short as possible to save space.
-Towards the beginning of prgmARPG, there is a section of code that looks like this:c1-->
CODE
ec1:Repeat Ans=14
:getkey
:If Ans=12
:Goto N
:If Ans=13
:Goto LZ
:Endc2
ec2As you can see, there is a high chance (66%) of a memory leak: even if you put the Goto's in If statements, not If-Then ones, they are still inside a Repeat loop. Try changing the code to make sure the memory leak doesn't happen and see if you can replace other sections of code similar to this one.
-Instead of ->(variable), you can use DelVar (variable) to save two, yes that's two bytes. Not only is it one character less, but you can enter a second command after it without using [Enter]. For example, c1
-->
CODE
ec1:->A
:3->Bc2
ec2can be changed into c1
-->
CODE
ec1:DelVar A3->Bc2
ec2-Try reworking certain expressions so that they save space. An example would be to makec1
-->
CODE
ec1:L1(1)+2->L1(1c2
ec2intoc1
-->
CODE
ec1:2+L1(1->L1(1c2
ec2-Iirc, custom-named lists (LA, for example) take up more space than built-in lists (L1, for example). Try replacing your custom-named lists with built-in ones, except in cases of long-term storage.
-Use boolean logic to replace loops like thisc1
-->
CODE
ec1:Repeat K=!0c2
ec2with thisc1
-->
CODE
ec1:Repeat Kc2
ec2and statements like thisc1
-->
CODE
ec1:If K=3
:B+5->Bc2
ec2with thisc1
-->
CODE
ec1:B+5(K=3->Bc2
ec2-Ans can be used with more than just numbers. If you want to display different texts depending on a variable's value at the exact same place, you can use Ans by using If statements for the variable value possibilities and then putting the text you want to display for each value into Ans. At the end of all the If statements, display Ans with a Text( command. An example would be to change thisc1
-->
CODE
ec1:If K=2
:Text(0,0,"HI
:If K=3
:Text(0,0,"HELLOc2
ec2with thisc1
-->
CODE
ec1:If K=2
:"HI
:If K=3
:"HELLO
:Text(0,0,Ansc2
ec2Or better yet, you can change the previous piece of code into thisc1
-->
CODE
ec1:"HI
:If K=3
:"HELLO
:Text(0,0,Ansc2
ec2-I can see you did a good job removing the ending parentheses and quotation marks, but I can still locate places which you forgot. An example (this time actually from the program) would be to change thisc1
-->
CODE
ec1:Text(13,7,"HP