Game
The King's Day

7 years ago

Sound Manager Working!


Well friends! Another successful day of coding. Normally when I needed sound in my games, I would just call the sound I wanted at the time I needed. I never had a need for a manager class but once I implemented it in this game I realize the value of having a sound manager. Although this game is very simple and probably doesnโ€™t need it, I wanted to have one for my library so I can use it in future projects.

The concept is simple. You have a bunch of sounds and music that your game uses. The sound manager allows you to easily play and stop any one of those sounds at any given time; even if another sound hasnโ€™t finished playing yet.

One useful feature is the ability to change the music between scenes on command. Where there is a scene change, I simply call a function that stops all sounds and then plays the music written for that scene. The manager also give me the ability to adjust the volume between sound FX and music. I never knew used different volume controls before so that was really nice to add.

Remelic



0 comments

Loading...

Next up

Working on a new project called Adventure Ops where you explore a world to discover secrets and solve a mystery. Game is coming along nicely.

RELEASED - Will You Help the King?

So far the game only has one vehicle but more being planned. It's working; just has a few bugs to work out with collisions. The script I wrote can be applied to any vehicle in the game since the physics do not need to be too realistic.

Entity Script System for Storytelling

The King's Day!

Deleting Game Files

Just as Pecaminosa's musicians #improvise this rendition of #LittleSunflower ๐ŸŒป, so do we improvise with this post you're reading. ๐Ÿ˜‚

What's coming out of your own improvs? ๐Ÿค”

#Pecaminosa | #IndieDev | #OST | #Jazz

So

i may or may not make an full art of some person or i may just leave this like that-

Smile! Here, take some happy pills! โœจ๐Ÿ’Š #Blender #3DModelling #3DArt Buy me a Ko-fi: https://ko-fi.com/barbarafb_

"Thanks guys for endless hours of fun." ๐Ÿ‘

(My first fan art. Read the article, please.)

#sonic #mario #photoshop