C++ Sfml 2.0 Made Easy Tutorial 21 - Sounds & Music

preview_player
Показать описание
In this tutorial we will be learning about sounds and music. Hope you enjoy :).

Рекомендации по теме
Комментарии
Автор

Thanks for SFML 2.0 series, man. It's awesome. Keep 'em coming! :)

TwoThre
Автор

I'm pretty sure that I have. For the most part, I've just copied the debug settings into release, and then checked it about ten times - they are identical for the linker part except for the incremental linking and a few optimizations.

CyrusVorazan
Автор

Do you have to display the window in order to play a song?

marceldabrowskii
Автор

Have you linked all the libraries in release mode?

CodingMadeEasy
Автор

why if create a class for organize all sounds of game cant run just work in int main function?

juniorsantosjerry
Автор

Please help
whenever i try to play a sound i just get like 1000 undefined refrences to something ....
graphics work but sound doesn't

bld
Автор

Where is a good place to get samples for your games and tracks for background music?

jrizzle
Автор

Hey, I have a question - when I compile a program with SFML music in debug mode, it works just fine, but when I switch to release mode - it starts spitting access violations on "OpenFromFile" function. Why would that be, do you know?

CyrusVorazan
Автор

Great series. However why are You zooming in/out and moving screen all over the place? Just increase font size in VS. and show full work space :)

BogdanKustan
Автор

Howcome whenever I add an offset to the music, it starts playing without me pressing P?

JustASnack
Автор

How were you able to do the previous tutorials? And try to link against this:
sfml-graphics-d.lib

CodingMadeEasy
Автор

when i klick at the X on my Game:Zombies.exe it shows me a runtime error with the sfml-audio-2.dll. PLEASE HELP ME

SinanAkkoyun
Автор

remove the -d in the linker settings. That is for debug

CodingMadeEasy
Автор

Hey, first, nice tutorial !

Then.. You said that your brother can make lot of game music, any genre etc... That's quite interesting, since I'm going to try making some indy game during my studying, in university, and I'd like to get some contacts, like musicians, graphists and stuff... So yeah, if we could talk a bit, not already serious business, but could be in future :)

alexandrebeaudet
Автор

Can you add source code to your website?

exDudys
Автор

when i run the code
it says libsnd-1.dll file is missing
can someone pls tell me where to paste the dll file if i have downloaded it

sathyanithin
Автор

I'm getting this error:

Build started: Project: SFML_2, Configuration: Debug Static Win32
1> main.cpp
studio warning C4244: 'argument' : conversion from 'time_t' to 'unsigned int', possible loss of data
1>LINK : fatal error LNK1104: cannot open file 'sfml-graphics-s-d.lib'
Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped

WillT
Автор

Obvious plug is obvious. But still great tutorial

NicroLife