Author Topic: Sprite/tileset Editor- need input  (Read 35022 times)

0 Members and 1 Guest are viewing this topic.

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Sprite/tileset Editor- need input
« on: October 22, 2009, 04:09:27 pm »
As proof that I haven't accomplished nothing in the long time since my last public update to Chip's Challenge, I decided to finally release the sprite and tileset editor (for computer; written in Python) that has distracted me every time I get the motivation to work on CC.

The big features are:
- Ability to save and edit tiles
- Give names and numbers to tiles (to ease integration into the Tilemap editor I'm also working on)
- See what the tile looks like and how it compares to the old one (if editing)
- Output/export the tiles in various formats (this is the thing I need input on; see below)
- All the above but with entire tilesets
- Looks cool :)
- User-friendly (which, if you know me, you realize is pretty darn amazing :o)
- Probably more things that I've just forgotten about.

Because of my short attention span and new ideas that required complete re-writes (or at least sloppily patching things together), this has remained in limbo for months with really only the final touches left to do.  One of the biggest road blocks to finishing things up has been what to do with the tiles once they've been made.  Here are the ideas I've come up with (when I say "export" I mean either writing to a text file or printing to the screen):
1) Do nothing.  I'm not dismissing this since the editor was initially created to streamline the process of making sprites, not to help with actual coding or format conversions.
2) Export as binary or hex strings (e.g. '10010110' or '95', etc...).  The hex string could be used for Celtic3's det(17 command; not sure about uses of binary
3) Export in Asm format (using the .db's and stuff).
4) Create an actual .8xs (string) with the hexadecimal format so it could be used by C3's identity(5.  I don't think this would be too useful, but I'm just throwing it out there.
5) Create a .8xi picture variable.  This could be most useful for tilesets, since you could create the tiles and then have the picture conversion automated.
6) <insert other ideas here>

I'd love everyone's opinions on this.  I could do one of those, all of those, or anything in between.  I'm also open to any other ideas.

Also, as I stated above, I'm not sure if I should write things to a file or just print them to the screen (or a mix), so input on that would be good too.
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
Re: Sprite/tileset Editor- need input
« Reply #1 on: October 22, 2009, 11:16:03 pm »
I'd go with doing a combination of exporting to Bin/Hex String AND .8xi Pic Var. That way the user can choose whichever, depending on how they plan to use the data.
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

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/tileset Editor- need input
« Reply #2 on: October 23, 2009, 01:03:32 am »
i would say both ASM and BASIC format like Trev said, so it can be used by everyone


Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: Sprite/tileset Editor- need input
« Reply #3 on: October 23, 2009, 01:08:29 am »
thirded. also FINISH THIS. I DEMAND YOU. something like that would be awesome! =D
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

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/tileset Editor- need input
« Reply #4 on: October 23, 2009, 01:11:12 am »
Then Cooliojazz can release an awesome xLIB RPG :D

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Sprite/tileset Editor- need input
« Reply #5 on: October 23, 2009, 01:51:13 am »
Then DJ will release a secret 3D uber lif3 c0un73r 0f d00m that he has been working on for the last couple of months
:P
/e

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: Sprite/tileset Editor- need input
« Reply #6 on: October 23, 2009, 01:52:04 am »
EDIT: err, @DJ:yep! well, Paperworld isn't nesesarrily an RPG per se. Well, maybe...
10 seconds..... Rraar!
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: Sprite/tileset Editor- need input
« Reply #7 on: October 23, 2009, 10:15:05 am »
I fourth it too... It'll help me make TLM Xlib version...
lol i must finish the basic version first :P


Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Sprite/tileset Editor- need input
« Reply #8 on: October 23, 2009, 05:27:50 pm »
I'd go with doing a combination of exporting to Bin/Hex String AND .8xi Pic Var. That way the user can choose whichever, depending on how they plan to use the data.
Thanks ;D  It should be easy to add in a drop-down menu to select what the user wants.
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: Sprite/tileset Editor- need input
« Reply #9 on: October 25, 2009, 11:22:06 pm »
Could you also maybe have something where you can preview your current tile in, say, a 4x4 map of itself, just to make sure it stacks nicely and stuff?
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

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/tileset Editor- need input
« Reply #10 on: October 25, 2009, 11:34:05 pm »
A map editor (maybe not necessarly with the ability to save yet, but just to test the tiles) would be good

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Sprite/tileset Editor- need input
« Reply #11 on: October 26, 2009, 05:05:06 pm »
Could you also maybe have something where you can preview your current tile in, say, a 4x4 map of itself, just to make sure it stacks nicely and stuff?
That's an excellent idea!

A map editor (maybe not necessarly with the ability to save yet, but just to test the tiles) would be good
A full map editor is the plan ;D
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

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/tileset Editor- need input
« Reply #12 on: October 26, 2009, 11:16:28 pm »
cool ^^

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Sprite/tileset Editor- need input
« Reply #13 on: October 27, 2009, 06:29:55 pm »
As for exporting, should it default to just printing to the screen but have the option for putting it in (or appending to) a file?  Also, I think I might be able to copy things to the clipboard (where data for cut/copy/paste is stored).  If I do that, should I still keep printing to screen (or file) as the default?

With regards to undo/redo, is 20 actions (defined by a full-screen change like inverting/clearing, or setting/resetting a bunch of pixels at once) enough to keep, or should I save more?
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

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/tileset Editor- need input
« Reply #14 on: November 18, 2009, 12:14:25 pm »
hmm to be fair, i am unsure if Undo would be  a good idea on calc, unless you can keep the RAM/speed requirements small. If you can, then I guess 20 would be more than enough, or maybe 10