Author Topic: Text Sprite Maker  (Read 5120 times)

0 Members and 1 Guest are viewing this topic.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Text Sprite Maker
« 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 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).

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.
« Last Edit: September 10, 2010, 12:42:48 am by meishe91 »
Spoiler For Spoiler:



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

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: Text Sprite Maker
« Reply #1 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?

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Text Sprite Maker
« Reply #2 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.
Spoiler For Spoiler:



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

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Text Sprite Maker
« Reply #3 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 :(

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Text Sprite Maker
« Reply #4 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?
Spoiler For Spoiler:



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

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Text Sprite Maker
« Reply #5 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

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Text Sprite Maker
« Reply #6 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
Spoiler For Spoiler:



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

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: Text Sprite Maker
« Reply #7 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...




Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Text Sprite Maker
« Reply #8 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.
Spoiler For Spoiler:



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

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Text Sprite Maker
« Reply #9 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 :)
Spoiler For Spoiler:



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

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: Text Sprite Maker
« Reply #10 on: September 10, 2010, 01:14:44 am »
Pretty nice so far. Nice update :)

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: Text Sprite Maker
« Reply #11 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
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Text Sprite Maker
« Reply #12 on: September 10, 2010, 01:22:03 am »
Thanks guys.
Spoiler For Spoiler:



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

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: Text Sprite Maker
« Reply #13 on: September 10, 2010, 02:16:21 am »
you're welcome. this is a friendly community ready to help.
« Last Edit: September 10, 2010, 02:38:38 am by jhgenius01 »
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)