• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 22:16
CEST 04:16
KST 11:16
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL54Weekly Cups (June 23-29): Reynor in world title form?12FEL Cracov 2025 (July 27) - $8000 live event16Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
The SCII GOAT: A statistical Evaluation The GOAT ranking of GOAT rankings Statistics for vetoed/disliked maps How does the number of casters affect your enjoyment of esports? Esports World Cup 2025 - Final Player Roster
Tourneys
Korean Starcraft League Week 77 Master Swan Open (Global Bronze-Master 2) RSL: Revival, a new crowdfunded tournament series [GSL 2025] Code S: Season 2 - Semi Finals & Finals $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Player “Jedi” cheat on CSL Flash Announces Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/ Unit and Spell Similarities Help: rep cant save
Tourneys
[Megathread] Daily Proleagues [BSL20] Grand Finals - Sunday 20:00 CET Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Trading/Investing Thread Russo-Ukrainian War Thread The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 641 users

Making a game (Part 4, Sounds and Sound engine)

Blogs > 0x64
Post a Reply
0x64
Profile Blog Joined September 2002
Finland4545 Posts
June 01 2012 13:08 GMT
#1
Part 1
Part 2
Part 3

Hey guys.
I'm sorry I don't have access to the music file from here where I'm writing the blog post.
So I'll just give you a video our graphist made when he made the skeleton concept art.

http://skaiway.tumblr.com/post/22258556989/i-dug-my-own-grave-now-its-time-for-yours

Next blog post I will post a little bit about the level editor and the cool feature our game support in the level format.
Anyway onward with the topic of today!
Today I want to go quickly through the design of our sound system.
Last week, we had a sunday meeting with the team and finally had a look at the sounds.

We made a list of the core sounds we would use in our game and it looked something like this:
Skeleton walk %
Skeleton notices player %
Light Eater notices light %
Light Eater consumes light %
Chain dragging
IronBall dragging %
Item pickup %
Item release
Step sound %
Door sound %
Lights up
UI Button Sound
Game Over Sound
Level Completed Sound
Credits music
Additional variation of main music for different worlds

% = are sounds that are now mostly done.

Our sounds are now divided in three categories:
-Single shot sound. When a condition is meet play th sound once. (like a Button is pressed or the lighteater notice a light)
-Loop the sound (Dragging on the floor a chain or an ironball)
-Play a sound repeatedly with an interval. (Footsteps).


The footsteps were the tricky ones, we have few options. Play a sound, wait a certains time depending on the character speed before playing the second one. Or have a part of silence in the sound file and loop it, change the looped sound if the speed change (having like 2-3 sounds for different speed).
We decided to go for a simpler solution, play the sound when the distance from the last sound reach a threshold. The only downside with this is that if the player moves without going far enough, no sounds are played.

Now remains the questions of which sounds should be played. We can play sounds with volume but in practice, some phones don't support that feature yet perfectly and you end up with sound glitches.
3D sound is another way, on the phone's mono speaker, this means that the sound will be played quieter as it is further from the listener's position. (Should the listener be the player's avatar or the camera position?)
3D sounds didn't seems to pose performance issues but saddly it isn't adjusting dynamically when the object moves, it only adjust to the positions when the sound starts. So it isn't useful for looping sounds.
This is all a bit open still and probably we are going to and up with a mix of tradeoff.
3D sound is cool as is working straight away with xbox and windows builds.

The music is played through the multimedia API, this makes it easy to just play a mp3. Our musician is gifted and made a cool ambient demotrack, with guitars... Reminding little bit of diablo but not too much. Really perfectly fitting what we already had at that point. I hope he has time to make more variations we can use in different level sets.
The API is limited and you can only just play the song, you can't do smooth transition or even seamless looping, so the songs have fade in/fade outs and that will do just fine.

Thanks for following this serie
Little disclaimer: This blog is Teamliquid exclusive and I just want to share the fun we had in this project. It will be cooler to follow with you guys if we succeed or suffer epic failure !


*****
Dump of assembler code from 0xffffffec to 0x64: End of assembler dump.
-Kaiser-
Profile Blog Joined November 2011
Canada932 Posts
June 01 2012 17:45 GMT
#2
You could always program it so that the step timer resets when the player stops moving. It's probably not important enough to be a priority though.
3 Hatch Before Cool
0x64
Profile Blog Joined September 2002
Finland4545 Posts
June 02 2012 11:17 GMT
#3
I think the final version will be linked straigh with the animation of the 3d model, but current version is good enough to not bother.
Dump of assembler code from 0xffffffec to 0x64: End of assembler dump.
Please log in or register to reply.
Live Events Refresh
Next event in 44m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 280
RuFF_SC2 135
Livibee 100
StarCraft: Brood War
Sea 5339
NaDa 67
Icarus 4
Dota 2
monkeys_forever261
capcasts179
NeuroSwarm115
febbydoto24
LuMiX1
League of Legends
JimRising 767
Counter-Strike
Stewie2K413
Other Games
summit1g10213
tarik_tv6274
Organizations
Other Games
BasetradeTV63
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH263
• Hupsaiya 98
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Doublelift5387
• masondota2975
Upcoming Events
Korean StarCraft League
44m
CranKy Ducklings
7h 44m
RSL Revival
7h 44m
ByuN vs Cham
herO vs Reynor
FEL
13h 44m
RSL Revival
1d 7h
Clem vs Classic
SHIN vs Cure
FEL
1d 9h
BSL: ProLeague
1d 15h
Dewalt vs Bonyth
Replay Cast
2 days
Sparkling Tuna Cup
3 days
The PondCast
4 days
[ Show More ]
Replay Cast
4 days
RSL Revival
5 days
Replay Cast
5 days
RSL Revival
6 days
Liquipedia Results

Completed

BSL 2v2 Season 3
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.