gamedev
gamedev
So, I think I fixed the lag problem, key word being "think". So, in SFML, you have two objects for sounds: sf::SoundBuffer and sf::Sound. The sound buffer just loads the sound file. And sf::Sound is an instance of said sound with a pointer to the buffer. Up until now, I have every game object holding all of the sounds they play in their own sf::Sound objects. I thought it wouldn't be a strain on the memory because the actual sound data is stored in the buffers, but now I have a singleton class to handle all the sound playing.
I've noticed that there is somewhat less lag when there is a clutter of cars, but I haven't truly verified that yet. I haven't done it on a huge cluster of cars. Anyway, this should be a good thing, because the game is piss easy right now with amount of enemies on-screen.
My #ActivityPub server #Vocata is rapidly improving and approaching the milestone of 250 commits, very much thanks to @steve who has started to systematically test it and fix bugs.
https://codeberg.org/Vocata/vocata
While not planned, I am looking forward to actually using it ;)...
@10grans beg
DiscordFS: Use Discord as your personal cloud storage. Integrated natively with Windows Explorer.
Oh god why. First Discord as forum now Discord as filesystem.Atari TOS – an operating system of Atari ST, Mega ST, STE, Mega STE, TT030, Falcon computers and their https://archiveos.org/atari-tos/ #atari #dos
#ElonMusk’s #Twitter / #X CEO pick is from the #WEF, apparently 👀
This man is supposed to be your savior? I think not.
RT: https://bird.makeup/users/diedsuddenly_/statuses/1656834841516687362
Free Your Mind with James Corbett
https://www.corbettreport.com/interview-1802-james-corbett-discusses-human-freedom-on-realeyesation/
@10grans beg