Posts

This profile is from a federated server and may be incomplete. Browse more on the original instance.

julienbarnoin, to ai
@julienbarnoin@mastodon.gamedev.place avatar

There's so much discussion of what Microsoft's latest AI blunder of a feature will do and why it's bad, that I genuinely have no idea what it's even trying to sell as a positive for users. All I'm reading is "Recall is going to record everything you've ever done".

Aren't they at least trying to cover it up with some cool use case to lure some people into trying it? If so they've embarrassingly failed to market it.

julienbarnoin,
@julienbarnoin@mastodon.gamedev.place avatar

Or maybe they just don't care about enticing users any longer and figure they can just force feed it to them instead of convincing them, and people will just take it.

jake4480,
@jake4480@c.im avatar

@julienbarnoin I figure it's this. Tech bros want ai in everything, they'll see how far they can take this crap til the bubble bursts 🙄

julienbarnoin, to programming
@julienbarnoin@mastodon.gamedev.place avatar

I'd like to suggest that anyone who says Copilot saves them time is an indication that they're not doing their job, ie accepted the code without taking the time to think through each line and its implications.

To properly review code, you have to consider for each variable, each expression, whether it's appropriate, how it interacts with the rest of the program, etc.

Since you didn't author the code I'd say this should take more time than if you wrote it yourself.

julienbarnoin, to security
@julienbarnoin@mastodon.gamedev.place avatar

Being able to remotely lock a phone you don't have credentials for using just a phone number? What could possibly go wrong?

https://www.wired.com/story/android-15-theft-detection-lock/

julienbarnoin, to programming
@julienbarnoin@mastodon.gamedev.place avatar

Nowadays terminals and other text views can get rendered with GPU acceleration support, like the kitty terminal that I use.

🤔 That means we could get bloom, chromatic aberration, distortion, depth of field and other post process effects into our terminals, what are we waiting for?

hamoid,
@hamoid@genart.social avatar
julienbarnoin, to gamedev
@julienbarnoin@mastodon.gamedev.place avatar

Getting more interesting now, though still not exactly perfect, but it's pretty neat to play with. It's quite heavy performance wise though, I'll have to see if I can get this down to a reasonable cost while retaining the fun.

Gameplay of Bioplanet Kamaryn with a character getting pushed around as water gushes out of a hole. The water particles come together with a blobby texture.

julienbarnoin, to gamedev
@julienbarnoin@mastodon.gamedev.place avatar
julienbarnoin, to programming
@julienbarnoin@mastodon.gamedev.place avatar

Not many people know about bleh debugging.
It's a technique I use when I want to check whether a certain piece of code is being compiled at all, such as if it's been ifdef'd out.

It works by inserting the following keyword in the piece of code you're looking at:

bleh

This is a special word that triggers an error in compilers of all programming languages, resulting in a message like "error: 'bleh' undeclared" if the code gets compiled. If not, the code is compiled out.

bobmagicii,
@bobmagicii@phpc.social avatar

@julienbarnoin the technical term for that i think is tombstone. in my web work we're mostly looking to see if they leave markers in the logs.

julienbarnoin, to cpp
@julienbarnoin@mastodon.gamedev.place avatar

All this time I've been using the return value of snprintf as the number of characters actually written, when it's in fact the number of characters that would be written if the max size passed in were large enough.

In fact: "If the resulting string would be longer than n-1 characters, the remaining characters are discarded and not stored, but counted for the value returned by the function."

BRB, got a bunch of files to go back over... 😓

#c #cpp #programming #gamedev

gfxstrand,
@gfxstrand@mastodon.gamedev.place avatar

@julienbarnoin Yeah, IIRC Windows just returns -1 if there's an overflow.

julienbarnoin,
@julienbarnoin@mastodon.gamedev.place avatar

@gfxstrand Good to know, will definitely be checking that.
Of course to be sure I should check the behaviour on Windows 11, Windows 10... Windows 8.1, Windows 8... Windows XP, 2000... Windows Me, no just kidding on that last one.

julienbarnoin, to programming
@julienbarnoin@mastodon.gamedev.place avatar

Sometimes when tweaking things that are very sensitive, such as audio generation or physics systems, I just play around with parameters for a while, sometimes getting cool results, sometimes screwing up, quickly saving and testing as I go.

Then I feel like going back to something I had earlier, but it's hard to reproduce it. I don't have a great solution for that yet, maybe I should just have a mode where I commit every save to git or something?
Does anyone else do that?

julienbarnoin, to random
@julienbarnoin@mastodon.gamedev.place avatar

Actually the license bait and switch tactic (see https://mastodon.gamedev.place/@julienbarnoin/112372223926226868) just reminded me of a case that happened to me in real life.

Back around 2002, as a student, I enrolled for driving lessons at a cheap driving school near my university. It was called "Omega driving school", and basically there was no instruction, just a room with a few computers with some software and they just invited me to sit on the computer to read and practice on my own, and I had access to the place for a year.
/1

julienbarnoin,
@julienbarnoin@mastodon.gamedev.place avatar

It was clearly the same staff and the same computers, but he was adamant that they had nothing to do with "Omega driving school" and that he didn't know anything about that.

Anyway, after that I made sure to get my driving lessons for a more reputable place, lesson learned !
/3

jake4480,
@jake4480@c.im avatar

@julienbarnoin 🤯 wow. What a SCAM

julienbarnoin, to legal
@julienbarnoin@mastodon.gamedev.place avatar

This is some dodgy license shenanigans.

Basically, Synergy (cross-platform keyboard and mouse sharing software) once was a one-time purchase, then moved to a subscription model. They took great pains to specify the new maintenance license did not apply to existing early adopters - see email below.

And then today I get this message saying my license is about to expire !

Is it even legal to pull something like this? In any case it's not a great way to treat early adopters !

Screenshot from Synergy software with a pop-up saying: "Your maintenance license expires in 28 days. After your maintenance license expires, you'll still be able to use this version of Synergy, but you'll no longer have access to technical support and software updates. Renew today to continue receiving technical support and updates."

Natanox,
@Natanox@chaos.social avatar
jake4480,
@jake4480@c.im avatar

@Natanox whoa nice thank you for this! If this HP dies, which it could any day (I already have to refuse the 11 upgrade they want to to), I don't want a machine with 11. So this is gonna have to be the way I go. I'm not some Windows fanboy but it's been semi easy-ish to use all these years just casually (and forcibly at my job 🤣) - Linux has always been in the back of my mind though, now it looks like Microsoft is fully forcing my hand 🤣😂🤣

julienbarnoin, to gamedev
@julienbarnoin@mastodon.gamedev.place avatar

I figured adding particles that interact with the gameplay and environment would be neat, so I made a quick test in my game Kamaryn.

Having the environment defined as an implicit surface on the GPU side makes it quite efficient to do collisions, I'm pretty happy with the results for a quick prototype that took a day or two.

The snow is just for testing the system, I'm not actually making a christmas themed game !

Top down 3D gameplay of my upcoming game Bioplanet Kamaryn. The character is running around, punching and defeating enemies. There's a lot of snow particles falling on the ground and reacting to movement, punches, and shockwaves when things get hit or die.

julienbarnoin, to random
@julienbarnoin@mastodon.gamedev.place avatar

This is what I like about spring here... Time to stock up for the year 😁🦀

A large pot with lots of snow crab cooking in it

julienbarnoin,
@julienbarnoin@mastodon.gamedev.place avatar

@vga256 I'm on the other shore though, on the north side. Natashquan, Quebec. It's tiny and isolated, a good place to program in peace 🥸

vga256,
@vga256@dialup.cafe avatar

@julienbarnoin wow! now that is an area i have never been to before. the closest i have been is Port aux Basques. my parents say they got to visit Anticosti once however. said it was beautiful

julienbarnoin, to gamedev
@julienbarnoin@mastodon.gamedev.place avatar

Alright, working on my game Kamaryn today, I'm going to try to address enemy death effects. So far they only disappeared instantly, I've just added a scaling down effect, but that still sucks, so I'll try and do something more satisfying.

Here's a WIP of the current version, hopefully I have something nicer to show later.
Also shows off my favorite debugging feature: rewinding / frame stepping. I can change the camera angle, even live recompile and play it back, etc.

A video showing the game Kamaryn where a few enemies are punched, then disappear when they're dead. The scene is paused and rewinded, then seen again from another angle a few times, stepping back and forth frame by frame.

julienbarnoin,
@julienbarnoin@mastodon.gamedev.place avatar

Here's a little update. It's not yet quite what I'm looking for but getting more interesting.

Also took the time to fix my setup and get proper hardware video encoding working in OBS so my framerate isn't as crap when recording, and resolution is nicer too.

Video of my game Kamaryn where the player walks around and punches purple enemies. When they die, they turn into a light blue ball and dive into the ground with a pillar of light effect.

jake4480,
@jake4480@c.im avatar

@julienbarnoin smooth! I like, BEYOND love this haha

julienbarnoin, to gaming
@julienbarnoin@mastodon.gamedev.place avatar

PLOT TWIST !
Your vision blurs and white text appears in front of your eyes saying Game Over.

You remove the goggles, realizing you were still in a demo from the first time you tried the Oculus Rift back in 2014. Seeing a pixelated game followed by a realistic dystopian world when you removed the in-game headset was just a marketing gimmick in the demo and the passage of time was just an illusion.

You're back in 2014. What do you do next?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • tester
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • DreamBathrooms
  • modclub
  • InstantRegret
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • normalnudes
  • Leos
  • anitta
  • khanakhh
  • cubers
  • cisconetworking
  • provamag3
  • megavids
  • lostlight
  • All magazines