Author Topic: Sprite Editor  (Read 25962 times)

0 Members and 1 Guest are viewing this topic.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Sprite Editor
« on: June 24, 2010, 09:57:50 pm »
I made a post for the sprite editor I made a while back, but it was in the middle of a topic that has since floated to the bottom of the list and is hard to find in that topic even if you found the topic itself. So, I'm making a new topic just for my sprite editor! It's a whopping 8060 bytes, but that's because it has all of this:


><FEATURES><

-8x8 or 16x16
-Black and white, 3-scale grayscale, or 4-scale grayscale
-Multiple zoom views visible at once
-Realtime sprite hex display
-Hex input
-Invert colors
-Flipping horizontally or veritcally
-Rotating clockwise or counterclockwise
-Create, edit, and save as many sprites as memory allows
-Delete sprites


><INTERFACE><

In the top-left corner will be the number of the current sprite being edited. If a grayscale sprite is being edited, below that will be an indicator as to which buffer is currently active. In 8x8 mode, the sprite will be displayed at 1x, 2x, and 6x, zoom, with the hex data for the active buffer displayed at the bottom of the screen. In 16x16 mode, the sprite will be displayed at 1x and 4x zoom, with the hex data for the active buffer being displayed on the right side of the screen.


><COMMANDS><

Code: [Select]
|A| = Works in all modes
|G| = Works only in grayscale modes
|4| = Works only in 4-scale grayscale mode

Arrow keys |A| Move cursor
2nd |A| Alternate current pixel between black and white
ALPHA |G| Alternate current pixel between gray and white
X,T,θ,n |4| Alternate current pixel between dark gray and white
MODE |A| Alternate part of current pixel on active buffer
^ |G| change active buffer
TAN |A| Invert active buffer
DEL |A| Back up one hex character
STAT |A| Advance one hex character
0-F |A| Hex input on current buffer
x |A| Flip horizontally
÷ |A| Flip vertically
( |A| Rotate counterclockwise
) |A| Rotate clockwise
+/- |A| Change active sprite
F2 |A| New 8x8 sprite
F3 |A| New 16x16 sprite
F5 |A| Delete sprite

** If you find any bugs, want to suggest any features/changes, or just want to say how great of a guy I am for making this, please post here and tell me about it! **
« Last Edit: June 25, 2010, 12:50:01 am by Runer112 »

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: Sprite Editor
« Reply #1 on: June 24, 2010, 09:59:45 pm »
Cool, glad you made a new topic about it. I'll try it asap! ^^

By color inverting, do you mean we can swap light gray with dark, white, black, etc?

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Sprite Editor
« Reply #2 on: June 24, 2010, 10:06:34 pm »
Inverting colors works for each buffer individually, flipping all the bits corresponding to that buffer. That means in a black and white image, it will simply invert the colors. However, in images like 4-level grayscale sprites, you can either invert all the colors (black to white, white to black, gray to dark gray, dark gray to gray) by inverting both buffers, or you can invert only one buffer.

EDIT: I just realized, I never tested color inverting for 16x16 sprites, only 8x8. I need to check to make sure it works for 16x16.

EDIT 2: It works for 16x16 black and white sprites, but not grayscale... Hmm, let me try to fix that.

EDIT 3: Fixed.
« Last Edit: June 24, 2010, 10:32:14 pm by Runer112 »

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: Sprite Editor
« Reply #3 on: June 24, 2010, 10:35:31 pm »
Aaaah I see ^^

Now that I am back from Unreal Tournament 2004 I will check it out :)

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: Sprite Editor
« Reply #4 on: June 24, 2010, 10:41:00 pm »
Excellent!  Is this the same one from the other 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: Sprite Editor
« Reply #5 on: June 24, 2010, 10:41:49 pm »
I think it is the same, altough updated. He should probably make new screenshots, though, because like the other versions, the screenies got lost in the many pages too ;D

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Sprite Editor
« Reply #6 on: June 24, 2010, 10:42:46 pm »
Hurray, updates! Yeah, this definitely deserves more attention than its place in the middle of another topic.
This is going on my calc. Now. (Or tomorrow, actually...)
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Mighty Moose

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 141
  • Rating: +4/-0
    • View Profile
Re: Sprite Editor
« Reply #7 on: June 24, 2010, 11:09:32 pm »
I tried your original one on my calc, but every time I ran it, it would only run up to the "Grayscale level (2-4):" screen and then quit working.  After several ram clears, it became clear to me that it was not going to work.  It worked fine on WabbitEmu, though.  I am so confused ???
Cheers!
I beta test, so...yeah.  PM me if you want me to test anything :D.

Almost only counts in horseshoes and handgrenades.

Cogito ergo sum.

Calcs:
TI-84+, OS 2.43, Boot Code 1.02, 128k RAM
TI-84+SE VSC, OS 2.43, Boot Code 1.00, 128k RAM  (I'm spoiled :P)
TI-81, OS 1.6K (only borrowed)
Casio fx-CG10 (Prizm), OS 01.04.0200
TI-Nspire Clickpad, OS 1.4
TI-Nspire Clickpad, OS 3.1.0.392
TI-Nspire CAS Clickpad, OS 1.6.10110 (!?) now OS 3.1.0.392

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Sprite Editor
« Reply #8 on: June 24, 2010, 11:26:33 pm »
Try it again maybe? It's had some bug/compatibility fixes since the first release.

Offline Mighty Moose

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 141
  • Rating: +4/-0
    • View Profile
Re: Sprite Editor
« Reply #9 on: June 24, 2010, 11:36:06 pm »
Cool.  I'll try it tomorrow then (Maybe I'll get it to work this time :)).
Cheers!
I beta test, so...yeah.  PM me if you want me to test anything :D.

Almost only counts in horseshoes and handgrenades.

Cogito ergo sum.

Calcs:
TI-84+, OS 2.43, Boot Code 1.02, 128k RAM
TI-84+SE VSC, OS 2.43, Boot Code 1.00, 128k RAM  (I'm spoiled :P)
TI-81, OS 1.6K (only borrowed)
Casio fx-CG10 (Prizm), OS 01.04.0200
TI-Nspire Clickpad, OS 1.4
TI-Nspire Clickpad, OS 3.1.0.392
TI-Nspire CAS Clickpad, OS 1.6.10110 (!?) now OS 3.1.0.392

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: Sprite Editor
« Reply #10 on: June 25, 2010, 12:07:48 am »
WOW! I must say I am impressed, and this gotta be the best sprite editor I ever tried on my calc. It has most stuff someone would need. I am going to make a screenshot soon. There is only one thing I wonder, though:

How do you go back through previous sprites during editing? The only way I could figure out is to delete all sprites saved afterward, which would suck if I needed to edit an old sprite a bit.

Offline Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Sprite Editor
« Reply #11 on: June 25, 2010, 12:10:51 am »
Nice. This will definitely help me when viewing my sprites on calc.
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13

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: Sprite Editor
« Reply #12 on: June 25, 2010, 12:18:05 am »
Screenie!

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Sprite Editor
« Reply #13 on: June 25, 2010, 12:44:41 am »
WOW! I must say I am impressed, and this gotta be the best sprite editor I ever tried on my calc. It has most stuff someone would need. I am going to make a screenshot soon. There is only one thing I wonder, though:

How do you go back through previous sprites during editing? The only way I could figure out is to delete all sprites saved afterward, which would suck if I needed to edit an old sprite a bit.

Oops, I forgot to document that! Use + and - to switch the active sprite.
« Last Edit: June 25, 2010, 12:45:44 am by Runer112 »

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: Sprite Editor
« Reply #14 on: June 25, 2010, 12:48:53 am »
OOoh ok thanks ^^