NES Sprite Animator

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
NES Sprite Animator
by on (#105925)
I haven't been able to find any utilities that allow you to see your .chr sprites animate.
I am in the middle of developing the sprites for my main character. I have an idea of what
it will look like, but I think that development would be more rapid if I could "see" it in motion.

Of course, I could write a demo that alternates between frames on a timed interval, but I don't
want to re-invent the wheel if I don't have to.

What methods do you use? Are there any applications that do this?

Thanks
Re: NES Sprite Animator
by on (#105927)
I have an idea to add meta sprite editor functionality into NES Screen Tool - one that would allow to align sprites arbitrary with arbitrary palettes. Animation could also be considered. Not sure how it going to look, though, certainly a separate window.
Re: NES Sprite Animator
by on (#105930)
One way to achieve this is to not edit the CHR data directly, but instead use some other tool like GraphicsGale, ASEPRITE, etc to do the animation, and then convert the results to CHR using some automated tool (like Tilificator), or manually.

That said, a metasprite editor like what Shiru is talking about would certainly be welcome.
Re: NES Sprite Animator
by on (#105935)
If you paste graphics onto multiple layers into GIMP, you can do Filters > Animation > Playback.
Re: NES Sprite Animator
by on (#105965)
a bit offtopic perhaps, but how do you even create a single-pixel brush in GIMP nowadays? I struggled with this a few days ago without any success, and Google results didn't give much help.

As for sprite animation, I've succesfully used Pro Motion for creating animations and Tilificator for making them into tiles.
Re: NES Sprite Animator
by on (#105967)
Bananmos wrote:
a bit offtopic perhaps, but how do you even create a single-pixel brush in GIMP nowadays?

Ctrl+Shift+B then click Circle (1). Make sure you use the pencil tool and not the brush tool.
Re: NES Sprite Animator
by on (#105971)
Tried that, but no Circle brush exist to be selected. And trying to create a 1-pixel one myself fails miserably as it always ends up affecting more than one pixel no matter which settings I choose. Feels really silly not being able to do something as fundamental as changing individual pixels in a paint program...

Using GIMP 2.8.2 on Xubuntu.
Re: NES Sprite Animator
by on (#105978)
I'm on GIMP 2.6.12 on Xubuntu 12.04 LTS. I've never tried GIMP 2.8.
Re: NES Sprite Animator
by on (#105981)
johnnystarr wrote:
I haven't been able to find any utilities that allow you to see your .chr sprites animate.

I have had it on the list for NESICIDE for over a year. Concept is complete...just need to find the time to implement. Unfortunately the graphic that depicted the concept has been lost...unless hyarion has it somewhere.

Basically the concept was a pattern editor at the top with a "roll of film" below it that you could drag patterns onto and watch them animate. Shouldn't be terribly hard to do, I just haven't done it [yet]. I've already done the tile editor...so it's partly done already.

I've been focused [recently] on porting FamiTracker to Qt. 8-)

Yes, I know there's a partially complete port of FamiTracker to Qt already...I'm "rolling my own".
Re: NES Sprite Animator
by on (#106005)
To get a 1 pixel brush in Gimp 2.8, I click pencil, then I click on the brush shape (big square in the "tool options" pane), for me the second brush was a little dot, it's called "1. Pixel". Finally there is a "size" field just below, change that to 1.00, and you should be able to draw hard pixels.

I also recomend going to preferences > tool options, and telling it to save the tool options on exit so you don't have to do this every time.

For other tools like the eraser, some of them have individual options for anti-aliasing or hard edges. Eraser has a "hard edge" option you want to turn on, for example.
Re: NES Sprite Animator
by on (#106024)
Problem is there isn't any "size" field AFAICT, only a "spacing" field which doesn't seem to be the same. Choosing to edit the brush brings up lots of different parameters to play with, but none of them seem to achieve the goal of only changing a single pixel. And yeah, I'm using the Pencil tool.
Re: NES Sprite Animator
by on (#106039)
Moveo ut of t he brush editor and move it to 1 size. If that doesn't work, you screwed your settings somehow as that should work by default.
Re: NES Sprite Animator
by on (#106046)
There isn't any "size" setting to be found anywhere AFAICT.
Re: NES Sprite Animator
by on (#106054)
This is how it looks on mine:
Attachment:
gimp_pixel_brush.png
gimp_pixel_brush.png [ 104.42 KiB | Viewed 2360 times ]

Every tool has a tool options pane (different from the brush editor pane). The pencil tool has a size option. If you click on the picture of the brush, it opens a brush selector (the second image), and that picture should show where to find the pixel brush.
Re: NES Sprite Animator
by on (#106102)
Thanks rainwarrior! I know learned the power of the tool options dialog, and can finally draw single pixels. Sorry for not reading your first reply carefully enough :)
Re: NES Sprite Animator
by on (#106178)
Aseprite is a decent pixel art editor that has some crude animation capabilities, if you want to see them animated before you have made your graphics into 2bpp tiles.
Re: NES Sprite Animator
by on (#106183)
In my experience, NES-specific editors will never be as good as more generic drawing programs. IMO, the best option is to use whatever bitmap editing software you like and only convert the graphics to NES format as the last step.
Re: NES Sprite Animator
by on (#106185)
Are there generic programs to create metasprites?
Re: NES Sprite Animator
by on (#106315)
Meanwhile I added the promised functionality into NES Screen Tool.
Re: NES Sprite Animator
by on (#106317)
Shiru wrote:
Meanwhile I added the promised functionality into NES Screen Tool.

Cool! I almost want to convert my old metasprites to your format now just to see how they look in the editor. :)

C data clipboard copying has a bug when H/V flip is used:
Code:
const unsigned char metasprite[]={
|OAM_FLIP_H0,0,0x00,3,
67,64,0x00,1,
128
};

(I probably should have posted this in the NES Screen Tool thread...)
Re: NES Sprite Animator
by on (#106318)
Yes, it is better to post bug reports there. Anyway, I'll fix it ASAP (within an hour) without changing the version number, so check it out later.