Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: meishe91 on September 01, 2010, 12:52:04 am

Title: Text Sprite Maker
Post by: meishe91 on September 01, 2010, 12:52:04 am
So I said I was thinking about making a text sprite maker so I did. It virtually holds all the same features as my Sprite Maker (http://ourl.ca/6631/109089) but the rotation has been taken out. This will give let you create any X*5 text sprite and will output the correct characters. I could have included an option for X*6 sprites but it would have just increased the size and there aren't a whole lot of tokens that use the sixth row anyways so I figured it would be pointless. If any of you can think of any features that you would like implemented please let me know and I'll see what I can do.

Features for this program include:
-Gray cursor.
-Cursor wrap around.
-Invert the sprite.
-Clear the sprite.
-Flip the sprite horizontally or vertically.
-Single row or column filling or deleting.
-Single row or column inverting.
-Supports sprites from one pixel in size to a size of fifty-six pixels.
-Sprites of any length. (Well from one to ninety-five pixels.)
-Gives you the outputs for size (mine are all one byte tokens except when it has to be a two byte token) and the classic combination (the list TI|BD gives here (http://tibasicdev.wikidot.com/textsprites#toc2)).

Arrows - Move the cursor around.
[2ND] - Turns the current pixel on or off.
[X,T,?,n] - Flips the sprite horizontally.
[STAT] - Flips the sprite vertically.
[ALPHA] - Inverts the sprite.
[MATH] - Inverts the current column.
[X-1] - Inverts the current row.
[APPS] - Turns the whole row on.
[SIN] - Turns the whole row off.
[PRGM] - Turns the whole column on.
[COS] - Turns the whole column off.

Note:
WARNING! If any sprite contains the following column IT WILL NOT EXIST.

Code: (Column That Does Not Exist) [Select]
_1
1
2?
3
4?
5?

Unfortunately no token contains this as it's left side so no sprite with it will be created until TI creates one.
Title: Re: Text Sprite Maker
Post by: DJ Omnimaga on September 01, 2010, 01:11:54 am
Seems kinda nice. I am curious how you do the flipping horizontally, though. Are every single combination of pixels turned ON possible or are some out of the question?
Title: Re: Text Sprite Maker
Post by: meishe91 on September 01, 2010, 01:15:33 am
Ya, horizontal flipping was really hard to figure out while making my original Sprite Maker :P As for combinations, no. I put a note on which one isn't allowed.
Title: Re: Text Sprite Maker
Post by: Builderboy on September 01, 2010, 01:17:35 am
This looks really nice :) Text sprites are my favorite and they are so useful ^^ Its nice to have an editor that is able to generate the combinations for you.  I still wish there was a character that could be used for the missing column tho :( Silly TI

And i believe there is exactly 1 impossible combination of pixels :(
Title: Re: Text Sprite Maker
Post by: meishe91 on September 01, 2010, 01:22:27 am
Thanks. I just fixed my flipping bug so I'll upload the new version in a bit. I will also get a screenshot up too, soon.

And ya, TI really needs to get on that. I mean what else do people use calculators for? Math? Pshh :P

This looks really nice :) Text sprites are my favorite and they are so useful ^^ Its nice to have an editor that is able to generate the combinations for you.  I still wish there was a character that could be used for the missing column tho :( Silly TI

And i believe there is exactly 1 impossible combination of pixels :(

What do you mean?
Title: Re: Text Sprite Maker
Post by: Builderboy on September 01, 2010, 01:32:21 am
Its like what you said in your first post, there is one column which is impossible to recreate with only text sprites
Title: Re: Text Sprite Maker
Post by: meishe91 on September 01, 2010, 01:37:54 am
Oh ok. I thought you were saying there was a certain combination of columns, besides that single one, that wouldn't work, which just sounded odd :P
Title: Re: Text Sprite Maker
Post by: Deep Toaster on September 03, 2010, 05:41:38 pm
But what about


1█
2█
3
4█
5


and


1█
2█
3
4
5█
? I'm pretty sure they're impossible without a character more than 3 pixels wide, which could cause problems...
Title: Re: Text Sprite Maker
Post by: meishe91 on September 03, 2010, 06:06:39 pm
Not all tokens for text sprites have to be three pixels wide or less. You just have make sure you're covering for it. The ones I currently have this set to are all one-byte tokens except for a couple but I don't remember which. I think I'm going to add the original, more standard, tokens for text sprites and have it store it to Str2. That way you have mine which is as small as possible and the more standard, more well known, ones.
Title: Re: Text Sprite Maker
Post by: meishe91 on September 10, 2010, 12:33:03 am
Update:
I added in the classic combinations to the output. So now my size conscious (all one byte tokens unless it has to be a two byte token) is stored in Str1 and the classic is stored in Str2.

I also added screenshots.

If anyone has anymore features that would be a nice addition to this please tell me :)
Title: Re: Text Sprite Maker
Post by: DJ Omnimaga on September 10, 2010, 01:14:44 am
Pretty nice so far. Nice update :)
Title: Re: Text Sprite Maker
Post by: Jonius7 on September 10, 2010, 01:16:38 am
looks quite nice, and text sprites are diverse, so if one thing doesnt work with a column then try another
Title: Re: Text Sprite Maker
Post by: meishe91 on September 10, 2010, 01:22:03 am
Thanks guys.
Title: Re: Text Sprite Maker
Post by: Jonius7 on September 10, 2010, 02:16:21 am
you're welcome. this is a friendly community ready to help.