Show newer
xianc78 boosted

gamedev 

>sprites are automatically drawn based on their position (no manually drawing here).

Probably should clarify that. Sprites are manually drawn by calling the sf::RenderWindow.draw() method. It's just that sprites automatically have a set position and you can only draw based on that.

Show thread
xianc78 boosted

gamedev 

Got a camera to work. It's manual but if I plan to actually finish this game, I would probably have it scroll based on the player's position and movement. You can also see that there are tiles outside of the camera bounds. Those were left in by mistake.

SFML has a built in camera called sf::View. It's pretty weird. I'm used to having a 2D camera origin being at the top-left corner just like sprites, but the origin is actually in the center which is something I need to get used to.

I mean, it's kind of justified because it also has support for rotation and zooming (things I have never used). I'm just used to implementing my own camera system and just drawing sprites based off of their positions and the camera offsets, but that not an option here because sprites are automatically drawn based on their position (no manually drawing here).

Show thread
xianc78 boosted
xianc78 boosted
xianc78 boosted
xianc78 boosted
@zero In the new Soapbox? Gleason is an ableist too??
xianc78 boosted

The Crispr Baby Scientist Is Back. Here’s What He’s Doing Next - He Jiankui discusses his plans for finding cures for devastating genetic diseases. Should... - wired.com/story/the-crispr-bab #science/biotech #bioethics #science

gamedev 

Now there are three levels, all of which are derivatives of each other.

Show thread
xianc78 boosted
xianc78 boosted
xianc78 boosted
Looks like enough people stood up to the first attempt at climate lockdowns here in TN. The fake "extreme load issues" are suddenly no long an issue.

Got a second level. I learned that if you just include a blank class definition of a dependency in the header file and then include the actual header of the dependency in the source file, then you can avoid recursive includes.

Show thread
xianc78 boosted
xianc78 boosted
xianc78 boosted
by the way this is the internet and it's a free for all. but any of my pictures feel free to use them any way you like. if you used them somewhere for a creative project i would love attribution and to be told about the creative project--but doing so is not obligatory or even expected. just take them and enjoy them.

pics below are Senjogahara. Its name translates to "battlefield" and it is a reference to a war between mountain gods in Tochigi and Gunma prefecture with armies of snakes and centipedes, that had so much death that the streams ran red with blood. The streams literally do run red, but actually from iron oxide if you are a science cuck. If you search for Senjogahara the first one hundred pages of Google results will be for some fucking anime girl so make sure to add Tochigi prefecture to the search terms.
xianc78 boosted

America has had problems with their elections for some time.

An informed vote is critical for a democracy, and for much too long a lot of people have voted out of complete and utter ignorance.

At least you can argue that this political ignorance is not just an issue for USA, it exists to some proportion everywhere.

But what the FBI and the news media has done these years, is the straw that broke the camel's back. It's no longer an issue of an ignorant vote, it's an issue of a blatantly and purposefully misinformed vote, orchestrated by people who would directly politically profit from the outcome of this directed vote.

You can't ignore this. You can't call the voting process intact and trustworthy after these revelations. What USA has experienced is exactly what was being done all the time in the soviet block. It's what even Putin did with his opponents. Block, censor, arrest those who talk against you, and use the propaganda machine to praise your leadership, even when you drive the country straight into disrepair. That's how you act as an authoritarian.

That's how you destroy democracy.

xianc78 boosted
xianc78 boosted
Show older
Game Liberty Mastodon

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