« first day (3858 days earlier)      last day (1459 days later) » 

13:42
Good morning!
Morning :)
How are you guys doing today?
14:33
Pretty fine ^^ what about you ? Still struggling with the decision of using a RDBMS or NoSQL database for storing game entities :/
Doing alright, just waiting for the editor to boot up...
My threads are executing according to specification.
nwp
nwp
@DMGregory Throwback to Eclipse days :D
Dunia is... notoriously slow. 😅
Gives me time to do some modding here though... 😁
1
Q: Should we consider Blender related questions off-topic when they're not about game development?

VaillancourtA question was recently bumped by Community. This question is about Blender, but not in the context of game development. We typically allow Blender questions, but since StackExchange has a site just about it, should we have the rule that if the question is not about game development, we close the...

14:36
@DMGregory Saw this water electrolysis web demo on hacker news. Reminded me of your metaball shader, so I thought I'd pass it along.
Oooh, nifty!
 
1 hour later…
16:06
@GDSEMeta To be honest, I would call them off topic, as there is another Stack Exchange specifically for those kind of questions.
@OKprogrammer Then vote on the meta post ;)
The meta bot does not know how to handle your answer :)
16:22
Oh yeah, right! I'll upvote it for sure.
I am proud to say that I have emptied my "Code to Fix" folder:
Which one is better though? If you had to make it, which would you choose? There must be best practices for this sort of thing since it's extremely common. — Ryan Peschel 19 mins ago
Oh my sweet summer child...
:D
The funny thing is that is literally the question the OP is asking.
Now, I just have to wait for bugs to pop up in my inventory system and that's really going to stink to fix.
Did I tell you about the infinite copycat bug in the monster battler I built for my students this term? 😅
I don't think so
16:31
No, what happened?
I gave my students the challenge of designing a new slate of 12 monsters for Pokémon-like auto-battler. They could choose two special abilities to use (like Poison/Sleep/etc.) in addition to the base set.
One of the special abilities was Copycat: if the ability succeeds, it uses the opponent's selected ability against them. If the opponent also used copycat, then it would do nothing (specifically to avoid infinite copycatting).
If I had to guess, it somehow ended up infinite copycatting?
Once I got the students' monster data, I ran it through a simulator that tried all ~3 million possible party-versus-party match-ups a hundred times, and simulated players choosing their parties based on those observed win rates, to see how the game's meta would evolve.
Running that sim on 8 threads took 10 minutes to 2 hours per submission, depending on if the group gave me more monsters than I asked for.
But one group, theirs was running infinitely long. My threads were reporting practically no progress after the first few battles.
That was the one group that had chosen the copycat ability. All others had picked something else.
So after class Monday I dove in to try to find what was wrong with this ability.
Turns out, I was only hitting the "do nothing" case if the opponent successfully used copycat. If they tried to copycat and failed, my code still treated that as a valid ability to try to copy.
oh fun :)
Do the abilities cost a resource (other than using a turn)?
16:41
So one monster would try to copycat and fail. Then their opponent would try to copycat and succeed, copying the copycat. Then succeed at the copied copycat, copying the copycat...
They consume stamina, but you only pay the staminal cost once per round. Since the copycat kept copying and copying without ever resolving the attack, it never burned the stamina down.
I suspect the ability to create an endless loop is a symptom of approaching Turing completeness. So, good job?
Did you end up fixing the problem w/ code alone, or did you/the class opt to patch the design instead/as well?
It was a small fix. I made it so if you tried to copycat a failed copycat, you could only make a failed copycat, never a successful one. So that eliminated the loop.
Do the abilities resolve simultaneously per round?
Yep. Though "simultaneously" needed some surprising extra complexity to handle blocking/countering/copycatting.
16:56
Yeah, I was wondering about that. What happens if both sides use a copycat on round zero?
It always looks at the ability used this round, never a previous round.
So, you'd get two failed copycats.
@DMGregory I think that's essentially why MtG changed from their initial design & dropped things like interrupts - too much complexity, esp as they started to venture into digital & asynchronous play.
Yeah. Gonna cut that ability from next year's version of this assignment. And ask for maybe 6 monsters instead of 12. 😅
:) I constantly questioned how often I was teaching more than I was learning back when I proff'ed.
17:44
Damn... i think i finally found a clean way to save an ecs into a sql database. The issue was that an entity is made out of 1:n components. We dont know the type of the exact type of them and inheritance is not that performant ( Most ORM simply create a huge union for every child ).
Furthermore entity references are a huge problem. But i think its possible to have a schema like this : Entity{ uniqueID, jsonComponents }, Entity_Relation{ name, owner, target, json }. This way we could load an entity with all its relations and simply map it.
I think, im gonna test this. This could be an good alternative to nosql databases.
18:00
I don't know much about SQL at all, but it looks like a good method for saving and loading.
18:59
Me neither ^^ it feels kinda hacky... but probably better than switching my existing database to nosql. NoSQL comes with its own problem, also relation related
Well, I wish you luck nonetheless!
19:45
@OKprogrammer Thanks ^^ It actually works... just implemented a little test. Much better than my previous solution, i think im gonna stick with that for the first :)
20:06
Welp, my dog just ate my mask. No joke.
20:35
hi
where do straight developer males find girlfriends? :)
I hope to find a bae which would be into game dev or software engineering as well
but with 0 success :)
so far
probably during the covid the only place where game devs hang out is the discord
does any1 know other places?
oh, cool 👀 I can put emojis here with the "Win + ."
🐱‍👤🐱‍🚀✨
Nope, no idea. I’m just a bachelor who broke up with his girlfriend a month ago. This article may help though.
@DMGregory Thanfully, I have like a box of 50 masks, so that shouldn’t be an issue.
20:56
@OKprogrammer thanks 👍
@OKprogrammer and here is something 4 u, bro: youtube.com/watch?v=bfd8RyAJh6c
21:10
@OKprogrammer also my problem is mostly not about finding a gf, but about finding such gf, who would be into software dev :)
@OKprogrammer lmao this response: Its a NP complete problem. 😁
I'd say start by growing your circle of friends who are (professional or hobbyist) developers, of all genders, rather than trying to jump directly to a romantic partner. The bigger your network, the better the connections you can make.
@DMGregory oh, here goes that old saying 😃
@DMGregory I appreciate ur advice, thanks
tbh I have been following it 4 some time now
I started participating in the discord servers
just chilling with people and talking on random and game dev related topics
Software and maker meet-ups (once it's safe to mingle again) can be helpful too.
but I did not find a way to connect with people irl 😔
@DMGregory what do u mean by the maker meet-ups? do u mean game jams?
More like, events where people who like to solder and muck around with 3D printers get together.
21:19
@DMGregory oh and another source of like minded people I was able to come over - the reddit
I met my wife on IRC back in the day.
@DMGregory never heard about such things. I guess they happen only in US or Canada 👀
Whereabouts are you, if I may ask?
Today I'd probably look for stuff like game-dev related meet ups.
@Vaillancourt I am not sure what u mean. 4 me the IRC sounds like the HTTP, bc whenever I google IRC I am getting this: application layer protocol 😁
@DMGregory Poland
21:21
You don't need to ping me with every reply.
@Vaillancourt ping me, pls if u will find something interesting
Yes, it's probably a communication protocol. Use use a software to chat on IRC.
@Vaillancourt I would dream to meet a bae on HTTP 😁
Yes, IRC is not very popular nowadays.
@DMGregory sorry. does it irritate u? I am just used to the reply feature. nowadays it is present almost everyewhere and become an integral part of my communication
@DMGregory how did u find it out?
I searched "poland maker space" and clicked the first result.
@DMGregory hm... here is what I see: seeedstudio.com/…
Also, please do not ping me with every reply. I am reading the messages as they come in, I don't need an extra notification every time.
@some1here Check the activities of things like local chapters of the IGDA igda.org/chapters/pl-polska-poludniowa
21:24
ok, not gonna ping u 👍
@Vaillancourt thanks 4 sharing
ok, my friends. I am going afk now. wish u the best day possible 👋🏻
Also, however, I may add that wanting to find a partner that shares this kind of interest might be nice for some time, but interests of a person generally evolve, so even if you share a passion with that person now, it does not mean that this interest will be shared in the long term...
I suppose the pandemic hit hard those who were into this phase of their life...
I'd be very curious to see the stats of apps like tinder during various lock-downs and curfews.
 
1 hour later…
22:49
@Vaillancourt You can say that again!
My single z-sexual friends are definitely struggling. Kinda lucky to be asexual in a time like this. 😉
user92578
23:51
@DMGregory Excuse my ignorance but what is z-sexual?
The opposite of a-sexual. 😉
So, a z-sexual person is someone who experiences sexual attraction.
user92578
Ah, thanks, somehow my Google-fu failed here

« first day (3858 days earlier)      last day (1459 days later) »