r/gamedev•
BoxOfHope

Questions about 2D pixel art animation workflow

Question

Hey I'm usually a 3D artist but now I'm taking a class that requires that I make a 2D gamemaker game. I'm a glutton for punishment so I'm making a smash-like-lite which is going to need a ton of uniquely drawn frames for my projected two characters. I'm ready to bite that bullet but I want to make sure I'm working smart here.

  1. What size sheet to use (per tile). My first design was in a 200x200 tile and it fits comfortably enough with room for his sword attacks and smashes. Is this fine as long as everything else is in the same scale?

  2. For later implementation in-engine how important is it that all of my sprites are centered or in a consistent part within the tile? If he's off center will it look off?

  3. When I'm animating this design should I hold off on detailing and coloring until after all of the frames are drawn/outlined? I don't know if drawing things strictly one frame at a time would leave me very sane.

  4. What is generally considered best practice for the order of animations in the sheet? Not important?

Sorry because these are probably really dumb questions but I've never touched pixel art or Gamemaker. I'm starting the project on syllabus week so give me some props for being proactive on the art workload.

Edit: Here's the character to better illustrate what I mean. Is having him off center going to cause problems or is it not going to matter? He's a WIP too, needs to be shaded in and given highlights but I'm keeping him like this until I'm started on the next frame.

Posted Jan 27, 2016, 6:49 PM UTC · edited

611
ValentineBlackerLorax of Lurkers•

If you're actually doing pixel art, 200x200 will take forever. It will be beautiful but it will take forever. Unless you leave out detail. What you have right now could be made 1/2 the size with no loss of visual info. With scale, it's mostly about how big the character is compared to the game screen. No one right answer.

A minute spent centering the frames will save a lot of code headache. And will let you review the animation outside the game.

There's no real standard animation order, that's up to what's easy for you.

I will usually detail the first frame to make sure I like the design.

2
BoxOfHopeOP•

What I have now isn't complete, it's missing shading and highlights which will push the aesthetics that extra bit. I'm being very ambitious, of course, but if I can get the majority of the first character's art done by the end of the second week I'll be on track for my deadline. Keep in mind I'm planning on hitting these milestones before pixel art even comes up in the class.

But yeah, thanks for the advice that's pretty much exactly what I needed to hear.

-1
KidVeno•

Hey, I'm not a artist by profession but I do create the artwork for my 2d games. Knowing that here is my input.

  1. 200x200 sprite size sounds good although if you choose to go to another engine you may want to make your frames(and your sprite sheet as a whole) base 2 ie 8x8, 16x16, 32x32 and so on most other engines are picky about that type of shit.

  2. being centered is pretty important but if the distance off center between animation frames is 5px or lower 97% of people won't notice. That other 3% are probably professional animators or dicks with too much time on their hands. If your really worried about that you can texturepack your frames or line them up using a grid in gimp/Photoshop.

  3. that one is a matter of preference. What I see most is someone e start with the first frame of an idle animation. And use that as a base for the frames of most other animation. Very rarely (like twice) I see people use programs like flash or pencil and do traditional onion skill animations.

  4. that goes however you like I generally see and do it in order of least motion to most motion Idle, jog,run,turn,jump,fall,attack(s), then misc like ladder climbing picking up items and such.

Hope that helps

2
ITwitchToo•

I don't know very much on the subject, other than that I'm working on a 2D pixel-y game of my own (not gamemaker though) and I have every sprite define their center individually so I can say "display at position x, y" and it will put its center at that actual position. That helps with things like running animations being wider than regular "standing" frames without having to make all the frames the same width just to make them line up in the game.

Edit: Also, again, without having much experience myself, I'm putting stuff in one file per animation (well, two files; PNG and metadata) as it makes it easier to work with and combining into a big texture map using a separate tool.

1
silent_purple_sky•

With Gamemaker Studio, the general practice is to import each animation separately and the IDE creates the texture pages, although you do have some control over which ones get grouped together. So you don't really need a spritesheet. But let's say your running animation is 8 frames. If you put all the frames in order in one PNG and name the file *_strip8.png, it will automatically chop it into 8 equal size frames for you when you import it. You can then edit the sprite if you want to change, remove, or re-order any of the individual frames.

1
notid1•

I would recommend using a texture atlas instead. Each frame can be different sizes, so you end up with much less wasted space. In terms of centering, I would recommend compass position to define your center point. For example, South would be middle bottom, Northwest would be top left. In your case, it looks like you'd define it at South. There are limitations and drawbacks to this. For example, if you wanted your character to cast a spell to his right, and your center point was South, you'd have to make the whole image wider (wasted space).

Take a look at https://github.com/libgdx/libgdx/wiki/Texture-packer as a way to do this. You can just have a series of images rather than a sheet. Hopefully that helps.

1
Valar05•

Your character is detailed enough I almost wonder if you'd want go the other way - scale it up a little more and go full-on HD sprites and animate using a tweening tool like Spriter. If you're used to the 3D animation workflow that might be more familiar, since it uses bones as well.

Looks really nice as a still image, but I agree with u/ValentineBlacker - I think animating a character that large will take a really long time if you do it frame-by-frame.

1
[deleted]•

[deleted]

1
BoxOfHopeOP•

Hey I never got to your reply before and it became pretty relevant. This is a more recent WIP, and I realize now more than ever how herculean of a task it is to draw as many frames as I need. On one hand it's an obscene amount of time invested into each character, but on the other I feel like bone-based 2D animations look too rigid and canned. Can I get the same kind of fluidity out of spriter?

1
Valar05•

It can be as fluid as traditional animation, depending on how much work you put into it. A character made from a single set of parts will generally be more stiff than one made with [as many parts as might be needed] (http://img.photobucket.com/albums/v389/dinjerr/oboromuramasa_39.jpg), as the Vanillaware games do (that one's from Muramasa - such a gorgeous game).

I wouldn't call Spriter the best tool if you want to use heavy image replacement though - just the cheapest, and easiest to pick up. I'd say if you want to do simple, functional animations like in something like [Rampage Knights] (http://store.steampowered.com/app/314410/), it would work great. On the other hand, of the 2D animation tools I've tried, the one I actually found the most interesting was Anime Studio Pro (version 10 is pretty cheap, and well-featured). You can make the character out of vector parts, and then morph those vectors into any shape you may desire, using these controls called Smart Bones (only available in the pro versions of the software, in version 9 and up). [Here] (http://imgur.com/a/zzUVf) is some random stuff I made when messing around with it for a couple weeks. Its UI is not as nice as Spriter, and it's generally less intuitive, but if I hadn't transitioned to 3D instead, I'd probably still be using it - it's a pretty cool program, allowing you to do a lot with a little.

1
BoxOfHopeOP•

Oh man the last gallery looked really cool and I might consider it for another project but this game is supposed to be a smash-like fighter so I really need a full range of motion on all angles. I need characters to squish, break bones, and smear all over. The muramasa art looks closer to what I'd need but this is a vertical slice demo being made in the time space of a single semester and I can't really afford the time to learn a new program.

1
Valar05•

Something that suprised me a little while ago is, if you look at a lot of older animated movies, very few of them have shading on their characters. Even Disney ones, like The Jungle book- mostly just flat coloring on them. So if you need shortcuts to make deadlines, that might be a good one to take- as nice as the shading looks, animations will still work without it- whereas the game might not make sense without the animations.

1