this post was submitted on 19 Jul 2023
11 points (100.0% liked)

GameDev

2777 readers
1 users here now

A community about game development.

Rules:

More rules might follow if they become necessary; general rule is don't be a pain in the butt. Have fun! ♥

GameDev Telegram chat.

founded 1 year ago
MODERATORS
 

Oh hi. I'm not a mod or anything but felt the urge to try and post a daily chat thread. Game development can sometimes be a battle behind the scenes. I've been banging my head against a bug with a 3rd party library all week. Sometimes you need a fresh approach and today I came at it again from another angle. Turns out a DLL was being unloaded because of an API change, so the fix was to add a const & to stop my reference being deleted and the DLL unloading. 6 extra characters and it all works again! TODAY I FEEL INVINCIBLE!

Have you had any gamedev wins this Wednesday? Big or small, there is nothing like a win halfway through the week.

top 3 comments
sorted by: hot top controversial new old
[–] TeaHands@lemmy.world 5 points 1 year ago (1 children)

Isn't that always the way, just when you're ready to give up your subconscious thinks "not on my watch" and sorts it out for you overnight. Nothing gives a bigger feeling of power than just storming in on a morning and seeing the answer so clearly!

My gamedev days are mostly Friday afternoons and weekends so I'm just gonna pretend this thread covers all week. Also thank you for making it, great minds think alike I guess.

So even though I've been making crappy jam games since 2020, most of them haven't really involved any kind of AI since I tend not to do games with enemies etc. Making a city builder, I've had to start learning the basics so my citizens can move around the place.

I got some great advice on what the terms were to search for in this thread last week, and am happy to report I now have a somewhat wobbly, drunk lil capsule man making his way from one tile to another!

Animated gif of a placeholder capsule "citizen" wandering around a low poly hex tile city

There's no path for him to walk on across the gap, but hey, he knows it's meant to be there. You go, lil guy!

Obviously needs a lot of work but you would not believe the brain effort it took me to get this far lol.

[–] rubikcuber 2 points 1 year ago (1 children)

Nice. I haven't done AI in a while. Some bot work in an FPS a few years back for a client, although they used a 3rd party middleware, IIRC... it's all a bit hazy. I see from your other post that you're using Godot - I need to check that out. I never have enough time to do much personal dev work, but when I do I generally use Unity. I find it so bloaty and a bit unreliable though. Godot looks very interesting.

[–] TeaHands@lemmy.world 2 points 1 year ago

Yeah I learned on Unity and still prefer a lot of things about it, but it's just so incredibly slow these days. They've both got pros and cons and if they worked equally well I'd probably chop and change between engines depending on the project. But having to wait for so long after you do literally anything in Unity for it to finish reloading whatever the hell it is it reloads...ugh, I couldn't take it anymore.

Godot has been quite the learning curve but luckily gamedev Mastodon is very helpful for specific questions!