Have a Plan

Today I want to talk about something that wasn't very obvious to me when learning new things. In fact I still forget it from time to time which is what prompted me to write this. Especially when learning something new or trying to master something - I find it best to approach these things with a plan.

There was an article published recently discussing the habits of violinists. This study encompassed not only elite violinists but what we would all call normal. One of the findings was:

We can start by disproving the assumption that the elite players dedicate more hours to music. The time diaries revealed that both groups spent, on average, the same number of hours on music per week (around 50).

This is very important as it disproves that people are better at things simply because they put more time into things. Granted that might separate the #1 and the #2 player but that is not what separates the rest of us. The next finding proves that having a plan was the key to success for these violin players:

The difference was in how they spent this time. The elite players were spending almost three times more hours than the average players on deliberate practice — the uncomfortable, methodical work of stretching your ability.

Deliberate practice is what separates the elite players from the average players. That to me is the key in all of this. I have found myself doing something but not getting better and its only when I step back and form a plan do I feel like improve.

Street fighter

I grew up playing Street Fighter not only in the arcades but also on the consoles and entering tournaments to helping run Evo at one point in my life. I used to just play to have fun and found myself getting slowly better but not really able to compete with the big boys so to speak.

It wasn't until I met John Choi and he clearly explained to me that most people don't play with a game plan. They just go through the motions. It sounds so simple but this was definitely my problem as a player. I didn't have a plan what so ever.

Simple things like what do I want to do in the beginning of the round. What do I want to do when I have my opponent in the corner. When I'm in the corner, etc. I had good reactions and played enough to recognize a lot of situations but overall I had no plan. I played mostly by reacting to what the other player was doing instead of having them react to me.

Another player that I really respect for having a plan is Viscant. His reactions are pretty bad and his execution is even worse - yet he won Evo2k11. Here you can watch him analyze his winning match and talk through what his game plan was. It's absolutely fascinating and proves that having a plan trumps a lot of things.

Photography

I've been getting more and more into photography here lately. For a variety of reasons in all honesty. Having a kid will definitely do that but on top of that I enjoy the whole process. Taking the time to compose a shot, deleting the ones that didn't work, editing an image, etc.

I felt like I haven't been improving here lately though and it was starting to frustrate me. Photographing an active 3 year old is not an easy thing. He's constantly in motion - even when he sleeps. This has made planning for the shot a lot harder. Which has resulted in numerous bad shots for one reason or another.

It was here that I reminded myself that I should have a plan. I've been basically 'spraying and praying' hoping the photos I take of him will come out. So here lately I've been approaching it completely different.

While I continue to work on composition I've actually been trying to have a small goal for each time we go out with the camera. Whether it be something as simple as shooting all in black & white or only one focal length or what not. One day I shot everything only in ISO 1600. Granted most photos weren't keepers but it really helped me understand ISO in a way that I wasn't grasping before.

Video Game Design

Same with work or in my case video game design. It's easy to say, "this boss battle is going to be awesome" and end the sentence like that. However this is leaving things to hopefully come together instead of planning on it coming together. Hope is not a strategy.

For instance if I was going to work on a boss battle - this is how I would approach it. I find it best to usually focus on 3 things when it comes to boss battles. I start brainstorming things such as the arena - is it going to split in half, fly through the air, etc. Or maybe it's about the music if the boss battle - does it change the less health she has? Does the music react to what the player is doing somehow? Or maybe what makes this boss special is at the end of the battle - you can go inside his mouth and get the much needed key for the door.

Having a simple plan and keeping with it has really helped me when it comes to design. Its easy to veer off course without realizing it. Going back and looking at the 3 things I wanted to accomplish really helps.

It's also good to not have a plan

With all of that being said - I find it's also helpful to just 'play' and not have a plan. When it comes to Street Fighter - it can be healthy to just take a break from everything being so serious and mess around with characters you don't normally play. Same with photography - it's ok to loosen up and go have fun with Instagram filters. Or even design - take a break and try to design something you don't normally work on. It's good to stretch out and have fun. Just remember that when you do want to sit down and focus - that you have a plan on what you want to accomplish.

Damage Presentation

When it comes to conveying damage in videogames there are many ways to go about doing it. The most obvious is to show a reaction of the character being in pain, along with some blood and possibly even a screen shake or a controller shake. Depending on the move some slowdowns in good places can really drive it home as well.

The most obvious place after that is with the health bar. Depending on the move and how many times it hits sometimes that can get a little lost if the player is not paying direct attention to the health bar. Some games have tried to compensate this for having a number float off the character indicating how much damage was done. This definitely works for some games better than others.

While playing Street Fighter Alpha 3 the other night at a friend’s house I noticed they do something that helps reinforce how much damage was received. Before we get there though lets take a look at what I consider to be a normal health bar and how the energy is drained.​

Now with Street Fighter Alpha 3 (I’m pretty sure this did not start in A3 but this is the game I noticed it so therefore this is the game I’m showing) there is a layered power bar of a different color that lags behind showing the player how much damage they received. This works out especially well for big hitting moves. You think to yourself, ‘damn…my health is still draining!’

Basically the same amount of damage but with the presentation of the layered power bar you really feel like you got hit harder.

Last but not least the damage that is being done doesn’t have to be equally distributed amongst all the hits. While a horrible game, SNK Vs. Capcom they do one really nice thing with Guile’s Flash Kick Super.

The first 3 hits feel EXTREMELY powerful but then the rest looks like normal hits. If you sit and stare at how the whole thing looks then it’s kind of dumb. However when you are playing the game most people either look up at their health bar either right when they get hit or at the end to try to figure out how bad they got hurt.

There are many ways to convey damage and many more ways than my examples of health bars. Virtua Fighter does a really great job also of having 2 different shades of the layered power bar – showing how much the last hit did as well as the overall combo. I couldn’t find a good video showing this so maybe I’ll try to go back and add one. Other games like Tekken Tag where you can regain health also have some really good examples of displaying how much you lost and how much you can regain. In all honesty I could probably write a whole article on just the intricacies of health bars. Maybe some other day.


Game Feel - Part 3

Why some games feel better than others - part 3

part 1 can be found here

part 2 can be found here

The importance of hit pause

In videogames there are often times where you want an impact to feel harder than it really is. There are a lot of variables that can be used to achieve this. Obviously sound is really important as well as blood, screen shakes, controller shake, etc. One VERY important ingredient to this is the use of hit pause.

Hit pause is when the game pauses for a second when something big or important happens. For God of War we use hit pause everywhere! When Kratos makes contact with the enemies or during the complex throws and all sorts of other sneaky places. Hit pause and slowdown are 2 different things and sometimes we use them together. I define slowdown as slowing the action down so you can take it al in. Hit pause is when the game pauses even if it’s really minute and you barely notice it. Sometimes the pause can be used even longer for different effects.

To help explain what I’m talking about, I’m going to show a video of Sakura in Street Fighter Alpha 3. Street Fighter is a great game to show off basic concepts like this. Not only do most originate from fighting games but also they usually have a great training mode so I can capture really quickly : )

So first you see Sakura doing her standing Fierce (Hard Punch) attack which she hits no one with. I wanted to include this so you can see how the animation behaves normally with none of the goodies on top. Then she makes contact with Dhalsim on what is known as a clean hit or a normal hit. Alpha 3 has a major counter system where if you interrupt the opponent’s attack with your own you get a counter hit. What you are seeing with the last attack is Sakura landing the same standing Fierce but this time in a counter situation. We get a great sound and even a 1 frame white flash, some particles around her hand and the whole game coming to a stop for a few frames before continuing with the action. This last attack feels vastly different and you really feel like you put the hurt on someone. While this pause is going on none of the players have the ability to move which also helps sell the overall feel of a hard hit.

Here is a still shot of all that action, including the hit effect:

sakattack.JPEG

Also note how you can see how much damage the attack did by looking at Dhalsim’s Health bar. For more information on health bars seeing a previous article I wrote here. 

Street Fighter also uses hit pause in another great situation – to exaggerate the final attack one player does to another when they win the round. Capcom is great at having really fantastic poses during their animations so when the pause occurs you see the characters and think, DAMN!

Below is a video clip of Sagat killing Blanka on the first hit of his dragon punch. Everything really comes together – the sound, effects come flying in, text is flying everywhere and there is even a slight echo effect on Blanka’s final scream.

Now I also included a clip of when things don’t quite line up as well in my opinion. Sagat’s Dragon Punch has the ability to hit up to 5 times. In this video the third hit is what kills Blanka. Granted you get a nice pose of Sagat all elongated but it doesn’t have the same impact, at least to me.

I prefer seeing it like this:

biiitch.JPEG

Even though it’s a really simple concept, the skill comes from where and how to use it. Same with slow down. The ability to change an animation from something that doesn't feel very powerful to something that is just like, 'damn...that hurt!' is just massaging the animation with all the right goodies until you get something good.

Game Feel - Part 2

Why some games feel better than others – part 2

part 1 can be found here

Jumping

I chose jumping for this article as I think it’s one of the most basic functions that has been in videogames since the beginning that is still being used today. Games as old as Donkey Kong and as new as GTA all feature jumping. It has gone from the main gameplay focus in games to one of many options that your character can perform.

Games have changed from 2d to 3d and jumping has remained a constant. Even as games shifted view from 3rd person to 1st person, jumping has hung around no matter what the current trend in videogames. Something so innate to videogames and yet read any videogame magazine and I’m sure you’ll find a review of a game where people are complaining about the jumping. A basic functionality of videogames and developers are still getting it wrong.

I don’t claim to have the perfect answer but when studying jumps in as many games as I could find, I noticed one common thing. How long the character was in the air regardless of 2d or 3d, this determines if a jump feels good or not. How long the player is out of control as their character floats around is very important. Oddly enough good jumps were around the same time and bad jumps were around the same time length.

I fully admit that my tests are not the most accurate in the world but it’s a starting point for a conversation. A conversation that hopefully developers can have with one another as they have their character jump and try to nail that elusive feeling of ‘good’.

My Testing Methods

I took a stopwatch and pressed start as soon as I pressed the jump button. I then pressed stop right when the characters feet touched the ground again. I did not account for any settling that the character may do in the animation. Most games allow for the player to navigate out of this settling animation so I discounted it completely. Also since I have only 2 hands I only tested the character jumping straight up while standing still. Some games have different animations for jumping straight up or jumping toward an object and I did not test those. Since it is a very imprecise way of measuring I repeated the same jump around 8 or 10 times and what you see is my average of those attempts.

Note that a lot of games which I consider to have great jumps have controllable jumps depending on how long you hold the jump button down, such as Super Mario Bros. When testing those I tried to take an average of how long the average jump is performed. Yeah, not the most precise thing in the world but like I said I want this to be the beginning of the conversation, not the end.

My Testing Results

Time is measured in seconds.

First lets take a look at some NES games

​Super Mario Bros

​Super Mario Bros

  • Super Mario Bros 1 – 0.75 seconds
  • Super Mario Bros 2 – 0.65 (I only tested Mario)
  • Super Mario Bros 3 – 0.75 seconds

  • Castlevania 1 – 0.72 seconds

  • Castlevania 2 – 0.68 (looks like they removed the slight hesitation at the apex of the jump)
  • Castlevania 3 – 0.72 seconds

  • Contra – 1.03 seconds

  • Ghosts and Goblins – 0.7 seconds
  • Ninja Gaiden – 0.9 seconds
  • Rush N’ Attack – 0.9

Now with just a quick look at these results I think you can see a pattern emerging. Good jumps fall within the 0.7 category, anything longer and you start having a jump that no longer feels good.

Now for some Playstation 2 games

  • Devil May Cry 3 – 0.75
  • God of War – 0.69
  • GTA3 – 1.10
  • Jak & Daxter 1 – 0.72
  • Psi Ops – 1.10
  • Ratchet & Clank 2 – 0.75
  • Shadow Of The Colossus – 1.10
  • Shinobi – 0.85
  • Sly Cooper 1 – 0.8

I won’t lie, I was kinda shocked to see that going from 2d to 3d a good feeling jump remains the same as far as time in the air is concerned. Personally I think that a good feeling jump outweighs any real world animation or scenario that your game is trying to present. Who cares if it feels or looks “arcadey” – players expect and need immediate response when it comes to jumping.

My numbers aren’t the most accurate thing in the world but I think it’s safe to say that somewhere between 0.70 and 0.80 is what most people consider a good feeling jump. Anything longer than this and the player starts to really notice how out of control they are during a jump. Anything less and either the jump serves no purpose or feels even worse than being out of control.

Game Feel - Part 1

feel-the-magic.gif

Frames

Before we dive into this lets just get this out of the way – this is a very long and complicated subject to tackle. When I talk about feel – I’m trying to describe how a game plays. When you first pick up the controller and you move the character around or jump – does it feel good? Does it feel like you expect it to?

This isn’t even relegated to jumping or moving around but those are very basic functions that I think most games get wrong. One of the worst things about making videogames is that you have to re-invent the wheel with almost every new project you work on. So even though Mario jumps like a champ, when you go to make your game it’s very hard to reverse engineer Mario’s jump and port it into your game. Many games spend months on just getting their characters navigation down – going from idle to walk to run, etc. Seems like a simple thing that you should just be able to plug in some middleware entitled, ‘good navigation’ and throw your character model on top but it doesn’t work that way. I heard a story about a certain coin-op developer who did a lot of racing games in the 90’s, they had a completely separate engine for all of their racing games (which I think was around 4 different series) and none of the teams spoke to one another.

Because you have to reinvent the wheel each time out, you get people who either don’t care or simply don’t have the knowledge of what it takes to have their characters feel good when a player first picks up the controller. I completely admit this is a huge task but I think it’s one that most developers gloss over. One of my favorite Shiggy Miyamoto stories is him coming to America to play an early build of Excitebike 64. He asked the developer for an empty track with no hills, jumps, curves, etc – basically a blank road on which to drive the bike around. He picked up the controller and within minutes threw it on the desk and probably mumbled something in Japanese about how all American game developers suck. His point was that if you can't have fun in an empty room with no toys, then nothing you layer on top of it will salvage the game. I liken it to construction – if the base isn’t solid then the rest of the building will soon collapse.

So when it comes to building the foundation one of the easiest ways to measure things is the amount of frames that they take up. How many frames total is the animation or how many frames are there in the startup, hit window or in recovery. Any professional fighting game player will tell you the importance of frames, a move with 3 frames of recovery is vastly better than one with 6 frames of recovery. Things get more interesting when the move with 6 frames of recovery has 1 frame of startup.

The importance of frames isn’t relegated to only fighting games though. I think this is where most game developers let things fall apart. Either by not knowing the importance of frames or letting the animators dictate what looks better over what feels better. Animators will always opt for the animation that looks best.

With everything being said I am going to use 2 different fighting games examples to convey what I'm talking about. The first one is the same character in 2 different modes and how those modes play off of one another and the second is 2 different characters but with the same special move command and why one is easier than the other.

Capcom Vs. SNK2

It is not important to be well versed in this fighting game but either playing it once or twice or downloading a match video would not kill you. The important thing to know is that in this game when the player picks their character they are presented with another screen to select their ‘groove’. Groove dictates how the character will play – can they run, dodge, or how will they best use their special moves, etc. For the purpose of this post I want to talk about one important aspect that changes from some grooves to others: Low Jumping. Low Jumping is the ability to do a small jump as opposed to the normal jump that happens when the player presses up on the controller.

In a normal jumping groove, Ryu will leave the ground in 2 frames. In a Low Jumping groove, Ryu takes 6 frames to leave the ground. The game adds 4 extra frames to the same character to allow for controller input (Low Jumping command is Up then quickly tapping Down on the controller). Although at high level play these 4 frames don’t really make or break a game but when you first play the same character in multiple grooves it stands out and makes the character feel slower.

Here is a quick video of the Ryu in both grooves jumping up and down. Notice how they become off time from one another.

Zangief Vs. Thawk

Again with a Street Fighter reference but this time with a much older game, Super Street Fighter 2 Turbo. There are 2 characters that both have a complex controller motion known as 360 – you must spin the joystick 360 degrees then press the punch button to perform. Even though both characters have the same command many players have a much harder time performing Thawk’s. The reason again boils down to frames and in a very similar reason:

Thawk jumps faster than Zangief meaning that he leaves the ground faster. So when the player presses Up on the controller as part of the 360 command Thawk jumps faster than Zangief. Most players who have a hard time doing the same move with both characters will attest to the fact that Thawk ends up jumping a lot when they try to do the move and that is why. Let's look at the frames behind the problem:

Thawk leaves the ground in 3 frames after pressing Up Zangief leaves the ground in 5 frames after pressing Up

2 frames is all that is needed for players to have a hard time doing the special moves for their characters. Here is a quick and dirty video showing Thawk and Zangief both jumping. Although this isn’t as accurate as Ryu Vs. Ryu in the previous example (since I don’t know how many frames they stay in the air) I think you can quickly see them getting off time showing the importance of 2 frames.

For the next post I want to discuss more mainstream games - such as why Mario's jump feels better than Lara Croft's and some other gameplay mechanics that are common.

Thanks for reading.