-
Notifications
You must be signed in to change notification settings - Fork 9
Sound Effects
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.
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
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.
.
.
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
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.
.
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.
Upgrade Tree is a Button on Planet
screen plays the sound when player press mouse click
on it. This button when click will open the weapon upgrade window to upgrade weapons. This is how sound is been triggered for Upgrade Tree button selection in the given code Snippet.
.
upgradeTree
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.
UpgradeTree close button is inside of UpgradeTree Button on Planet
screen which plays the sound when player press mouse click
on it. This button when click will close the weapon upgradeTree window. This is how sound is been triggered for Upgrade Tree button selection in the given code Snippet.
.
The above method in the given code snippet has been implemented in UpgradeTree
class which triggers the sound when called in UpgradeDisplay
class. below code snippet defines the methods call.
.
Weapon's functionality is to attack the surrounded enemies in the game. The sound effect enhance the functionality of each weapon, and makes the player's experience more interactive. There are different levels of sound effects placed for individual weapons.
.
The above code snippet describes the placement and working of sound effects. start
in the code snippets define the sound placed for the melee weapons
, it will only play once in every attack. and mid
in the code snippet define the sound placed for the Ranged Weapons
, it will play in a loop of every attack.
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.
.
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.
Sound effect has been implemented for placing structure. This is how sound is been triggered for structure placement in the given code Snippet.
.
structurePlace
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.
Player Sound effects such as Walking, Dodging and Weapon Upgrade has been tested in accordance with Player Sound Effects Testing Plan
Escape Earth Game
Interaction Controller and Interactable Components
Game and Entity Configuration Files
Loading Game Configuration Files