Skip to content

add sound effects#28

Merged
nathanleiby merged 2 commits intomasterfrom
add-sounds
May 8, 2020
Merged

add sound effects#28
nathanleiby merged 2 commits intomasterfrom
add-sounds

Conversation

@nathanleiby
Copy link
Contributor

sounds for:

  • jump (randomly plays one of three sounds)
  • take damage
  • die
  • player spawn

Sounds were generated using BFXR
https://www.bfxr.net/

sounds for:

- jump (randomly plays one of three sounds)
- take damage
- die
- player spawn

Sounds were generated using BFXR
https://www.bfxr.net/
@nathanleiby nathanleiby requested review from emmanent and peternga May 7, 2020 23:58
Copy link

@peternga peternga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good! We can think about the SoundManager as an addition/upgrade

private BoxCollider2D boxCollider;
private bool grounded;
private int hitpoints;
private bool isDead;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this just a proxy for hitpoints == 0?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replaced with a function ab3ee36

@nathanleiby nathanleiby merged commit ae53c80 into master May 8, 2020
@nathanleiby nathanleiby deleted the add-sounds branch May 8, 2020 01:46
@nathanleiby nathanleiby mentioned this pull request Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants