Page 1 of 1

Sprite Editor (almost ready)

Posted: Sun Nov 03, 2013 10:56 pm
by alberto_lara
This is an old post, please ignore it. The most recent project is here: https://github.com/tavuntu/susse and the current thread is this: viewtopic.php?f=5&t=79751

Hi people, still missing some things, it's something like "Luigi's sprite editor" according to the style.

Keyboard shorcuts:

For frames:
Ctrl + Right/Left arrow = change frame
Ctrl + F = First frame
Ctrl + L = Last frame
Ctrl + A = Add frame
Ctrl + D = Delete frame
Ctrl + C = Copy previous frame

For IO (the classics):
Ctrl + O = Open
Ctrl + S = Save
Ctrl + N = N
E + lclick = eraser

Others:
P = Play/stop animation
M = change Playing Mode
C = change Color palette
G = show/hide Grid
(and some intuitive ctrls over there)


Some pics:

Editing:
Image

Create new:
Image

Open:
Image

.love: https://mega.co.nz/#!Nh50gZCA!Ipc5kX_H7 ... NI9cz9tU2k

Have fun with this tool: Image
With Image I could do interesting stuff using it so, of course yo can too.

Remember, the program isn't finished yet, have fun :) and thanks for you attention. (sorry for my English)

EDIT2: the '*' indicates a not-saved animation, for the moment, if you want to see on playing what you drew, save first.
EDIT3: I'll be updating an stable .love file every 4 or 5 days on the same link.

Re: Sprite Editor (almost ready)

Posted: Mon Nov 04, 2013 11:14 am
by BozoDel
But, but... are those screenshots from the latest version? Cause it's definitely not how it looks like on my computer.

Also, got this crash message:

Code: Select all

Error

AnAl.lua:94: Incorrect parameter type: expected userdata.


Traceback

[C]: in function 'drawq'
AnAl.lua:94: in function 'draw'
main.lua:181: in function 'draw'
[C]: in function 'xpcall'
(sorry, don't know how to reproduce it)

Other than that, looks like it's gonna be a pretty good tool. But not sure if it can compete with other pixel art tools.

EDIT:
SpongeBob <3

Re: Sprite Editor (almost ready)

Posted: Mon Nov 04, 2013 5:23 pm
by alberto_lara
Sorry BozoDel, post edited. Remember, it's like a beta version, it can have bugs/crashes (not a lot) and I don't really want to compete with other tools, I just want people to use it if they like it :)

Re: Sprite Editor (almost ready)

Posted: Mon Nov 04, 2013 11:32 pm
by BozoDel
dead link! :o

Is your dropbox account free? Cause it has limitations on how many ppl can download your stuff...

Re: Sprite Editor (almost ready)

Posted: Tue Nov 05, 2013 4:35 pm
by alberto_lara
Sorry again man, I didn't know that about Db. it's in MEGA now :)

Re: Sprite Editor (almost ready)

Posted: Wed Nov 06, 2013 2:27 pm
by BozoDel
Now that's something! Loved the ZX-Spectrum pallette, and the mirroring is sure an interesting feature.

I see that it's default format is PNG. Is it an animated PNG? Really? Those are not very common... I would like to know more abou how they compare with animated GIFs. Will we be able to choose between those two?

Got three suggestions:
- We should be able to type the numbers when selecting the width and height of a new image. Sometimes clicking isn't precise. It's just a minor setback, but it could be improved.
- Sometimes we will need to export not an animation, but several similarly named static images.
- Being able to resize the window... it isn't really necessary, and it would probably be a lot of extra work... but I would be cool, nonetheless.

A few questions:
- Will we be able to customize the palette?
- What does the little fireball do?
- Is saving implemented yet? Cause I can't find the image I created (using Linux).

But hey, this really got my attention now. I'm looking foward to using it when it's more stable.

Re: Sprite Editor (almost ready)

Posted: Wed Nov 06, 2013 9:10 pm
by alberto_lara
Hi again and thanks for the tips :)
First we must clarify some points:
1. The program doesn't work with APNG (I don't think Love2D has support for it), it works with normal PNG images and
when you save an animation with (e.g.) 4 frames, you can get an image like this one:
Image

2. The spinner component (and others) isn't finished yet, I'll finish it and improve it.

3. In Love2D (to my knowledge) you can't resize (fluidly) the window, but you can use this: http://www.love2d.org/wiki/love.graphics.setMode to respawn the window with other size :) I'll add that option too.

About the questions, I don't know exactly what you mean with customizing the palette, if you mean using different colors, you can replace the paleta.png, paleta2.png or paleta3.png images (on imgs_editor folder) by other ones (the palette images must have a 8:2 aspect ratio for correct drawing and you would have to manage the factor_escala variable in paleta.lua as well). About the little fire ball, I'll upload to youtube how it works (I'll link it here) and, finally, the save function works fine (not perfectly in some particular cases but I'll fix that too), Love2D can only write files to the SaveDirectory (check this: http://www.love2d.org/wiki/love.filesystem). You can extact the .love and put at the beginning of love.load() the line:

Code: Select all

print(love.filesystem.getSaveDirectory())
to get your save's directoy full path.

Again, many thanks, I'm busy now with a work and a school project, but I'll take some time for this too, lacks a lot of details.

see u later :nyu:

PD: As you can see, a lot of users are very hard to impress (this tool doesn't have a lot of original features, though) and there are only prole posts in this thread, I'm glad you liked it, I'll put a lot more work on this project, that's for sure :)

Re: Sprite Editor (almost ready)

Posted: Sun Jan 03, 2016 12:36 pm
by Jeronmi
This program looks cool and I'd like to try it but the mega link says the file is no longer available.

Re: Sprite Editor (almost ready)

Posted: Mon Jan 04, 2016 12:15 pm
by Doctory
Jeronmi wrote:This program looks cool and I'd like to try it but the mega link says the file is no longer available.
This was posted 3 years ago, of course it is not available

Re: Sprite Editor (almost ready)

Posted: Thu Jan 07, 2016 1:54 am
by alberto_lara
Jeronmi wrote:This program looks cool and I'd like to try it but the mega link says the file is no longer available.
Sorry, this was just a "test" version, the new Project is in my repo: https://github.com/tavuntu/