Author Topic: ZeldaKing's Projects  (Read 27662 times)

0 Members and 1 Guest are viewing this topic.

Offline p2

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 849
  • Rating: +51/-11
  • I'm back :)
    • View Profile
Re: ZeldaKing's Projects
« Reply #15 on: August 02, 2011, 12:37:29 pm »
A little hint:
Go in MirageOS, press ALPHA,
choose KEY AND ...,
Choose LOWERCASE ON,
press CLEAR, CLEAR, MODE

then you'll be able to use lowercase if you press ALPHA twice!
*insert supercool signature*

Offline zeldaking

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 197
  • Rating: +15/-0
    • View Profile
Re: ZeldaKing's Projects
« Reply #16 on: August 02, 2011, 12:39:29 pm »
Actually, also available through DoorsCS7 and x-lib (hex command) and axe parser. So I do have lowercase, and thinking they are each 2 bytes so I try to minimize use of lowercase.
« Last Edit: August 02, 2011, 12:39:59 pm by zeldaking »

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: ZeldaKing's Projects
« Reply #17 on: August 02, 2011, 02:14:31 pm »
(In such a big program you can save 50 to 100 if you write it in a block. But then it'll be hard to read the code. And then it'll be very annoying if you press CLEAR!!!)
Well I could but not until I am done completly.
If you do that, be careful with the Output and text command, to avoid things like
Text(0,0,"lol:1→A:Text(0,0,"A    ←way you want it to be seen
Text(0,0,"lol:1→A:Text(0,0,"A    ←way it is seen
(This will mess up because of the "→")
« Last Edit: August 02, 2011, 02:17:15 pm by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline zeldaking

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 197
  • Rating: +15/-0
    • View Profile
Re: ZeldaKing's Projects
« Reply #18 on: August 02, 2011, 02:17:39 pm »
Wouldn't it take more memory to add all of those closing " ?

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: ZeldaKing's Projects
« Reply #19 on: August 02, 2011, 02:22:36 pm »
yes, so you should use separate lines.
its better for optimizations and readability.
« Last Edit: August 02, 2011, 02:22:46 pm by yunhua98 »

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline zeldaking

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 197
  • Rating: +15/-0
    • View Profile
Re: ZeldaKing's Projects
« Reply #20 on: August 02, 2011, 02:23:58 pm »
I was planning on it anyways, That is not a way of the basic 1337 rules.

Offline p2

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 849
  • Rating: +51/-11
  • I'm back :)
    • View Profile
Re: ZeldaKing's Projects
« Reply #21 on: August 03, 2011, 10:55:00 am »
You can write it all in big blocks, but make it like this:
Code: [Select]
:Lbl A
:text(0,0,"Hayleia.orange"):Goto A
and not like this:
Code: [Select]
:Lbl A:text(...or like this:
Code: [Select]
:Lbl A
:text(0,0,("Hayleia.orange:Goto A

Always put every ) and " and always use a new line for a new Lbl
*insert supercool signature*

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: ZeldaKing's Projects
« Reply #22 on: August 03, 2011, 10:58:04 am »
You can write it all in big blocks, but make it like this:
Code: [Select]
:Lbl A
:text(0,0,"Hayleia.orange"):Goto A
and not like this:
Code: [Select]
:Lbl A:text(...or like this:
Code: [Select]
:Lbl A
:text(0,0,("Hayleia.orange:Goto A

Always put every ) and " and always use a new line for a new Lbl

yeah, but that makes it more difficult for optimization.  ;)
So I recommend just using separate lines.

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline p2

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 849
  • Rating: +51/-11
  • I'm back :)
    • View Profile
Re: ZeldaKing's Projects
« Reply #23 on: August 03, 2011, 11:31:18 am »
yeah, of cause it will be diffivult.
I ever made it like this:

Write every command in a new line.
NEVER forget any ) or "
If all is ready, And you can't optimise the code more, write : at the end of every line and press DEL

Then it will all be a block without any mistakes!
*insert supercool signature*

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: ZeldaKing's Projects
« Reply #24 on: August 03, 2011, 11:35:14 am »
yeah, of cause it will be diffivult.
I ever made it like this:

Write every command in a new line.
NEVER forget any ) or "
If all is ready, And you can't optimise the code more, write : at the end of every line and press DEL

Then it will all be a block without any mistakes!
I'm not asking how to write a block without mistakes, I meant why write a block at all?
Have you written it in a block or a single line for every command?

(In such a big program you can save 50 to 100 if you write it in a block. But then it'll be hard to read the code. And then it'll be very annoying if yo press CLEAR!!!)
You actually don't save memory if you write it in a block, you waste memory most of the time.

Code: [Select]
:Output(1,1,"HI
:Pause
^11 bytes

Code: [Select]
:Output(1,1,"HI"):Pause
^13 bytes

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Ashbad

  • Guest
Re: ZeldaKing's Projects
« Reply #25 on: August 03, 2011, 12:40:52 pm »
Blocking is good only for readability in most cases.  Things like "A->B:B->C.." are the same size since a colon is the same size as a newline character.  But when strings and parens are involved, screw the blocking, expand it out on multiple lines.

Offline zeldaking

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 197
  • Rating: +15/-0
    • View Profile
Re: ZeldaKing's Projects
« Reply #26 on: August 03, 2011, 12:46:32 pm »
Well I don't have to worry about that, my calc is really messed up. :(

Offline p2

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 849
  • Rating: +51/-11
  • I'm back :)
    • View Profile
Re: ZeldaKing's Projects
« Reply #27 on: August 03, 2011, 12:49:58 pm »
I'm really not sure, And I'm NOT telling yoou should do this, but maybe it would help to take out the backup-battery!


So you can't turn your TI on???
That's bad!!
*insert supercool signature*

Offline zeldaking

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 197
  • Rating: +15/-0
    • View Profile
Re: ZeldaKing's Projects
« Reply #28 on: August 03, 2011, 12:59:03 pm »
I already pulled out the extra battery, I can turn it on but on the screen is some black lines every where, also none of the buttons work (meaning only way to turn it back off is to pull out a battery). Sorry I cannot be on irc chat, this computer I am on (at my grandma's) is so slow and won't let me.

Offline p2

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 849
  • Rating: +51/-11
  • I'm back :)
    • View Profile
Re: ZeldaKing's Projects
« Reply #29 on: August 03, 2011, 01:33:15 pm »
Try to connect it with your computer (TI Connect) and look what TI Connect tells you to the TI
*insert supercool signature*