My Thoughts on the New OGL 1.2

I’ve answered the survey as requested but I’m putting them here to for completion’s sake.

Posted in Gaming, Practice, Role-Playing, Thinking Out Loud and tagged , by with comments disabled.

Unity Tidbit: WaitUntil, WaitWhile

If you’ve been working with Unity for any sort of while you’ve probably used Coroutines before. They’re not exactly the bread and butter of using Unity but they’re like the jam or honey you put immediately after. You’ve probably used a lot of “yield return null” to wait for the next frame before resuming execution? I bet you even have used a “yield return null” loop to check a predicate every frame before continuing. I’ve done it myself. I’ve even written a repeating coroutine helper that uses null to check a predicate before running a given action. Well… stop that. Recently (and by ‘recently’, I mean at least a year) Unity now has two new conditions you can use in coroutines: WaitUntil and WaitWhile and they do exactly what you think they do. Just use any of these two instead of your usual “yield return” and put in a function (even a lambda) that returns a boolean then the coroutine will handle the checking by itself. It’ll check every frame if the predicate is fulfilled and will break if it is or isn’t, respectively. The underlying code this represents is exactly the same like you wrote yourself before but now your code can be a lot more elegant. You’re welcome.

Posted in IT, No Category, Programming and tagged , , , by with comments disabled.

Hasbro Bought D&D Beyond – Thoughts

I saw this video in my feed and if you’re into D&D and especially DDB, you should check this out. 1. Right now, Foundry is the benchmark, king-of-the-hill of VTTs. Nothing comes close. Not Roll20, not FG, and not what DDB has to offer. And at current rate of development, with both Roll20 and DDB working with small teams and Foundry having a small base team but a ton of community developers, I don’t see anyone able to catch up to that. I’m currently at a point that I truly treat DDB as a convenient, digital, online source… to get my D&D material and that’s it. Pretty much everything else I do on Foundry, and with no added subscriptions. I buy the software, I buy the materials, my players just log in. It’s, as if we have one set of books that everyone share at a single table. The D&D 5E version on Foundry even recently added a better level-up mechanism so I only need to download the content (possible through an amazing community developer) to Foundry and that’s it. Unless WotC decide no one is allowed to use D&D in online tools (which will probably be against their SRD and start a huge outcry) it’s not gonna change. 2. With Demiplane on the field, soon Pathfinder, Vampire, even Marvel’s new game will have the same capabilities as D&D in the online space. 3. In the video game space, a lot of companies get bought because the buyer see the Continue Reading →

Posted in Gaming, Role-Playing, Thinking Out Loud by with comments disabled.

Useful C# Features (or “Cool Things You Didn’t Know You Could Use in Unity”)

1. Tuples & Discards! Tuples is something more dynamic languages like JavaScript have been holding over the more static languages for a while. It allows you to do more with less action (higher level ones, that is). While tuples have existed in C# before as a class of their own, they are now getting a proper implementation. It basically makes a complex variable/object without having to predefine it using a class or a struct. You can even use it to return more than one element from a method(!!!). Unfortunately, the Unity editor doesn’t support handling those kinds of returns yet but they are still useful inside your scripts. Discards are those underscores you see in the example below. It allows you to deconstruct a tuple and discard the data you don’t want, only keeping what you actually need in its own named variable. 2. Pattern Matching! Pattern matching allows you to test a runtime type in an if or switch statement and then convert it to that specific type all in a single statement! It also increases the power of switch, allowing you to do a lot more with less and create much more complex testing blocks. 3. Local functions Local functions is currently one of my favorite features in C#. You could already create functions inside functions by assigning a block into an Action or Func variable but now you can just define an anonymous function and not worry about what returns or not returns a value or where Continue Reading →

Posted in IT, No Category, Programming by with comments disabled.

News: Average User has no Concept of How Much Game Dev Costs

Recently, some clueless joe on Twitter said he will pay 10,000$ to the person who adds a multiplayer aspect to Zelda: Breath of the Wild. If he was going to donate to a modder who was working on it, that would have been fine but it seems like he was thinking that he could hire someone to do something like that for that kind of money. Here is a long, detailed response to this which you should read but here’s the summary: 10,000$ would pay for about two work months of the average+ programmer. Also, networking is hard. The hardest networking challenges in gaming usually arise in fighting games because they usually need to be exactly per pixel and per frame accurate and, probably over distances where network traffic takes more time to go back and forth than it takes pro players twitch reflexes to react. You can see how important this is if you go back and read about the network woes of Street Fighter V. Now, the demands of a PvE, open world, action RPG would probably be a lot less strict but these are still difficult problems. Especially if you’re talking about tacking on something like this onto a game that was definitely not designed for it. You want a more current example? On the one hand, Battlefield 2042 is out now and it’s buggy as hell. On the other hand, Halo Infinite’s multiplayer is also out and it’s much better. Probably because the team is backed Continue Reading →

Posted in Gaming, Less Interesting News, Practice, Programming, Thinking Out Loud by with comments disabled.

Portugal just became nicer to employees

Portugal recently passed a law they fondly call “Right to Rest”. It contains various measures to help employees have a better work-life balance such as the ability to work remotely when you need to take care of a child or companies contributing to household bills when an employee is working remotely a lot. But the nicest thing about it is indeed the ban on contacting employees after work hours. I’m guessing there is a stipulation about emergencies or people like server administrators and doctors who are supposed to be on call but the fact it’s enshrined in law is just amazing. Kinda makes me want to move to Portugal. :)

Posted in High-Tech, IT, Less Interesting News, Practice, Thinking Out Loud by with comments disabled.

Far Cry 6, PETA, and are Games Educational?

Recently, PETA criticised Ubisoft for including a cockfighting mini-game in their recent franchise title Far Cry 6. And that got me thinking about what is ok or not ok to include in a game. I completely understand why Far Cry 6, which occurs in a Cuban-esque island country called Yara, includes that aspect. Cuba, a country under heavy sanctions, makes due with whatever they have at hand. And, as far as entertainment goes, while cockfighting is a horrible practice in your regular western-aligned countries, it is not exactly frowned upon in Cuba. So, Far Cry 6 appropriating this symbol for immersion purposes is understandable. On the other hand, I also completely understand why PETA would criticise this. Far Cry is a very popular franchise. At the time of writing, it has sold poorer than its predecessor but that still puts it above 10 million units moved. That’s a lot of people being exposed to this segment, engaging with cockfighting in a way that might be unhealthy in the future. In the game itself, you do play the cockfighting mini-game in a fighting game style, as a animal encouraged to viciously peck, rip, and tear another animal, both of which were probably forced into this against their will. So, think about that 13-year-old kid who just got his hands on the new, popular AAA title all their friends are playing and this is the first time they sees something like cockfighting. If that’s the first time they engaged with that sort Continue Reading →

Posted in Gaming, Humanity, Thinking Out Loud by with comments disabled.

My Foundry Setup

I have been asked about my Foundry setup and what I did to make everything so smooth, easy, and cool. I decided to not do a video about it because most of the modules I use already do a very fine job explaining themselves and Encounter Library already has an extensive set of tutorial videos.So, here are the modules I use with a short explanation of what exactly they do.

Posted in Gaming, Role-Playing, Thinking Out Loud by with comments disabled.

I had a conversation with Riku Nuottajärvi

This might not mean a lot to a lot of people but it’s something I am very much enthused about! The story is Matt Mercer tweeted about that music track in a game that just breaks you. I said it’s the Yehat Theme Music from Star Control II. Then Riku Nuottajärvi liked that tweet and I lost it a bit. And he answered me! That’s the person who wrote a lot of the music that accompanied me through the nineties. So, I’m keeping this as a memento. :)

Posted in Art, Gaming, Geekdom, No Category by with comments disabled.

מחוננים – אואטר: זיקית (3), חלק ד’

“כמה זמן אמרנו שאנחנו נותנים לזה?” איתן הסתכל על שעונו. “כמה שצריך,” סטטית אמרה בקשר. “זה כבר הפאב השמיני בעשרה ימים. כבר שכחתי איך אור שמש נראה.” “אל תתבכיין. אתה רק צריך לשבת שם ולהיראות כאילו אתה שותה. אם החברים שלך היו יודעים מה אתה עושה, כל אחד מהם היה מתחלף איתך בשנייה.” “כן, המפקדת.” איתן התיישר ושוב העביר את מבטו על הנוכחים בפאב. “‘סטטית’ זה מספיק טוב.” “אבל ברצינות,” איתן אמר, אבל הקשר היה שקט. “הלו? מישהו?” “שקט,” הדממה התריס. “אני חושבת שאני קולטת משהו,” סטטית הוסיפה. אואטר הסיט את מבטו לצד אחד של הפאב. סטטית ישבה בשולחן צדדי, סורקת כל מי שנכנס. עכשיו היא הייתה עם ידה על רקתה, כאילו יש לה מיגרנה. הוא הסתכל לצד השני. הדממה והדף ישבו בשולחן בצד השני. הדף נראתה מאוד מרוכזת באיזה שהוא קוקטייל בעוד הדממה ישב דרוך, אצבעותיו לבנות סביב הבירה שהחזיק. “בעוד 3…” סטטית התחילה, “2… 1…” הייתה שנייה מתוחה נוספת שהרגישה כאילו כל הפאב האט ואז חזר לעצמו כשבדלת עברה אישה צעירה. עשרה גבוה או 20 נמוך, לפי הערכתו של איתן. היא הייתה קצת נמוכה, עם שיער שחור מבריק עד הכתפיים. היא לבשה שמלת מיני כחולה כהה, עם רצועת כתף אחת, שהייתה כל כך צמודה עד כדי לא להשאיר מקום לדמיון. נעלי העקב שנתנו לה את השדרוג הנחוץ לגובה התאימו לשמלה. היא הסתכלה מסביב כמשחרת לטרף לפני שפנתה לכיוונו של שולחן פנוי וקרוב. “אז מה התוכנית?” איתן שאל. “אני פתוחה להצעות,” סטטית ענתה. היה שקט ארוך בקשר. “יש לי רעיון,” איתן אמר. הוא רוקן את בקבוק הבירה שלו והניח אותו חזרה Continue Reading →

Posted in Art, From the Writing Desk, Stories and tagged , , by with comments disabled.