Sunday 22 May 2011

she's alive! oh wait no...

I have encountered a bug today where Shay seemed to be able to use her attack animation after she'd died!
I have now found a work around to remove this zombie activity!

The confusing jargon bit:
I'd originally set up a direct "when Ctrl is pressed have Shay play her attack animation"
however once she was dead the player could still press Ctrl and she'd still play the animation!
The work around:
I've now modified it so at the start of the game i have a value set to 0.
when Ctrl is pressed it now adds 2 to this value (instead of animating shay).
i set up an "if" for "if this value = 2" (which it will be after pressing Ctrl)
play the attack animation and subtract 2 from the value (resetting it to 0)

so in short it works like a toggle, Ctrl is pressed making the value 2, making the animation play and then resetting the value to 0.

i also set up another "if" for "if Shay's lives = 0 (meaning she is dead) set the value to 10.
so then pressing Ctrl once she is dead will set value to 12 making nothing happen.

a complicated but effective work around!

i've also added a "game over screen" with the words "you are dead!" as a nudge towards this old classic gameover!
the game over screen will activate 4 seconds after shay dies, and last for 4 seconds before restarting the level.

Wednesday 18 May 2011

Scrapbot Carnage!

The Scrapbots have now joined the ingame foes, and mighty foes they are!
They patrol set areas and will simply stomp and hack their way through any intruders in their path!
Balancing the damage/health ratio of these mechanical monstrosities took a bit of tweaking,
but currently they have 500% more health than their bombot allies, but deal 30% of the damage.

for your viewing pleasure here is another clip of Shay falling to the might of the Scrapbot!

Bombots galore!

The fiendish little bombots are now animated and working in game!
they will remain idle until Shay approaches.
then they will light their fuse and speed towards her!
there are multiple ways to deal with these little critters:
1. you could attack them with your Leafblade,
bombots have very little health and will die from a single hit.

2. you can turn the other way and flee!
The fuse of a bombots TNT is 3 seconds long, then they will explode!

3. you can play suicidal too!
running into a bombot (or failing to kill one before it reaches you) will cause it to explode,
destroying it, but also causing huge damage to you (equal to 50% of your maximum health)

Holy Moley!

to add some variety to the level i've added a molehill to the center of the map.
complete with lovely moles!

but be warned! they're very playful!
get too close and they might decide they want to play with you!

Shay's on the move!

Shay is now animated!
here is a quick demo for your viewing pleasure!

This shows:
her Idle animation (which i used for the base animation from which all other animations will link)
her Run Cycle, which also includes a start off animation before it loops
her Attack animation, which includes a working Hitbox (which means her weapon will register as hostile to enemies)

Monday 7 February 2011

"Boom goes the Dynamite!"

The 2nd enemy puppet is now ready for rigging, The Skullbot, these little skulls on wheels pack a stick of dynamite, make a wish and blow out the candle! >:-3


In Delamere Forest, Scrap metal recycles YOU!

The Puppets for one of the enemies The Scrapbot is now complete! he will attack with his deadly claws! dont get to close or he'll try to catch you!