• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 19:17
CET 01:17
KST 09:17
  • 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
ByuL: The Forgotten Master of ZvT25Behind the Blue - Team Liquid History Book18Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
Weekly Cups (Feb 9-15): herO doubles up2ACS replaced by "ASL Season Open" - Starts 21/0241LiuLi Cup: 2025 Grand Finals (Feb 10-16)46Weekly Cups (Feb 2-8): Classic, Solar, MaxPax win2Nexon's StarCraft game could be FPS, led by UMS maker16
StarCraft 2
General
How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? Behind the Blue - Team Liquid History Book ByuL: The Forgotten Master of ZvT Liquipedia WCS Portal Launched Kaelaris on the futue of SC2 and much more...
Tourneys
PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) Sparkling Tuna Cup - Weekly Open Tournament StarCraft Evolution League (SC Evo Biweekly) How do the "codes" work in GSL? LiuLi Cup: 2025 Grand Finals (Feb 10-16)
Strategy
Custom Maps
Map Editor closed ? [A] Starcraft Sound Mod
External Content
Mutation # 514 Ulnar New Year The PondCast: SC2 News & Results Mutation # 513 Attrition Warfare Mutation # 512 Overclocked
Brood War
General
CasterMuse Youtube A cwal.gg Extension - Easily keep track of anyone A new season just kicks off Recent recommended BW games BGH Auto Balance -> http://bghmmr.eu/
Tourneys
Escore Tournament StarCraft Season 1 [Megathread] Daily Proleagues [LIVE] [S:21] ASL Season Open Day 1 Small VOD Thread 2.0
Strategy
Simple Questions, Simple Answers Zealot bombing is no longer popular? Fighting Spirit mining rates Current Meta
Other Games
General Games
Nintendo Switch Thread Battle Aces/David Kim RTS Megathread New broswer game : STG-World Diablo 2 thread ZeroSpace 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 TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Mexico's Drug War Canadian Politics Mega-thread Ask and answer stupid questions here!
Fan Clubs
The IdrA Fan Club The herO Fan Club!
Media & Entertainment
[Req][Books] Good Fantasy/SciFi books [Manga] One Piece Anime Discussion Thread
Sports
Formula 1 Discussion 2024 - 2026 Football Thread TL MMA Pick'em Pool 2013
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
ASL S21 English Commentary…
namkraft
Inside the Communication of …
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1728 users

Student Game Dev Part 22 - Sound effects

Blogs > Soan
Post a Reply
Soan
Profile Blog Joined August 2010
New Zealand194 Posts
April 25 2014 02:00 GMT
#1
+ Show Spoiler [Previous parts] +
Part One - It begins
Part Two - Technical Foundation
Part Three - Game Design
Part Four - Input and Physics
Part Five - More Physics Things
Part Six - Even More Physics
Part Seven - User Interface
Part Eight - UI and the Editor
Part Nine - Editor Progress
Part Ten - Progress, and videos
Part Eleven - Fixing the Physics
Part Twelve - Unproductive
Part Thirteen - Context menu + enemies
Part Fourteen - Enemies and Problems
Part Fifteen - Play testing
Part Sixteen - Editor and Art
Part Seventeen - Video!
Part Eighteen - Layers and Music
Part Nineteen - Water and Enemies
Part Twenty - Score and decisions
Part Twenty One - Background music


This Week
Hello again TeamLiquid! Welcome back to my blog about the development of The Adventures of Sam the Pirate, the 2D platformer I'm creating as the final game project for my Bachelor of Software Engineering degree. Last week I talked about implementing FMod to play background music. This week I'll be talking about putting sound effects in, and a little bit about the plans for loading screens. Another short post this week, as it's another long weekend here.

Sound Effects
Easily got these implemented this week, in a very similar manner to how the background music plays, although because multiple sound effects could be played at once, I had to do make sure I took this into account. Sounds in FMod are played by loading the sound into a Sound object, and then playing that sound over a Channel, which is also its own object. The Channel object is used to pausing, and otherwise altering the sound while it is being played. So for the background music, it is fine to simply have one of each, and reload the Sound object when I want to play different background music. But for sound effects, as there are multiple sounds, I need a Sound and Channel object for each different sound effect.

I'd been avoiding using STL, or Standard Template Library in other parts of the project, as I didn't feel I needed any part of it. Everywhere else I know how many of each object I need, and so did not feel like I needed to use any part of STL, I could just use fixed size arrays instead of the STL containers.

I could have done something similar for sound effects, but decided it was faster and a more efficient use of my time to just use a couple STL maps, with the path to the sound effect acting as the key, and the Sound or Channel object as values. At this point in the project I only have three weeks left, so I just need to get the last few things working, and not worry about trying to do things optimally, getting things working is more important.

The sound effects are also pre-loaded during the levels load, to remove any lag from trying to play them the first time. Obviously though, if they have already been loaded, then nothing happens as the Sound and Channel objects for that sound effect already exist, so they're ready for use.

Loading Screens
The current plan for loading screens is to simply render a static image that says loading, perhaps randomising what image is displayed. I could use existing concept art as these background images for loading screens, or look at getting a few pieces quickly done for each area of the game. If I had more time, or had maybe planned things out a bit better, I would have like to use threading, to display some animated sprites on the loading screen while things are loaded in the background, or have a simple game for people to play while they wait for the level to load.

What's next?
Over the next week I'll get loading screens working, and think a bit about how to do a level selection screen. Overall I'm feeling pretty good about things, as once these two items are done, it just comes down to making the rest of the levels (easily done in the editor), and polishing the game up before the final hand in date.

Keep up to date!
Be sure to follow me on Twitter, and like the Facebook page to stay up to date on future content and blog posts when they happen. If you have any questions don't hesitate to ask, either through Twitter or Facebook! You can also check out the blog, previous posts, screenshots and videos over at my site.

*****
Please log in or register to reply.
Live Events Refresh
OSC
00:00
OSC Elite Rising Star #17.5
CranKy Ducklings37
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 234
Temp0 47
Nathanias 22
RuFF_SC2 3
StarCraft: Brood War
Artosis 674
GuemChi 622
NaDa 17
Dota 2
syndereN533
canceldota368
Super Smash Bros
PPMD59
Liquid`Ken13
Other Games
summit1g12059
shahzam653
C9.Mang0254
Maynarde107
Trikslyr65
ZombieGrub49
ArmadaUGS21
Organizations
Counter-Strike
PGL611
Other Games
gamesdonequick574
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Hupsaiya 96
• intothetv
• Kozan
• sooper7s
• Migwel
• LaughNgamezSOOP
• AfreecaTV YouTube
• IndyKCrew
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21269
League of Legends
• TFBlade1649
• Stunt213
Other Games
• imaqtpie1485
• Scarra1457
• Shiphtur207
Upcoming Events
WardiTV Winter Champion…
11h 43m
Replay Cast
1d 8h
WardiTV Winter Champion…
1d 11h
The PondCast
2 days
Replay Cast
2 days
Korean StarCraft League
4 days
CranKy Ducklings
4 days
SC Evo Complete
4 days
Replay Cast
4 days
Sparkling Tuna Cup
5 days
[ Show More ]
uThermal 2v2 Circuit
5 days
Replay Cast
6 days
Wardi Open
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2026-02-22
LiuLi Cup: 2025 Grand Finals
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Acropolis #4 - TS5
Jeongseon Sooper Cup
Spring Cup 2026
WardiTV Winter 2026
PiG Sty Festival 7.0
Nations Cup 2026
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025

Upcoming

[S:21] ASL SEASON OPEN 2nd Round
[S:21] ASL SEASON OPEN 2nd Round Qualifier
Acropolis #4 - TS6
Acropolis #4
IPSL Spring 2026
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
FISSURE Playground #3
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
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.