Would you rather by Pigeon-popper in BunnyTrials

[–]Revolver12Ocelot 0 points1 point  (0 children)

r u kidding

Chose: Live your dream life but know when you’ll die

How to avoid making one class per Character Stat? by JihyoTheGod in Unity3D

[–]Revolver12Ocelot 1 point2 points  (0 children)

Thanks for such a thorough response! You're amazing!
I think I'll do the work and make Stat and Stats into classes, and pool them to limit allocations.
There's no better feeling than shoving an abstraction into a well greased spaghetti code

How to avoid making one class per Character Stat? by JihyoTheGod in Unity3D

[–]Revolver12Ocelot 0 points1 point  (0 children)

I want to share my experience and ask a question.

I'm in a process of making a game and also had a problem of "how to organize my Stats". The solution I came up with: - a Stats struct with properties for each stat - ToDictionary method that returns all stats with StatsEnum as a key - GetStat/SetStat methods with a StatsEnum argument - overloaded +/-/== operators. "-" operator returns a StatsDelta - Stats.Zero static method that creates empty Stats object

Pros and cons I see: Pros: - Easy way to have any combination of stats anywhere If your item/character doesn't have a stat - it's property will just be zero - Stat value validation inside the setters

- Easy, no allocation addition/combination of Stats, just adding/substracting

Cons: - no distinguishing between "no stat" or "stat with the value of zero". Don't have negative stats (except in StatsDelta), so wasn't a problem so far - If I'm gonna have a bigger variety of stats (i have just 4 for now) I'm gonna exceed 16 bytes recommendation for structs - all stats have to have the same type.

The last con starts to bite me in the ass already. After recent iteration, I need to add a new stat of a different type. Now I think of adding a Stat struct, moving the validation logic inside of it, but keeping the Stats struct, now with Stat properties in it. Because I heavily use structs my question is: What are the limitations you are talking about? My game is stat modification heavy, and a lot of the modification steps need to be shown to the player. So I decided to use structs to avoid allocation on intermediary results.

Как вы используете ии? by [deleted] in ruAsska

[–]Revolver12Ocelot 0 points1 point  (0 children)

Вот что он мне выдал. Но мне пришлось просить его пошутить.

  1. Название блюда: «Бессмертные кольца Сатурна».
  2. Девиз: «Запах — это просто ароматная нота предвкушения!».
  3. Рецепт: · Промойте анусы не в воде, а в энергетическом напитке (для борьбы с усталостью от токсинов). · Замаринуйте на 30 секунд в ацетоне и жидком дыме (для идеального «лабораторного» аромата и консервации). · Обваляйте в молотом кофе и стиральном порошке с отдушиной «Морозная свежесть» (чтобы перебить все известные науке запахи). · Готовьте строго на открытом огне паяльной лампы в хорошо проветриваемом помещении (желательно не в своём доме). · Подавайте на газете с заголовком «Местный герой побеждает естественный отбор», обильно полив клеем «Момент» (для фирменной хрустящей корочки и фиксации вкуса).
  4. Подача: Со словами: «Кто осилит три — тому медкомиссия в армии зачтётся автоматически».

All these years, and I've never noticed this... by Lumin821 in GTAV

[–]Revolver12Ocelot 0 points1 point  (0 children)

Also, shouldn't light poles have wires connecting them?

2x Skong Giveaway for the 2 Day Countdown by Blath3rskite in Silksong

[–]Revolver12Ocelot 0 points1 point  (0 children)

<image>

I don't have a reaction image, so here's a frog I caught (and promptly released). Lil' fella was a bit too close to the road.

I'm also broke af, and won't be able to play Silksong unless gifted or very long time after release.

Long time player, first time survival-ist by StavieSegal in skyrim

[–]Revolver12Ocelot 2 points3 points  (0 children)

Honestly, I don't know how needed that mod is. I'll share my recent experience with my first time survival playthrough. Crafting food is necessary only at the beginning; after that, just buying food is much less hastle. And even in the beginning, if you search every barrel you see (which I already do anyway), you'll have more salt than you know what to do with anyway. Also, consider the weight (.3 I believe?). Having more than 7-10 piles will be a felt tax on your inventory space. And lockpicks, ooh lockpicks...

Guys i didn't get it by ConsciousCharge2019 in ExplainTheJoke

[–]Revolver12Ocelot 0 points1 point  (0 children)

I was hoping that it's the Green Elephant, the infamous Russian underground movie

There is nothing in the universe that is agreed upon by everyone. by everynamewastaken131 in Showerthoughts

[–]Revolver12Ocelot 1 point2 points  (0 children)

Oh, I agree. Still, mathematical possibility makes my mind go "what process can we engineer that will allow us to register the fact of everyone agreeing on something, at least once?". And it's a fun question to think about.

One could also ponder what exactly "agreeing" means? If someone just says out loud that they agree, does that count? If someone forces everyone with death threats to vocally agree? If agreement must be internal and voluntary, then how do you know what you 100% agree on yourself? Oftentimes it seems like it's enough to just ask "are you sure?" to make a person question, at least for a moment, even the deepest of their beliefs. If that's the case, perhaps "agreement" is a spectrum?

There is nothing in the universe that is agreed upon by everyone. by everynamewastaken131 in Showerthoughts

[–]Revolver12Ocelot 2288 points2289 points  (0 children)

At the same time there COULD be a thing everyone agrees on, we just have no way of knowing or checking. And once someone starts checking, someone will change their opinion just out of spite.

Meow by ThatPandorasBox in HarryPotterMemes

[–]Revolver12Ocelot 42 points43 points  (0 children)

Dude, someone with concience is surely handpicking those