Saturday, March 2, 2013

Prison Theme

I've spent some more extra time to compose more music for the game. Unfortunately, our team decided to scrap the prison level, so this one is a little out of place at the moment, but I'm still proud of it.

As a prison theme, I composed it to give a feeling of dread and hopelessness at first.  I used Japanese instruments again to keep the oriental flavor.  Though, to keep the ninja feel, I gave it a section where it picks up a bit to give a sense of action (as if escaping from the prison). From there, it loops back into the beginning of theme subtly.

Here it is.  Enjoy!

Ability Design: Shuriken Storm

Shuriken Storm

For my third ability, I previously wanted to implement Shadowstitch which rooted enemies it touched in place.  However, I began to think that I was only designing mobility abilities.  While this is fine, and is a great part of the game, I realized that a ninja also needs a some purely offensive abilities.  Thus, I designed both the single shuriken attack, and a super attack where the ninja throws a whole barrage of shurikens at once. The simple shuriken acted as a fairly straightforward projectile attack, so I'll detail the Shuriken Storm ability.

I wanted to design an ability that the player could use to decimate a large group of enemies, but be costly enough that it wouldn't be prudent to do so otherwise.  Thus, I made it so the ability created around 10 shurikens that spread out in an arc in front of the player.  This creates a wide spread that will destroy most enemies in front of the player (given that they are weak enough to fall to a single shuriken).

The process of actually implementing this wasn't too difficult.  After creating the single shuriken ability, all I had to do was have the ability create multiple instance of this ability with different trajectories.  Simple and efficient!  I amped up the energy cost, so that the player could only use this twice will full energy.  I tested it, and it works fine for the most part.  Some of the trajectories are a little wonky, but I suspect our physics engine is causing that.  It'll need a little more tweaking, but I'm still quite happy with this ability.

Ablity Design: Vanish

Vanish

I had a great deal of fun designing this ability.  The premise was to create an ability that would help the player get out of sticky situations in style. Thus, the ability to vanish away in a poof of smoke seemed rather ninja- esque.  However, I wanted to add a little extra flare to the ability, so I thought to also design an offensive aspect to it.  Thus, I made it so the player also drops a bomb where he previously was.  This created the feeling of escaping a perilous situation while simultaneously attacking a group of enemies.

Fortunately, I was able to make this ability much the way I previously designed it.  I made it so the player, once the ability is activated, will vanish up into the air instantly.  From there, the player can move slightly to alter his/her landing point.  However, I thought of the situation where the player has a ceiling directly above him.  Thus, I made it so, if such a situation occurs, the player would actually latch onto the ceiling where he could hang until the situation is less dangerous.  This turned out to feel totally bad-ass, and I'm quite pleased with how it turned out.

The next part was the bomb left behind in the smoke.  At first, I wanted it to trigger if an enemy attacked it (that way it would be more of a counter-attack for a skilled ninja), but I realized that might be a bit too complicated to implement well.  Thus, I decided to give the bomb a proximity where it would explode.  This helps it retain the counter-attack theme, but makes it a lot easier for it to be effective against enemies.

All in all, I'm quite satisfied with this ability.  It feels like a tool a ninja would have, and it executes near flawlessly.

Tuesday, January 29, 2013

Ability Design: EarthTrap Shuriken

Over the break, I was successfully able to design most of the abilities I set out to do.  However, I did decide to scrap Shadowstitch for now as our direction in combat my not be suited for this particular ability. Additionally, I altered some of the mechanics for some abilities as well, and even designed a new one to take  the place of Shadowstitch.  For this blog post, I'll elaborate on the EarthTrap Shuriken Ability


EarthTrap Shuriken

This one works pretty much exactly as I designed it (which is great because I designed it to be awesome).   The player performs a backflip, and throws shuriken into the ground in mid-air.  The shuriken then slows down all enemies nearby for a set amount of time (currently 10 seconds). Designing this was both fun and challenging.  

First, I had to analyze our physics system to find out how to make the player move backwards  and upwards.  Fortunately, I was able to successfully apply the impulse.  

Second, I had to design the shuriken to be thrown in mid-flight. This involved creating a timer that kept track  of the interval when shuriken needed to be thrown, applying an impulse to make it move diagonally downward, and creating hit detection for the cases if it hit the ground or an enemy.

Finally, I had to create a component that slowed down all nearby enemies. It had to activate after it collided  with the ground or an enemy.  After that, I had to create a new component that allowed characters to be slowed (which I called the AlterSpeed component).  I made AlterSpeed to be dynamic; it could take in a  percentage of speed (which could be faster or slower than the current speed), and allowed a set time to be  inputted before a character's speed returned to normal.  For the EarthTrap Shuriken, it calls each affected  enemy's AlterSpeed component and sets it to 50% speed for 1 second.  The reason for 1 second is that the  shuriken pulses every second for 10 seconds.  This allows new enemies that enter the field to be slowed, and  enemies that exit the field to return to normal speed.

I am quite happy with this ability at the moment, and am looking forward to seeing it action in a proper level.  On another note, I would like to shoot a small demo video of each ability, but I'm limited at the moment due to our level not being stable.  Additionally, I can only make videos with the windows version which doesn't  have the avatars.  However, I'd still like to show it once we have the proper assets in place. 

Thursday, December 6, 2012

Ability Design: Post Alpha

Well our team has finally hit our Alpha stage, and I'm pleased with how it has turned out.  We have a functional game that has an interesting control scheme.  We have most of our mechanics worked out, and are ready to use them to create awesome content.

Now that the semester break is coming upon us, I want to design more abilities for the player to utilize as a ninja.  My goal is to, at least, design three abilities.  I've already thought of some cool abilities that would suit the game (and, of course, make the player feel like a bad-ass), so I've decided to share some of my ideas.


1.  EarthTrap Shuriken

Being a ninja, it seems natural that we would use one of their most iconic weapons, the shuriken.  However, with the supernatural/ancestor aspect we are implementing, it needs a little more spice than just a simple projectile.  Thus, I am thinking of making this a type of avoidance/crowd control move.  The move would initiate by having the player back-flip away from his enemies.  Then, in mid jump, the player would launch a magical shuriken into the ground (or into an unlucky enemy).  The shuriken would then emanate an aura that would slow down enemies within a radius (as if trying to move under shifting earth).  From there, the player could either dispose of the enemies in their crippled state, or simply move past them as they struggle to give chase.


2. Shadowstitch

This would be an upfront, almost melee, ability that would activate in front of the player.  It would strike in arc downwards towards the ground which would then become black.  Enemies caught within this arc would be temporarily paralyzed as if bound by unseen wires.  The player then could proceed to defeat the paralyzed foes, or simply leave them in their immobile state.  This is a powerful ability, so its arc wouldn't be too big; it would cost a lot of energy to use as well.  However, it would be a valuable tool when the player is in a bind.


3.  Explosive Illusion

This ability would act as a counter to an enemy attack.  When activated, it would allow the player to vanish in a puff of smoke leaving behind a small explosive.  The explosive, when struck, would unleash a small blast that would damage any enemy nearby (though it wouldn't deal too much damage).  As for the player, he would re-appear, in mid-air, above the spot he vanished from; from this point, he could activate any other ability that can be used in air as he sees fit.  The point is to use it before the enemy is about to strike the player, so the enemy, instead, strikes the explosive.  It feels like a tool a proper ninja would have at his disposal, and it would add an element of timing to the game-play.


These are the three abilities I want to design over the break.  I'm quite excited about getting into the more creative aspects of game design, and will be trying my best to design fun, creative, and bad-ass abilities.