From d5566fe1eb4fc42340abe4d759efc42b932f2cbb Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Sat, 18 Apr 2020 19:58:53 -0400 Subject: [PATCH] I forgot what I changes --- _drafts/2020-04-20-LudumDare46.md | 16 ++++++++++++---- ...mdare46-heartrate.png => ld46-heartrate.png} | Bin assets/images/ld46-hud-v1.png | Bin 0 -> 624 bytes ...screen-ld64.png => ld46-settings-screen.png} | Bin 4 files changed, 12 insertions(+), 4 deletions(-) rename assets/images/{ludumdare46-heartrate.png => ld46-heartrate.png} (100%) create mode 100644 assets/images/ld46-hud-v1.png rename assets/images/{settings-screen-ld64.png => ld46-settings-screen.png} (100%) diff --git a/_drafts/2020-04-20-LudumDare46.md b/_drafts/2020-04-20-LudumDare46.md index f358984..f42313d 100644 --- a/_drafts/2020-04-20-LudumDare46.md +++ b/_drafts/2020-04-20-LudumDare46.md @@ -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: -![Heartrate monitor](/assets/images/ludumdare46-heartrate.png) +![Heartrate monitor](/assets/images/ld46-heartrate.png) *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): -![Settings menu](/assets/images/settings-screen-ld64.png) +![Settings menu](/assets/images/ld46-settings-screen.png) + +*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 HUD](/assets/images/ld46-hud-v1.png) + +*V1 of the game HUD* diff --git a/assets/images/ludumdare46-heartrate.png b/assets/images/ld46-heartrate.png similarity index 100% rename from assets/images/ludumdare46-heartrate.png rename to assets/images/ld46-heartrate.png diff --git a/assets/images/ld46-hud-v1.png b/assets/images/ld46-hud-v1.png new file mode 100644 index 0000000000000000000000000000000000000000..7fcfa46f89ef78755fcb11032e0cd0250a0becf4 GIT binary patch literal 624 zcmeAS@N?(olHy`uVBq!ia0y~yU|bAjM{_U%$w0^2WFW;{?Bp53!NGC+q5lIQSF*%4 zq9iy!t)x7$D3u{SFF!X`w>Y^dH8rm|BfsQ5^L{%91}0`t7srr_IdAX2^^y*hXuW8A zaoV-I7qa5-7jBPSk-K#Z>tlY-8-3SWjy&10S!|O0;|2N;pCmq*Fp~vn0SZW{zPym# zBIvX;zd^dD!5UwC{m)1D+&HViz#MF~VE!e>zf<^LEH81eU&{PTQ}%-Y%Z55H_AmIQ z?!R2f&QNjg+V=2rUqWg@Hq^WqmAG57^KE?LR;6pJ#9XmdKI;Vst E0Ao5AQ~&?~ literal 0 HcmV?d00001 diff --git a/assets/images/settings-screen-ld64.png b/assets/images/ld46-settings-screen.png similarity index 100% rename from assets/images/settings-screen-ld64.png rename to assets/images/ld46-settings-screen.png