Show newer

gamedev 

Okay it doesn't seem like it's fixing the lag. At least it did fix the problem of audio crashing (apparently you can't have more than 140 sf::Sound objects in memory). I will try to fix the problem tomorrow because my adderall is wearing off.

Show thread

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.

Show thread
xianc78 boosted

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.

codeberg.org/Vocata/vocata

While not planned, I am looking forward to actually using it ;)...

xianc78 boosted

gamedev 

Now, I'm working on a high score table. I got it to load random scores from a text file and sort them by score using the insertion sort algorithm.

Show thread
xianc78 boosted

DiscordFS: Use Discord as your personal cloud storage. Integrated natively with Windows Explorer.

Oh god why. First Discord as forum now Discord as filesystem.

https://github.com/DiscordFS/DiscordFS

@vriska Why use LibreOffice when you can just write everything in LaTeX and convert to PDF?

xianc78 boosted

Atari TOS – an operating system of Atari ST, Mega ST, STE, Mega STE, TT030, Falcon computers and their archiveos.org/atari-tos/ #atari #dos

@rasterman If you've gone down the conspiracy theory rabbit hole like I have, you would've came with the same conclusion.

xianc78 boosted

@rasterman Don't worry. I've created a new term, "stockholm syndromite" because when you really think about it, statism is just stockholm syndrome. You just love your abusive rulers, don't you?

@realcaseyrollins @diedsuddenly_ Elon Musk is a total fraud. You should look into his history if you want to learn more. His grandfather was part of the Technocracy movement (basically a precursor to the Great Reset that was proposed back in the 1930s).

corbettreport.com/interview-17

xianc78 boosted
xianc78 boosted
xianc78 boosted

@lanodan I know XNA/MonoGame supports it, but everyone just sticks to C#.

xianc78 boosted
> we're adding mastodon support to our product

if you're building support for it and still calling it "mastodon" I have zero faith in your future product

@ArdainianRight Honestly, I will support any Seasteading project whether it is libertarian or not. Decentralization is always a good thing.

Show older
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.