Today i completed my final barrel for Programming class. It is a retro-inspired fuel pump and they go off with a bang when hit! I worked on tweaking the behaviors of the object, as it is a big heavy flammable container and should act like one. It has its own sound cues for the explosion and "burning" sequences, as well as timers to randomize the explosion of the barrels. Here is the coding to make it work:
Here is the video of the barrel in action! It was a bang of a time!
No comments:
Post a Comment