I forgot what I changes
This commit is contained in:
parent
2e0df459a5
commit
d5566fe1eb
@ -39,7 +39,7 @@ After task allocation, I took on the job of handling sounds and sound loading fo
|
||||
|
||||
Day 1 started with @exvacuum developing a heartrate monitor system for the game:
|
||||
|
||||

|
||||

|
||||
|
||||
*Demo image showing off his algorithm*
|
||||
|
||||
@ -49,9 +49,9 @@ I also started out by writing a sound system that uses audio channels to separat
|
||||
- When queueing audio, the 2 most recent requests are always ignored
|
||||
- Some browsers do not allow me to play multiple audio streams at the same time
|
||||
|
||||
Due to these issues, I decided to rewrite the audio backend to use [Howler.js](https://howlerjs.com/). I streamed this rewrite [on Twitch](). The Howler rewrite was very painless, and made a much nicer interface for playing audio assets.
|
||||
Due to these issues, I decided to rewrite the audio backend to use [Howler.js](https://howlerjs.com/). I streamed this rewrite [on Twitch](https://www.twitch.tv/videos/595864066). The Howler rewrite was very painless, and made a much nicer interface for playing audio assets.
|
||||
|
||||
```js
|
||||
```javascript
|
||||
// The old way
|
||||
globalSoundContext.playSound(globalSoundContext.channels.bgm, soundAssets.debug_ding);
|
||||
|
||||
@ -61,7 +61,15 @@ soundAssets.debug_ding.play();
|
||||
|
||||
This rewrite also added integration with the volume control sliders in the game settings menu (don't mind the spelling mistake):
|
||||
|
||||

|
||||

|
||||
|
||||
*Audio Settings screen*
|
||||
|
||||
Later on in the day, a basic HUD was designed to incorporate the game elements. A bug was also discovered that causes Firefox-based clients to not render the background fill. We decided to replace the background fill with an image later.
|
||||
|
||||

|
||||
|
||||
*V1 of the game HUD*
|
||||
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
BIN
assets/images/ld46-hud-v1.png
Normal file
BIN
assets/images/ld46-hud-v1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 624 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Loading…
x
Reference in New Issue
Block a user