Introductions:
Today I was able to combine audio and visual effects with some physics by creating explosive barrels.
Explosive Barrels:
As the title suggestions, today was focused on creating explosive barrels. When the player shoots the barrel it will burn for a few moments and then explode. I added a ‘fire’ audio for when the barrel is burning which converts to an explosive sound when the barrel explodes.
In addition I added screen shake for the player for an added visual effect and radial damage to the barrel when it explodes. Now when it explodes it will do damage to enemies and the player if they are too close.
Conclusion:
Audio details really add a whole new feeling to any game, even something as simple as this tutorial game.