Skip to content

Sound Effects

aman-86 edited this page Oct 2, 2023 · 14 revisions

Introduction

This page will provide you the information related to the sounds effects which has been implemented in the Game. Sounds effects such as for Player, Enemy, and many other entities.

Player Sound

The player has been implemented with some effects such as walk, dodge, low-health and weapon upgrade sound effects. These sound effects handle by Sound Config and Sound Component and the trigger by the EventHandler

Player Walk Sound

Walking sound of the player is trigger when player starts walking and is implemented in KeyboardPlayerInputComponent. This is how sound is been triggered for Player's walk in the given code Snippet.

Screenshot 2023-10-01 at 6 18 51 PM.

Screenshot 2023-10-01 at 6 19 03 PM.

footstep in given above code snippet is way of mentioning the audio file which is been implemented in .json file and playSound is a way of calling Sound Component which handles the audio files

Here is the video clip for Player's walking Sound effects

Player Dodge Sound

Dodging sound of the player is trigger when player press SPACEBAR to Dodge and is implemented in KeyboardPlayerInputComponent. This is how sound is been triggered for Player's Dodge in the given code Snippet.

Screenshot 2023-10-01 at 6 26 25 PM.

dodge in given above code snippet is way of mentioning the audio file which is been implemented in .json file and playSound is a way of calling Sound Component which handles the audio files.

Here is the video clip for Player's Dodge Sound Effects

Player Weapon Upgrade

Weapon Upgrade sound of the player is trigger when player press mouse click to near by button of each weapon picture in Upgrade tree and is implemented in Upgrade Tree. This is how sound is been triggered for Player's weapon upgrade selection in the given code Snippet.

Screenshot 2023-10-01 at 6 37 37 PM.

upgradeWeapon in given above code snippet is way of mentioning the audio file which is been implemented in .json file and playSound is a way of calling Sound Component which handles the audio files.

Here is the video clip for Player's Weapon Upgrade Sound Effects

Testing Plan

Player Sound effects such as Walking, Dodging and Weapon Upgrade has been tested in accordance with Player Sound Effects Testing Plan

Clone this wiki locally