#Pong - Devlog 3 - Now with sounds
As said in the previous post, adding sounbds could be interresting and... that was a little more complex than I thought 😀 What's the problem ? As I already have …
15 items across game development
15 results
As said in the previous post, adding sounbds could be interresting and... that was a little more complex than I thought 😀 What's the problem ? As I already have …
RmbRT wrote: you need to declare it as extern sf::SoundBuffer m_buffer; and then in one .cpp file, declare it normally without extern. Finally that solution works Thanks for your help …
Hello, Sorry for the delay, RmbRT wrote: You need to launch the .exe file from within the right directory. Let's say you have your Game/ directory, and then Game/build/Debug/game.exe. If …
You need to launch the .exe file from within the right directory. Let's say you have your Game/ directory, and then Game/build/Debug/game.exe. If you launch it from the IDE, it …
Hello, me again 🙂 I have a new problem that seems to be in relation with the sounds and sound buffer of SFML. The game starts and runs well with …
Hello, Yes, my first idea was to do something as you do. I don't remember why and when I've started to list the files and as my IDE (CLion) automaticly …
I noticed you're manually listing your source files in your CMakeLists.txt. Check out what I did for an old project of mine to make source file handling easier: https://github.com/RmbRT/re/blob/master/CMakeLists.txt. This …
Hello, Yes and I think it's approximativly tried to do, I'm sure my code is far to be perfectly organized but I've tried to keep an init/inputs/update/draw system. And, in …
snnooze said:Now I think I can optimize that by not loading the file every time, I will try that. You generally want to have a program structure like this: on_start() …
@khawk The forum claims there was a second reply (by OP) to this thread, 3 hours ago, and I also got a notification, but the reply just doesn't show up, …
RmbRT wrote: Looks to me like unlike what the documentation suggests, the sf::Sound object has to live for as long as the sound should be played. Sound::play() plays the sound …
Looks to me like unlike what the documentation suggests, the sf::Sound object has to live for as long as the sound should be played. Sound::play() plays the sound in a …
Hello, In my actual project where I use SFML 3 I try to add some sound effects, actually music works but when I try to play a sound nothing happen. …
In the previous post I shared a video but the player seems to have a problem so I hope today that will works. What's new In short, the 1 player …
A little story I started to dev #Pong about a week ago as I fighted with cmake and SDL for another idea of game to code. My problen with CMake …
GameDev.net uses cookies to ensure you have the best experience on our platform. Learn more