Author Topic: Fluent Ti-Basic Programmer wanted  (Read 28957 times)

0 Members and 1 Guest are viewing this topic.

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Fluent Ti-Basic Programmer wanted
« Reply #30 on: November 13, 2010, 09:31:07 pm »
Can you store the characters to strings? If so, I think I have an idea.

You can use Str1, Str2, Str3, etc. to store strings to display, such as Output(1,1, Str1).  But if you mean modifying the font inside of your program, no, you can't do that.

So you can't store one of the font characters to the string and then display it?

What are you hoping to do?  If I understand you correctly, no, you can't do it. 
If you use a tree for the character A and then go Output(1,1,"A"), you would see a tree.  But I really don't understand what it is you're hoping to do

Offline MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: Fluent Ti-Basic Programmer wanted
« Reply #31 on: November 13, 2010, 09:32:19 pm »
Will we be able to use different size fonts, or just the 5x7?

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Fluent Ti-Basic Programmer wanted
« Reply #32 on: November 13, 2010, 09:38:31 pm »
Can you store the characters to strings? If so, I think I have an idea.

You can use Str1, Str2, Str3, etc. to store strings to display, such as Output(1,1, Str1).  But if you mean modifying the font inside of your program, no, you can't do that.

So you can't store one of the font characters to the string and then display it?

What are you hoping to do?  If I understand you correctly, no, you can't do it. 
If you use a tree for the character A and then go Output(1,1,"A"), you would see a tree.  But I really don't understand what it is you're hoping to do

I was hoping to be able to use a string such as " ABCDEF", where A, B, C, and D are all individual custom font characters, which I could then extract using the Sub( command. I can work around it if that doesn't work, but it would allow me to easily write it into Battlefield without any trouble.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Fluent Ti-Basic Programmer wanted
« Reply #33 on: November 13, 2010, 10:04:55 pm »
Well from what I understand is that once the program is called inside of your program any letters affected will be displayed as the customized font. So implementing it into Battlefield shouldn't be that hard really. You just have to create the font you want and what letters they correspond to, how ever that works with this, then just call it and then it'll work.

@MRide
Yes, you can use both the 6*8 and the 4*6 font. However I do not know if when using large text on the graphscreen if that works the same.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Fluent Ti-Basic Programmer wanted
« Reply #34 on: November 13, 2010, 10:09:05 pm »
Okay, that means that I could just use letters that aren't used in the game as the string characters. Thanks.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Fluent Ti-Basic Programmer wanted
« Reply #35 on: November 13, 2010, 11:46:00 pm »
what would we use for Select(?

is it possible to use several different fonts at once?

Select is in the Ti-83+ catalog.  You don't see it used often.

It's also in the List menu (2nd+{LIST}+{RIGHT}+7:Select(). Faster :)

And awesome, it can display custom graphscreen font too? I don't know of any other custom font routine that includes that :D
« Last Edit: November 13, 2010, 11:46:33 pm by Deep Thought »




Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Fluent Ti-Basic Programmer wanted
« Reply #36 on: November 14, 2010, 12:09:11 am »

I was hoping to be able to use a string such as " ABCDEF", where A, B, C, and D are all individual custom font characters, which I could then extract using the Sub( command. I can work around it if that doesn't work, but it would allow me to easily write it into Battlefield without any trouble.

As meishe91 said, you can do that.  There's nothing different from normal Output() and Text() string routines.

Will we be able to use different size fonts, or just the 5x7?

Fonts can be any size with Text().  Only 6x8 can be used for Output(), but that's for compatability for homescreen games.

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Fluent Ti-Basic Programmer wanted
« Reply #37 on: November 14, 2010, 12:10:06 am »
I just got an awesome idea.
I tried it with Omnicalc fonts once, so I know it works...
Homescreen Greyscale.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

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: Fluent Ti-Basic Programmer wanted
« Reply #38 on: November 14, 2010, 12:27:28 am »
Lol actually I thought about doing that once, I think, when I discovered how to do grayscale for Reuben Quest series, but I decided to just stick to sprites. I am worried homescreen grayscale would not have been fast enough, though.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Fluent Ti-Basic Programmer wanted
« Reply #39 on: November 14, 2010, 12:29:24 am »
It's about as flickery as unoptimized axe, as long as you aren't doing anything else with the screen. Also, it helps to have half-dead batteries and have the calc be cold :P heck, the homescreen looks like greyscale when you've been out in 10 degree weather for 4 hours.

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Fluent Ti-Basic Programmer wanted
« Reply #40 on: November 14, 2010, 12:30:17 am »
Lol actually I thought about doing that once, I think, when I discovered how to do grayscale for Reuben Quest series, but I decided to just stick to sprites. I am worried homescreen grayscale would not have been fast enough, though.
Well, if what you're greyscaling isn't two big, like a 5x5 map in the corner of the screen, it works fine, even in pure basic. I may still have a demo program that does that on my calc...


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

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: Fluent Ti-Basic Programmer wanted
« Reply #41 on: November 14, 2010, 12:32:30 am »
Lol, but I mean I tried updating the entire screen with output once and I must say it wasn't that fast.

Anyway, as another demo program, someone should make a small tilemapper with custom fonts using Hot Dog routine. It would be cool to have, as it would show that the program can do much more than fonts too :D
Lol actually I thought about doing that once, I think, when I discovered how to do grayscale for Reuben Quest series, but I decided to just stick to sprites. I am worried homescreen grayscale would not have been fast enough, though.
Well, if what you're greyscaling isn't two big, like a 5x5 map in the corner of the screen, it works fine, even in pure basic. I may still have a demo program that does that on my calc...
Ah right, yeah for small stuff (like the Team Demo logo) it is usually fast. Still not as fast as the Casio FX-9860G output command but still kinda fast. I bet with Hot Dog program it will be much faster, though.

Offline MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: Fluent Ti-Basic Programmer wanted
« Reply #42 on: November 17, 2010, 04:58:55 pm »
Will we be able to edit the buffer pixels in the normal font?
Also, how about an anti-gravity demo?  I've got an engine on my calc.

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Fluent Ti-Basic Programmer wanted
« Reply #43 on: November 17, 2010, 09:04:35 pm »
Will we be able to edit the buffer pixels in the normal font?

I'm afraid I don't know what you mean, but I'd have to say "No" anyways

Offline MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: Fluent Ti-Basic Programmer wanted
« Reply #44 on: November 17, 2010, 10:31:51 pm »
Well, the TIOS "font" is 5*7 pixels, but there is a row of pixels to the right and on the bottom that are a buffer.  Will we be able to edit those, allowing for a 6*8 sprite?