This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - Hot_Dog
Pages: 1 ... 106 107 [108] 109 110 ... 194
1606
« on: November 15, 2010, 12:04:41 am »
Here's a screenshot of the Font Compiler. I successfully created a font, although there's some bugs I need to work out so that people can't create an illegal font--for instance, a font that's too large in width.
Start character is the smallest character that you will, for sure, use in your text. (Correlation will return an error if you attempt to go below this value.) End Character is the largest character that you will use in your text. These two values exist so that you can have a smaller font without crashing your program.
My next step is creating a font so that I can test it
1607
« on: November 14, 2010, 06:38:00 pm »
I have a question about page 10 from lesson 7.
If you check that A <= 90 shouldn't the ASM equivalent be CP 91 instead of CP 89? Since you check for the C flag condition, if A were 90 or 89 it wouldn't be set.
You're right!
1608
« on: November 14, 2010, 05:32:26 pm »
Are you, by any chance, running this on a Ti-84+ with OS 2.53? Make sure it's on classic mode if so
1609
« on: November 14, 2010, 03:42:49 pm »
But if a font is located in RAM, would deleting and adding variables change its location?
That's true. What I would do is put in a safety check. Make the first two bytes of the file $6969 or $1337 or something. So if that's not what your pointer shows, then re-find it. That would even work for the archive in case the BASIC program happens to pull a garbage collect. (I guess technically it can happen)
Thanks! That's a good idea. As long as the font sets won't take space for 256 chars even when they contain 40 or so, I am fine.
Your font will be only as big as you want it to be. The calculator will tell you if you try to go beyond the range of the number of characters you have. For example, if your font contains only characters for "A" "B" and "C", the calculator will not let you use "S" and "0".
1610
« on: November 14, 2010, 11:51:05 am »
Since I know that you can have the font set archived, I just have one tip from experience. Store the location of the font set in the archive in ram, don't re-find it every time. No sooner said than done! But if a font is located in RAM, would deleting and adding variables change its location? Each font set can contain a total of 256 characters? Is there a reason for the limit? I will admit though, it seems very unlikely that anyone would need more that 256 characters. It's a reasonable standard. But the reasons I'm doing it is there aren't very many tokens available on the Ti-83+. Sure, there's more than 256, but here's what I have to keep in mind, for example: 1. For people who want to save space in their Ti-Basic program, they'll use tokens instead of lowercase letters in their strings to display. 2. For people who want easy-to-remember characters by using standard ASCII (and don't care about program size), they'll use lowercase letters instead of tokens pertaining to ASCII 97 to 122. In both instances, the same font characters will be displayed. But that means I need both sets of tokens available. So there aren't much more than 256 total possiblitities for a character from a font. However, with the option to have several fonts available for the same program, that won't make much of a difference.
1611
« on: November 14, 2010, 12:10:25 am »
Anyway, can't wait for this. I gotta go think up a cool program for demoing and design a font.
Good idea. But you do know that I'll provide a program for compiling a font from a bitmap, right?
1612
« 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.
1613
« 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
1614
« on: November 13, 2010, 09:26:04 pm »
May I use this?
To test? Certainly! But of course, everyone will be able to use it once it's ready
1615
« on: November 13, 2010, 09:20:11 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. You can use several fonts in a Ti-Basic program, but you can only work with one font at a time. You can't, for instance, use the "A" in one font combined with the "B" in another font. 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.
1616
« on: November 13, 2010, 09:01:45 pm »
Does it need to be an actual game, or just a showy demo-thing?
Just a show-off demo Is the basic use of this is that you call the program at the beginning of the program and then it replaces the characters that you chose with fonts you create? I fell behind in some of the topics in case you've already answered that
You run Asm(pgrmCORELATE) at the beginning of your Ti-Basic program, and at the end of it. You use Select() to select your font, and from that point on, Output() and/or Text() will use the font. You can continue to use this font, or turn it off by using LabelOff, after which you can use normal Ti-83+ fonts again. (LabelOn returns to your custom font). The biggest advantage to this program is fonts will display a lot faster than the normal Ti-83+ font routines.
1617
« on: November 13, 2010, 08:55:03 pm »
I've had a lot of test requests, so I'll definitely let people who want to test it test it, include Qwerty, FinaleTI, meishe91 and yunhua. The only thing I ask is that you provide quality screenshots of working programs so that people will see it on ticalc.org and think "I want it I want it I want it!" And you will be credited for your work.
I will need at least one person willing to test the small font.
I will test anything, but as for screenies, I can't guarentee them unless the deadline, or if I get the testing prgrams by tomorrow.
What deadline? The project is still under construction
1618
« on: November 13, 2010, 08:54:04 pm »
I was actually planning on modifying my homescreen Battleship game to use better graphics with this
Awesome! That would be wicked! And there wouldn't be much you would have to do, since you can still use Output() and what not
1619
« on: November 13, 2010, 08:53:20 pm »
So something with TI-OS font.(which won't actually be TI-OS font, but...) Okay. I can go with that.
Just please, don't do something like a 10-minute-to-code project! By testing, you're aggreing to show people something they'll drool for
1620
« on: November 13, 2010, 08:49:09 pm »
I should also add that with this many testers, if you have a great program idea that would make a great screenshot, go for it! I do want a character-around-map screenie, but afterwards I'm not picky--for instance if someone were to whip up part of a battleship game
Pages: 1 ... 106 107 [108] 109 110 ... 194
|