Author Topic: Correlation: A New Project Aimed at Ti-Basic Programmers  (Read 68206 times)

0 Members and 2 Guests are viewing this topic.

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: Correlation: A New Project Aimed at Ti-Basic Programmers
« Reply #45 on: November 15, 2010, 12:35:12 am »
Ah ok sounds good :)

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation: A New Project Aimed at Ti-Basic Programmers
« Reply #46 on: November 15, 2010, 01:54:59 am »
Output can now display any size font.  The difference is Output() displays in 8 rows, 16 columns, unlike the Text() 96 columns x 64 rows.

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: Correlation: A New Project Aimed at Ti-Basic Programmers
« Reply #47 on: November 15, 2010, 03:07:54 am »
Ah ok, so Output will align them on some sort of grid of 6x8 no matter what?

Also, for Text(), will clipping be supported?

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Correlation: A New Project Aimed at Ti-Basic Programmers
« Reply #48 on: November 15, 2010, 08:58:46 am »
I'm unsure if this is the same thing DJ is asking, but in BASIC when you use Output, if the string is over 16 charcters the text will wrap around to the next line. Will text and output function this way in Correlation so that wordwrap effectively functions as a tilemap?

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: Correlation: A New Project Aimed at Ti-Basic Programmers
« Reply #49 on: November 15, 2010, 11:20:20 am »
Now that you mention this, that would be cool actually. i wonder how hard it would be?

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Correlation: A New Project Aimed at Ti-Basic Programmers
« Reply #50 on: November 15, 2010, 11:34:10 am »
Yea, it would be really sweet. It's something I'd definitely like to see! ^^

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation: A New Project Aimed at Ti-Basic Programmers
« Reply #51 on: November 15, 2010, 12:10:52 pm »
"Wrap around" will be supported with Output, and clipping will be supported with Text.

Btw, the maximum font size will be 16 x 16.

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: Correlation: A New Project Aimed at Ti-Basic Programmers
« Reply #52 on: November 15, 2010, 12:24:53 pm »
Ah ok, sounds good. :)

Also, those fonts are really real fonts corresponding to respective TI-OS chars, right? I am asking this because it would be cool to be able to display custom fonts based on a string of characters, for example, like the character name, chosen at the game start.

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation: A New Project Aimed at Ti-Basic Programmers
« Reply #53 on: November 15, 2010, 12:32:32 pm »
Ah ok, sounds good. :)

Also, those fonts are really real fonts corresponding to respective TI-OS chars, right? I am asking this because it would be cool to be able to display custom fonts based on a string of characters, for example, like the character name, chosen at the game start.

Yes they are, if you create your font correctly.  Following the instructions in the manual, for example, you can make your own "L", your own "I", your own "N" and your own "K" to display the string "LINK" in customized graphics.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Correlation: A New Project Aimed at Ti-Basic Programmers
« Reply #54 on: November 15, 2010, 02:06:46 pm »
And you will be able to modify all 256 characters in the Ti OS font set?

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation: A New Project Aimed at Ti-Basic Programmers
« Reply #55 on: November 15, 2010, 02:47:01 pm »
And you will be able to modify all 256 characters in the Ti OS font set?

Sorry, no.  You can only use your own font with up to 256 characrers.
« Last Edit: November 15, 2010, 02:47:27 pm by Hot_Dog »

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Correlation: A New Project Aimed at Ti-Basic Programmers
« Reply #56 on: November 15, 2010, 02:54:40 pm »
o.O wut?  I am suddenly confused. when you install the hook, it modifies the Output and Text commands so that Strings are displayed using a separate font routine right?  And so if you try to display the letter L, it will look for the custom font L, and use that instead?

My question was if it supported replacement of all 256 characters, although it would seem so XD

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation: A New Project Aimed at Ti-Basic Programmers
« Reply #57 on: November 15, 2010, 03:07:00 pm »
o.O wut?  I am suddenly confused. when you install the hook, it modifies the Output and Text commands so that Strings are displayed using a separate font routine right?  And so if you try to display the letter L, it will look for the custom font L, and use that instead?

My question was if it supported replacement of all 256 characters, although it would seem so XD

What I meant is, when your program is all finished, the calculator will use return to the normal TI-OS font.  You won't see any custom characters.  You can have your own font, but you can't muck around with TI's font.
« Last Edit: November 15, 2010, 03:07:39 pm by Hot_Dog »

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Correlation: A New Project Aimed at Ti-Basic Programmers
« Reply #58 on: November 15, 2010, 03:48:12 pm »
This is looking neat.  I may have to try something with this... ;D
* ZTrumpet has idea...  O.o

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: Correlation: A New Project Aimed at Ti-Basic Programmers
« Reply #59 on: November 15, 2010, 11:55:45 pm »
Ah ok, sounds good. :)

Also, those fonts are really real fonts corresponding to respective TI-OS chars, right? I am asking this because it would be cool to be able to display custom fonts based on a string of characters, for example, like the character name, chosen at the game start.

Yes they are, if you create your font correctly.  Following the instructions in the manual, for example, you can make your own "L", your own "I", your own "N" and your own "K" to display the string "LINK" in customized graphics.
Cool to hear! :D