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"

Thursday, May 10, 2012

Sand Box Robot Set Up and Testing

I was hoping to have something a little more constructive accomplished between yesterday and today, but I was having some issues trying to code my robot to work properly. You can see here in my testing area, which is a simple scene in which I test stuff out before making it into a prefab to place into game scenes later on. You may recall me mentioning that I should have been able to modify the machine gun sentry script to work for my robot. Well yes and no. Seems I can get it to partially work the way I want. I have his animations all set up as:


  • Aware
  • Shoot
  • Deactivate
Aware: is supposed to play a short animation where the robots moves and shifts a little buried in the sand and his chest doors pop open to reveal his guns as bud the Spud gets within a certain range.

Shoot: is supposed to then play the animation in which the robot torso spins 360 degrees 1 turn but is a looped animation.

Deactivate: Is supposed to play an animation where the chest doors close as the robot guns retract back inside of his chest area.

Sounds simple enough right? Until you get to start trying to code it that is, still working on it.
The other issue that might kill this great idea with the robot, is that he might be too high poly for this type of attack scenario. In making him in Max 8 I was trying very hard to keep him as low to medium poly as I could without sacrificing too much detail in the robot. But when he animates in Unity 3d's editor the whole scene slows to a crawl, so I might in the long run just have him as a nice sand box decoration :( (sadness) because I was really liking the idea of placing him right by the bridge crossing the sand castle mote. I suppose I can rework him in Max 8 and try and bring his poly count down a lot more. That is indeed if that is the issue as it could be the machine gun script rotating him as well as his rotation animation playing at the same time.

I tried making my own script similar to the "Jack in a Box" script but got really weird results like the animations would play making the robot move way below his desired location, so I've no idea what was going on there as it works for the "Jack in a Box." ??

No comments:

Post a Comment