| |
Cupid
Registered: Jan 2002 Posts: 83 |
Release id #189746 : TileEdit
I've coded a small tool to help me with textures for some effects in our upcoming demo.
TileEdit runs in the browser and puts out PNG files that can be easily converted.
https://codepo8.github.io/TileEdit/
Should be pretty straight forward, but here are the docs:
https://github.com/codepo8/TileEdit/blob/master/README.md
It is Open Source, so I am happy for contributions and bugs filed on GitHub. |
|
| |
Compyx
Registered: Jan 2005 Posts: 631 |
Your color selection/palette is a little weird. I'm an extreme conservative when it comes C64 graphics, so not having 16 colors in that order is a little weird.
Also, it looks like, at least in Firefox 68.7, you only pop up tooltips on the 'transparent' and 'brown' color selectors.
And only saving as .png doesn't really help, you'd still need some conversion script.
But don't get me wrong, it's a nice tool which at least is 'portable' via a browser and not just Windows and it might end up being useful. |
| |
Raistlin
Registered: Mar 2007 Posts: 688 |
Cool stuff. One problem that I had with the editing was that if you hold the mouse button down and draw, when the mouse pointer leaves the area, the draw mode is lost (ie. you need to release and press the mouse button again to start drawing) |
| |
Oswald
Registered: Apr 2002 Posts: 5095 |
as a coder I can tell what kind of fx this is needed for :) |
| |
chatGPZ
Registered: Dec 2001 Posts: 11391 |
lies! |
| |
Cupid
Registered: Jan 2002 Posts: 83 |
Quote: Cool stuff. One problem that I had with the editing was that if you hold the mouse button down and draw, when the mouse pointer leaves the area, the draw mode is lost (ie. you need to release and press the mouse button again to start drawing)
Hmm, that is kind of expected, isn't it? You mean it is too strict? I could add a transparent border to allow for like 10 pixels leeway or so, would that work? |
| |
Cupid
Registered: Jan 2002 Posts: 83 |
Quote: Cool stuff. One problem that I had with the editing was that if you hold the mouse button down and draw, when the mouse pointer leaves the area, the draw mode is lost (ie. you need to release and press the mouse button again to start drawing)
I added a border of 15 pixels, that should help with that, so you have a bit of leeway. Excellent point, cheers. |
| |
Cupid
Registered: Jan 2002 Posts: 83 |
Quote: Your color selection/palette is a little weird. I'm an extreme conservative when it comes C64 graphics, so not having 16 colors in that order is a little weird.
Also, it looks like, at least in Firefox 68.7, you only pop up tooltips on the 'transparent' and 'brown' color selectors.
And only saving as .png doesn't really help, you'd still need some conversion script.
But don't get me wrong, it's a nice tool which at least is 'portable' via a browser and not just Windows and it might end up being useful.
What order would you like them in? I used two gradients (and they used to be one on top of another) and I used white twice, so that I don't have an empty square at the end of it.
If you want to contribute, this is all in the HTML:
https://github.com/codepo8/TileEdit/blob/gh-pages/index.html#L1..
Of course you need to convert it, but that's the coder's job (which might be you later on). There is no "tile" format for C64 other than sprites, so that's another problem. |
| |
Oswald
Registered: Apr 2002 Posts: 5095 |
guess ppl are used to the numerical order and it takes extra effort to work with any other. |