Premium Only Content
No Game Engine Game Dev: Word Sleuth 080: Finishing the MusicPlayer
Streamed on 2024-11-07 (https://www.twitch.tv/thediscouragerofhesitancy)
Game Engines are for sissies!
Picking up where we left off yesterday, I was right back to working on the MusicPlayer. The shuffle function got a couple of minor adjustments. Then I added a MusicPlayer to the base Scene class. I made a MusicLibrary to hold all the Playlists in a single place. Each Scene can now load its own playlist to distinguish it from other Scenes. Each Scene can also now check for holidays and pick appropriate music if they want, or check other criteria such as game mode. The last piece of the puzzle was to fade the song out while the scene is exiting so the song doesn't cut off abruptly. With that done, the MusicPlayer is ready for general use when we get the final music.
With the little time left I added a "size" check for Images in the ImageWarehouse. For now, the image size is derivable from the width and height in pixels. However, in the future we will be compressing the image data and the size of the data will not be the same as the derived size given the image dimensions. Then I started working on a new game logo, but didn't end with one I was happy with by the time I had to go. We'll pick up there next week.
-
LIVE
B2ZGaming
6 hours agoPumped To Play!!! | B2Z Gaming
77 watching -
3:01:28
PandaSub2000
19 hours agoDEATH BET w/MrMatthews + GAME BOY! (Edited Replay)
22.5K2 -
LIVE
Ashaelon
8 hours ago $0.04 earnedWelcome to the Harvest Zone
88 watching -
18:07
Nikko Ortiz
1 day agoYou Laugh You Go To Hell...
96K21 -
23:24
GritsGG
16 hours agoSpectating Solos! Most Winning Player Watches Random Solo Players!
14.7K1 -
32:09
ThisIsDeLaCruz
2 days ago $9.85 earnedFalling In Reverse: Christian Thompson’s Stage Tech Revealed
65.8K13 -
18:03
Nikko Ortiz
2 days agoEBT Meltdowns Are Insane...
67K150 -
2:02:46
Badlands Media
1 day agoDevolution Power Hour Ep. 405: Live from Cocoa Beach
211K78 -
1:33:56
Man in America
14 hours agoElon Says the Quiet Part Out Loud: AI Will RULE Humans, No More Money, BILLIONS of Robots
69.5K74 -
51:25
The Connect: With Johnny Mitchell
15 hours ago $35.51 earnedInside The REAL Narco State: The Colombian Drug Cartels DOMINATING The Global Cocaine Trade
44.2K22