Show newer
xianc78 boosted

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

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

xianc78 boosted
xianc78 boosted
xianc78 boosted
xianc78 boosted
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
xianc78 boosted
xianc78 boosted
Okay, so here's the plan:
1. Found a seasteading cult called "Noah's Ark." The doctrine of the cult is that humanity has sinned against God by degrading the environment and will flood the Earth as punishment. Only a handful of the righteous will be chosen to survive, and these chosen few must build a seastead in the Pacific Ocean to act as an Ark.
2. Recruit a handful of white male programming autists to mass generate ChatGPT bots to spread our cult's message on social media.
3. Especially make bots speaking Chinese, Japanese, and Korean to target young Asian women, as Asians tend to be prone to joining crazy cults.
4. After growing your membership, build the seastead in the Pacific, and proclaim to all the online cultists that the time for salvation is at hand, and they must flock to the seastead to build the future of humanity.
5. ???
6. Drown in Asian pussy.
xianc78 boosted
xianc78 boosted
In every closed source application the state has the final say in what's going into the code.
Show older
Game Liberty Mastodon

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