About Bud the Spud

"Bud the Spud" is a potato and unlike other potatos Bud is perfectly happy to remain a potato, he has no intention of becomming "Mashed Potato, French Fries, potato Chips" or anything else that takes away from his being just a plain ordinary potato.

one day Bud discovers that the "Rotten Potato" is selling off his fellow potato people to the fast food conglomorates in a mass genocide of his own people. Now this is enough to piss off any self respecting potato. And so begins Bud's adventure to find and stop the "Rotten Potato" from this dastardy most dispicable act of genocide. Bud will have no easy task as he will have many obstacles along the way, deadly toxic mud bogs to cross, attacking Worms, Potato Beetles, rogue toy Robots, food processing machines, Hibachi BB Q's and so much more.

Thus begins the concept for my indie game development project "Bud the Spud"
Showing posts with label shadow fix. Show all posts
Showing posts with label shadow fix. Show all posts

Monday, March 19, 2012

Character Blob Shadow issue fixed

Although a minor nuisance I found that whenever Bud the Spud performed his "Flip Jump" the shadow spun around with him which is not accurate. I found a way around this with the option of unparenting the Blob Shadow Projector from my character and giving it it's own empty object or container if you like, placed on the ground with the projector above the character. I added a very simple script onto that object containing the projector that tells it to follow the character along like so:
transform.position = objectToFollow.position + offset;

Works like a dream!! Now there is no more of the silliness of the shadow flipping with the player.

I've also been playing around a bit with trying to add a nice background music loop for level one's underground, I've got something with a bit of a tribal beat to it, not sure if I'm totally sold on it yet. just experimenting. I also added some worms to the upper floating stone platforms for Bud the Spud to deal with. I have not added any of these changes to the online web player version of the games testing page yet. I want to do a lot more tweaks yet.