EDT 23:49 CEST 05:49 KST 12:49

Streams: 103 live
23500 total viewers

Active: 6516
Pizza Meter
[WCS KR] Innovation vs. Sy…
[WCS AM] Ro16 Group C Prev…
Bruno Community Q&A
Beyond the Summit and TL S…
[WCS KR] Code S Recap/Code…
viOLet forfeits WCS AM due…
FXOpen acquires Seed from …
Crank, mOOnGLaDe interview…
LGD.cn and RaTtLeSnAkE Adv…
GomTV: about the gamespeed…
Papa John's explores EG, L…
TeamLiquid Map Contest Fin…
Get 50% off Papa John's pi…
TL Advertising Features
The XBox One
UK Soldier beheaded in L…
Star Trek: Into Darkness
Should people be allowed…
Naruto (manga spoilers)
[BarCraft] Irvine - WCS Am…
Ask TL Staff Anything
The Automated Ban List
Possibly new TL shirts?
Houston Barcraft
The IdrA Fanclub
The Liquid`HerO Fanclub!
[Stream] solidgamerTV
[Stream] Grinkers - Top Ma…
Mechanical Keyboard Guide
Windows 8...should I upgra…
Any fix for Twitch tv lag?
Computer Build Resource Th…
What mouse/pad does your f…
No Future Shoutcraft Ame…
[Show] Knockout - Ep 2. …
[Interview] 2013 WCS KR …
Update on Papa John's ES…
viOLet forfeits WCS AM d…
SC2 General Discussion &…
[WCS AM] RO16 Group C Prem…
[Code S] Ro4 Day 2 WCS Kor…
[Code S] Placement Matches…
[CSL] Spring Playoffs Ro4 …
Numericable M-House Cup 2 …
Simple Questions Simple An…
The HotS Zerg Help Me Thread
TvZ: A different flavored …
CatZ CC first counter - a …
[G] Zest's 4 immortal / ar…
[A] Peepmode: New maps, ne…
Work In Progress Melee Maps
Simple Questions/Answers
[M] (2) ESV Ravage by Iron…
TeamLiquid Map Contest Fin…
Inhouse Dota
General Discussion
Bruno Community Q&A
G-1 League LAN Finals An…
The International Intera…
Beyond the Summit and TL…
[D2L] EG vs. Na'Vi & VP
[The International] Easter…
Liquid Pasture Community L…
Perfect World's Dota 2 Su…
Starladder Season 6
[G] In-Game Dota Guide for…
Simple Questions, Simple A…
[G]uide to Lifestealer
[H] Night Stalker
[G] Clockwerk, The Offlani…
[D] New BW Server
[Update] itemBay SSL Gra…
[SOSPA] Event Matches
Map (4)Kyanite Prospect …
Gothenburg SSL8 Finals M…
DES Sonic Interview 5/18…
[SRT] Ro16 Group B
[GC S3] Gambit's Cup Semif…
Gem League II
D Ranks Teamleague Season 4
[SRT13] Ro16 Group A
Practice Partner Thread
Challenger map on Starcraf…
Simple Questions, Simple A…
Increasing APM/EAPM
NBA Playoffs 2013
Magic: The Gathering Onl…
FINALLY! - The 2013 NHL …
World of Tanks
Steam Sales Thread
[Patch 3.07: Nerf Everythi…
[LoL] [SFW] Random Pics & …
The LoCicero Memorial for …
[LCS] All-Star Tournament
[OGN] Olympus The Champion…
[LoL] General Stream Thread
[Champion] Nunu
[Champion] Twisted Fate
[Renekton Guide] SoloRenek…
Barbarian - Builds/Discuss…
[G] Hardcore
D3 Hardcore Community
[M][N] Les Mafia
ESPORTS Mafia (streamed ma…
[T] Bastard "Mini" Mafia!
The 2013 Weightlifting Pro…
TL Health and Fitness Init…
Questions & Answers
Leta - Movie
Michael - skyline
Anytime - Beast
By.Hero - Shuttle
Anytime - Pusan

Website Feedback

Closed Threads

IRC Chat
irc.quakenet.org #teamliquid

IRC Web Client

TeamSpeak 3 (79 users)

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

Forum Index > Blogs
 
 0x64   Finland. June 01 2012 22:08. Posts 3570
Profile Blog # 
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.
Old Post

 
 -Kaiser-   Canada. June 02 2012 02:45. Posts 478
Profile Blog # 
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.
"Perhaps love is the process of my gently leading you back to yourself."
Old Post

 
 0x64   Finland. June 02 2012 20:17. Posts 3570
Profile Blog # 
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.
Old Post

Please log in or register to reply.
 

» Recent SC2 Results
» Premier SC2 Tournaments
Sidebar Settings...

The Little App Factory



The opinions expressed by our users do not reflect the official position of TeamLiquid.net or its staff.

Advertising | Jobs | Privacy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren. Ad tag: TF_US.
The contents of this webpage are copyright © 2002-2013 Teamliquid.net. All Rights Reserved