Skip to content

Commit

Permalink
Added finishing touches
Browse files Browse the repository at this point in the history
  • Loading branch information
DragosPopse committed Jan 27, 2020
1 parent ddebbf2 commit 72d0baa
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Binary file added assets/audio/sfx/Jellybean.wav
Binary file not shown.
1 change: 1 addition & 0 deletions assets/scripts/levels/Level2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ level.usedSounds = {
{'Switch', 'assets/audio/sfx/Switch.wav'},
{'GiftPickup', 'assets/audio/sfx/GiftPickup.wav'},
{'HealthPickup', 'assets/audio/sfx/HealthPickup.wav'},
{'Jellybean', 'assets/audio/sfx/Jellybean.wav'}
}

level.usedPickups = {
Expand Down
6 changes: 3 additions & 3 deletions assets/scripts/projectiles/Jellybean.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ local Jellybean = {
iconRect = {147, 0, 56, 56},

muzzleSound = {
sound = 'Bullet',
minPitch = 0.5,
maxPitch = 1.22,
sound = 'Jellybean',
minPitch = 0.7,
maxPitch = 1.1,
minVolumeFactor = 0.92,
maxVolumeFactor = 1,
},
Expand Down
2 changes: 1 addition & 1 deletion src/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ int main()
Engine engine;
engine.Run();
}
catch (std::exception& e)
catch (std::exception& e) //catch any unhandled exception and display the message
{
std::cout << e.what();
}
Expand Down

0 comments on commit 72d0baa

Please sign in to comment.