• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:36
CEST 18:36
KST 01:36
  • 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
Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun9[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10Team Liquid Map Contest #22 - The Finalists21[ASL21] Ro16 Preview Pt1: Fresh Flow9
Community News
2026 GSL Season 1 Qualifiers25Maestros of the Game 2 announced92026 GSL Tour plans announced15Weekly Cups (April 6-12): herO doubles, "Villains" prevail1MaNa leaves Team Liquid25
StarCraft 2
General
Team Liquid Map Contest #22 - The Finalists Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool MaNa leaves Team Liquid Maestros of the Game 2 announced
Tourneys
SC2 INu's Battles#15 <BO.9 2Matches> GSL Code S Season 1 (2026) WardiTV Spring Cup RSL Revival: Season 5 - Qualifiers and Main Event SEL Masters #6 - Solar vs Classic (SC: Evo)
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base Mutation # 521 Memorable Boss
Brood War
General
ASL21 General Discussion [TOOL] Starcraft Chat Translator JaeDong's ASL S21 Ro16 Post-Review Missed out on ASL tickets - what are my options? BGH Auto Balance -> http://bghmmr.eu/
Tourneys
Small VOD Thread 2.0 [ASL21] Ro8 Day 2 [Megathread] Daily Proleagues Korean KCM Race Survival 2026 Season 2
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers What's the deal with APM & what's its true value Any training maps people recommend?
Other Games
General Games
Stormgate/Frost Giant Megathread Daigo vs Menard Best of 10 Nintendo Switch Thread Dawn of War IV Diablo IV
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
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 TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread European Politico-economics QA Mega-thread Russo-Ukrainian War Thread 3D technology/software discussion Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion McBoner: A hockey love story
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Sexual Health Of Gamers
TrAiDoS
lurker extra damage testi…
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2541 users

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

Blogs > 0x64
Post a Reply
0x64
Profile Blog Joined September 2002
Finland4613 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
Finland4613 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 16h 24m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
LamboSC2 228
TKL 155
UpATreeSC 66
BRAT_OK 7
MindelVK 1
StarCraft: Brood War
GuemChi 5747
Sea 2541
HiyA 482
Larva 403
actioN 239
Hyuk 217
Backho 123
Rush 113
Zeus 112
firebathero 108
[ Show more ]
Sexy 90
ToSsGirL 72
Sea.KH 48
Pusan 48
Sharp 44
Bale 42
yabsab 30
Sacsri 27
Rock 25
Shine 24
soO 23
Movie 22
IntoTheRainbow 12
GoRush 9
Counter-Strike
fl0m4279
byalli333
adren_tv63
Other Games
FrodaN867
B2W.Neo771
hiko709
crisheroes193
KnowMe91
QueenE72
Fuzer 47
Trikslyr45
NightEnD40
Organizations
Other Games
BasetradeTV313
Dota 2
PGL Dota 2 - Main Stream86
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 18 non-featured ]
StarCraft 2
• musti20045 179
• StrangeGG 88
• IndyKCrew
• AfreecaTV YouTube
• intothetv
• Kozan
• sooper7s
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• HerbMon 27
• blackmanpl 20
• Michael_bg 2
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Nemesis1765
• TFBlade1143
Counter-Strike
• Shiphtur176
Upcoming Events
Replay Cast
16h 24m
Escore
17h 24m
INu's Battles
18h 24m
Classic vs ByuN
SHIN vs ByuN
OSC
20h 24m
Big Brain Bouts
23h 24m
Replay Cast
1d 7h
Replay Cast
1d 16h
RSL Revival
1d 17h
Classic vs GgMaChine
Rogue vs Maru
WardiTV Invitational
1d 18h
IPSL
1d 23h
Ret vs Art_Of_Turtle
Radley vs TBD
[ Show More ]
BSL
2 days
Replay Cast
2 days
RSL Revival
2 days
herO vs TriGGeR
NightMare vs Solar
uThermal 2v2 Circuit
2 days
BSL
3 days
IPSL
3 days
eOnzErG vs TBD
G5 vs Nesh
Patches Events
3 days
Replay Cast
3 days
Wardi Open
3 days
Afreeca Starleague
3 days
Jaedong vs Light
Monday Night Weeklies
3 days
Replay Cast
4 days
Sparkling Tuna Cup
4 days
Afreeca Starleague
4 days
Snow vs Flash
WardiTV Invitational
4 days
GSL
5 days
Classic vs Cure
Maru vs Rogue
GSL
6 days
SHIN vs Zoun
ByuN vs herO
Liquipedia Results

Completed

Proleague 2026-04-29
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
StarCraft2 Community Team League 2026 Spring
2026 GSL S1
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026

Upcoming

Escore Tournament S2: W5
KK 2v2 League Season 1
Acropolis #4
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
RSL Revival: Season 5
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 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.