attack timing

A place for your artistic side. Discuss techniques and tools for pixel art on the NES, GBC, or similar platforms.

Moderator: Moderators

Post Reply
psycopathicteen
Posts: 3140
Joined: Wed May 19, 2010 6:12 pm

attack timing

Post by psycopathicteen »

When doing impact freeze does it look/play better if I freeze everything on-screen, or just the player and the enemy getting hit? If I'm doing just the player and enemy, what happens if an enemy comes in hit range during a freeze? Should it restart the freeze timer for the player?

I'm guessing I should also have the attack on a specific key frame (or range of frames) so it looks timed better.
tepples
Posts: 22708
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: attack timing

Post by tepples »

Watch a 2-on-2 Super Smash Bros. Melee match in slow motion to see best practices in handling hitstun.
User avatar
Kasumi
Posts: 1293
Joined: Wed Apr 02, 2008 2:09 pm

Re: attack timing

Post by Kasumi »

Freeze just the things involved in the hit. I've always thought the idea behind hitstop is to emphasize resistance. Imagine swinging a knife. Now imagine swinging a knife through a small branch. Even if the knife is sharp enough to cut through the branch with just a swing, because the branch is solid the knife will slow down as it moves through it thanks to some resistance. tl;dr: It shouldn't affect anything else on screen but that's the easier thing to do. For a single player game, it doesn't even make too much difference.

To avoid things getting put repeatedly in hitstop (a player in between two enemies that hurt with touch idling or whatever) some games just have a maximum number of frames an object can be in hitstop before they ignore things trying to add more.

Hitstop is usually something very small like <6 frames, so you don't need to worry about the attack happening on a specific key frame. Any point during the knife swing hitbox will apply it to that frame of animation, and it should look fine. Here's a thorough article about Smash Bros. hitstop: http://sourcegaming.info/2015/11/11/tho ... vol-490-1/
Post Reply