• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 13:54
CET 19:54
KST 03:54
  • 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
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)15Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7[BSL21] Non-Korean Championship - Starts Jan 103SC2 All-Star Invitational: Jan 17-1831
StarCraft 2
General
SC2 All-Star Invitational: Jan 17-18 Stellar Fest "01" Jersey Charity Auction Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets When will we find out if there are more tournament SC2 Spotted on the EWC 2026 list?
Tourneys
OSC Season 13 World Championship SC2 AI Tournament 2026 Sparkling Tuna Cup - Weekly Open Tournament $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) $25,000 Streamerzone StarCraft Pro Series announced
Strategy
Simple Questions Simple Answers
Custom Maps
Map Editor closed ?
External Content
Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes
Brood War
General
[ASL21] Potential Map Candidates BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion A cwal.gg Extension - Easily keep track of anyone Potential ASL qualifier breakthroughs?
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] Grand Finals - Sunday 21:00 CET [BSL21] Non-Korean Championship - Starts Jan 10
Strategy
Game Theory for Starcraft Simple Questions, Simple Answers Current Meta [G] How to get started on ladder as a new Z player
Other Games
General Games
Beyond All Reason Nintendo Switch Thread Awesome Games Done Quick 2026! Mechabellum Stormgate/Frost Giant Megathread
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
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread Trading/Investing Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
My 2025 Magic: The Gathering…
DARKING
Physical Exercise (HIIT) Bef…
TrAiDoS
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1171 users

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

Blogs > 0x64
Post a Reply
0x64
Profile Blog Joined September 2002
Finland4601 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
Finland4601 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 17h 6m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
UpATreeSC 165
mouzHeroMarine 158
BRAT_OK 110
SC2Nice 62
MindelVK 23
JuggernautJason2
StarCraft: Brood War
Horang2 3329
Sea 1934
Shuttle 633
Dewaltoss 99
firebathero 88
Sexy 34
Killer 33
910 24
HiyA 18
scan(afreeca) 13
[ Show more ]
ivOry 5
NaDa 5
Dota 2
qojqva2981
League of Legends
rGuardiaN26
Counter-Strike
fl0m3686
pashabiceps1134
Heroes of the Storm
Liquid`Hasu277
Other Games
Grubby2950
Liquid`RaSZi1925
FrodaN1637
Fnx 1353
Beastyqt765
Fuzer 302
Sick177
ArmadaUGS175
Hui .122
KnowMe104
XaKoH 103
QueenE102
Mew2King72
Organizations
Other Games
gamesdonequick2459
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• 80smullet 8
• HerbMon 8
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• Noizen33
League of Legends
• Nemesis2857
• Shiphtur354
Other Games
• imaqtpie1442
Upcoming Events
OSC
17h 6m
SKillous vs ArT
ArT vs Babymarine
NightMare vs TriGGeR
YoungYakov vs TBD
All Star Teams
1d 7h
INnoVation vs soO
Serral vs herO
Cure vs Solar
sOs vs Scarlett
Classic vs Clem
Reynor vs Maru
uThermal 2v2 Circuit
1d 17h
AI Arena Tournament
2 days
All Star Teams
2 days
MMA vs DongRaeGu
Rogue vs Oliveira
Sparkling Tuna Cup
2 days
OSC
2 days
Replay Cast
3 days
Wardi Open
3 days
Monday Night Weeklies
3 days
[ Show More ]
The PondCast
5 days
Liquipedia Results

Completed

Proleague 2026-01-14
Big Gabe Cup #3
NA Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
OSC Championship Season 13
Underdog Cup #3
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025

Upcoming

Escore Tournament S1: W4
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Rongyi Cup S3
SC2 All-Star Inv. 2025
Nations Cup 2026
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
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 © 2026 TLnet. All Rights Reserved.