Saturday, February 23, 2013

[Script] Fus Ro Dah power

This was another user request, its simple, detect pedestrians, objects and cars in front of player then push then away from player.

Download: here





When the user press the hotkey i play the intial sound ("Fus") and while the hotkey is down the amount of push force its increased.
When release the hotkey the player do an animation moving his head backward, when animation finish i detect the game objects and push them away and play the last sound ("Ro Dah")

To create some visual effect i draw one rectangle in entire screen and reduce its Alpha value until zero very fast, causing the impression of an flash, also i use one particle effect, an smoke, the idea its make it similar to wind effect
//propaganda YT float style='display:none;'