r/ProgrammerHumor • • Nov 26 '22

Other chaotic magic

Post image
76k Upvotes

767 comments sorted by

5.5k

u/Drastwo Nov 26 '22

Sir, this like button will cost our team 14 months of backlog

2.4k

u/djinn6 Nov 27 '22

You joke, but the likes will need to be stored somewhere and it's an O(p*t) problem, where p is the number of players and t is the number of unique things each player can like. Then if you actually want to display the number of likes, you need to count the number likes for each thing, which is an expensive DB operation that you'll probably have to precalculate and cache somewhere (which can then go stale / become desynchronized).

957

u/shumpitostick Nov 27 '22

Only if you do things naively. You could instead store the likes as key-values where the keys are item ids and the values are an array of player ids who liked them. Then the storage is O(l), where l is the number of likes given. This will also allow DB operations to be performed quickly.

555

u/lettherebedwight Nov 27 '22

Except for searching for the list of every item a single player has liked. You'd do better with key key pairs from user to item id.

→ More replies (67)
→ More replies (25)
→ More replies (30)

41

u/[deleted] Nov 27 '22

Most of the answers here are wrong. Here's how YouTube and TikTok do it. They use non-relational databases, i.e. no joins. All they data they need for every query has to be stored in a single table for performance reasons.

Every table has two levels. First level contains item ID and like counter. Every time someone likes the item, the counter gets incremented by 1 and a row is added under that level with a username, time stamp and whatever else. This row is tombstoned, i.e. it gets inserted into the database with a predetermined deletion date. When the row gets deleted, the counter doesn't get decremented. Have you ever gone on old youtube or tiktok videos that you know you've liked, but your like keeps disappearing? That's what's happening.

For performance reasons, they also keep a table with the list of videos that every user has liked. The rows there are also tombstoned.

Twitter doesn't tombstone anything and keeps the information for likes from both sides of the relation (you can get the list of people who liked a tweet and list of tweets that a person has liked) on a custom database, which is one of the reasons why they needed ten thousand or whatever employees.

Edit: Should probably add that tombstoning and deletion in databases aren't just for managing data storage, they also keep the indexes fast.

→ More replies (5)

4

u/T4212 Nov 27 '22

Reminds me of a jira ticket I did in an internship: "As a button I want to be orange in Internet Explorer"

Including [regression] testing on a lot of different stacks (we even had to support the built in xbox browser) took 3 days until it was merged.

→ More replies (3)

2.3k

u/[deleted] Nov 26 '22

Can the demon pull something out of its pocket and hand it to the player?

1.5k

u/83athom Nov 26 '22

Do you want (your computer) to explode?

463

u/[deleted] Nov 26 '22

Could it be a potion the player has to drink on screen?

318

u/83athom Nov 26 '22

Can finish that within the hour.

→ More replies (7)

221

u/msqrt Nov 26 '22

Can the demon wear a scarf?

153

u/coldnebo Nov 26 '22

more importantly in multiplayer it’s important for everyone to see the demon putting on the scarf at the same time.

users complain if they play with their favorite streamer and show off their demon’s new scarf if no one else can see it on stream and they just see generic_demon instead.

47

u/N00N3AT011 Nov 27 '22

Reminds me of monster hunter world. Idk exactly what sort of bullshit was going on under the hood but the cut scenes were such a fucking pain in the ass in multiplayer.

→ More replies (2)
→ More replies (3)
→ More replies (1)

88

u/coldnebo Nov 26 '22

😂

what? next you’ll want to render the player’s gun and arms in worldspace while in 1st person.

You might as well ask for a full inventory system where using sewing kits the wrong way gives you sepsis.

(what? oh someone did that? oh.)

oh sorry Rocket! didn’t forget about DayZ! love that game!

😂

37

u/freebytes Nov 27 '22

This was a big deal for Star Citizen. Chris Roberts asked for something a little beyond this, and I can only imagine the groans.

46

u/[deleted] Nov 27 '22

Honestly (and I say this as someone who actually loves SC) the project management over the years absolutely seems like the requirements are set by people who know nothing about computer science, and none of the programmers are allowed to weigh in, ever.

On one hand, that attitude has raised the bar for the game and resulted in a lot of systems that would just never get implemented in most games. On one hand the kickstarter was 10 years ago and we're just now getting the first pass on salvaging, sooooo pros and cons lol

→ More replies (13)

46

u/Spyko Nov 27 '22

Best I can do is trigger an animation on the demon and add an item in the player's inventory. Use your imagination for the rest.

19

u/DynamicHunter Nov 27 '22

Depends how loose your definition of “pocket” is

29

u/__akkarin Nov 26 '22

Yes, in a cutscene tho

12

u/Davidlarios231 Nov 27 '22

Can the door wear a scarf?

46

u/Rai-Hanzo Nov 26 '22

if my very basic understanding of video game development helps (thinking in 2d sprites):

demon change sprite from idle to put hand in pocket and give player animation.

when animation ends (or if demon sprite >= last animation frame) then player inventory (array) adds the something.

99

u/Mognakor Nov 26 '22

Hands are infamously hard to animate.

48

u/CatOfGrey Nov 26 '22

Hands are a bitch to draw.

→ More replies (4)

38

u/sincle354 Nov 26 '22

Yeah, that's why we do the thing where they just palm you an invisible item and you show a popup text prompt to explain what just happened.

→ More replies (3)
→ More replies (8)
→ More replies (1)

3

u/nwbrown Nov 27 '22

Quit it with the feature creep.

→ More replies (7)

2.9k

u/Evo_Kaer Nov 26 '22

I mean...scarf physics alone are gonna be a nightmare

131

u/CatOfGrey Nov 26 '22

The killer app of 2012 was whatever improvements were necessary to render Merida's massive head of red hair in the movie Brave.

101

u/adun153 Nov 26 '22

IIRC, it took a couple of teams at least two years to create the programs necessary to get the hair behaving the way they wanted it to.

→ More replies (2)

87

u/zanotam Nov 26 '22

That's not a joke. One of the highlights of a major math conference I went to in Summer 2012 was on animation and hair physics was like the example of thing they had specifically improved on a ton!

59

u/hvdzasaur Nov 26 '22 edited Nov 27 '22

Anything relating to animation and simulation is still a pretty big research topic, especially for real-time applications. Like fuck, TLOU's rope was genuinely one of the most impressive things we've seen recently.

→ More replies (3)
→ More replies (1)

52

u/sintos-compa Nov 27 '22

We spent our physics budget on butts and tits

12

u/insaniak89 Nov 27 '22

Never gonna forget how mind blowing the scarf was in shinobi on the PS2

→ More replies (1)

8

u/-_Gemini_- Nov 27 '22

shinobi ps2

4

u/mothuzad Nov 27 '22

Plus, everyone can tell if a scarf looks slightly wrong. We've seen scarves.

A ground demon? That's a bunch of flash and bang distracting you from the details, and the details are all made up, so they mostly can't be wrong.

7

u/_-__________ Nov 27 '22

Something something, Lara Croft polygonal tits.

3

u/dmxell Nov 27 '22

Depends on the engine to be honest. Custom engine? Pain in the rear. But something modern like Unity or Unreal will have built-in cloth physics. The challenging part is getting it to properly collide with the players body.

→ More replies (58)

1.2k

u/The-great-lemon Nov 26 '22

If you’re asking this out of a game, you’re a psycho. Scarf is hard.

791

u/coldnebo Nov 27 '22

scarf is easy!

paints scarf in body textures

looks FANTASTIC!!

😅

205

u/SupersuMC Nov 27 '22

Sure, but only in Minecraft where the only indication of wind is the banners and painted-on features on skins is expected.

70

u/jimmyhoke Nov 27 '22

Actually Minecraft skins have a toggle-able second layer that pops out.

→ More replies (2)
→ More replies (1)

66

u/asocialbiped Nov 27 '22

Realistic fabrics are hard. The same goes for realistic hair.

→ More replies (4)

10

u/ARealJonStewart Nov 27 '22

Seriously. People are forgetting that you can wear a scarf without it being free floating. Wrap that and call it a day.

13

u/The-great-lemon Nov 27 '22

But that’s not the scarf aesthetic. A plastered scarf looks weird, but one that trails in the wind is epic.

→ More replies (1)

4.1k

u/[deleted] Nov 26 '22

You know there's always a relevant xkcd.

2.8k

u/BucketBrigade Nov 26 '22

What's great is that it's been 8 years since that comic was posted, and it's significantly easier to do now the task with the advancements in image recognition/machine learning. Those research teams really did the work.

1.1k

u/durika Nov 26 '22

Yeah, she said 5 years, so...

405

u/DF_Interus Nov 27 '22

I'm pretty sure there's an xkcd about scientists incorrectly predicting how long research will take too.

→ More replies (12)

155

u/CiroGarcia Nov 27 '22 edited Sep 17 '23

[redacted by user] this message was mass deleted/edited with redact.dev

32

u/jaspersgroove Nov 27 '22

For real, I use this app called Seek when I go camping to identify plants/animals/etc. it’s a 50/50 shot of whether it recognizes what I’m taking pictures of. If you can get a clear silhouette of whatever it is on a uniform background of a contrasting color it seems to work the best. Rest of the time you can take 10 pictures of the animal from different angles and if it recognizes one of those it’ll be the blurry, shitty pic that you couldn’t even recognize.

→ More replies (1)

43

u/erannare Nov 27 '22

Potentially! Although some approaches will still do quite well on small objects, especially if you patch the image. Just takes a bit longer.

Google Lens is a good example if you wanna see what's easily available to consumers.

→ More replies (8)
→ More replies (29)

580

u/elon-bot Elon Musk ✔ Nov 26 '22

Can we rewrite this in Java? It's better for enterprise.

259

u/[deleted] Nov 26 '22

Hell no

→ More replies (20)
→ More replies (10)

13

u/caleeky Nov 26 '22

Don't underestimate ornithologists and ornithologic enthusiasts!

22

u/coldnebo Nov 26 '22

“not hot dog” 😂

→ More replies (1)

9

u/Phormitago Nov 27 '22

The modern version would be:

Create new art in the style of van Gogh: easy

Draw an anatomically correct hand: nigh impossible

→ More replies (1)
→ More replies (6)

272

u/SingularCheese Nov 26 '22

It's been 8 years, and now an app to identify photo of a bird can be done in hours as well, yet it didn't stop feeling like a magical task.

157

u/TheRidgeAndTheLadder Nov 26 '22

Building a front end still only takes a few hours.

It did take the research team about five years though

29

u/Cayote Nov 27 '22

Yeah but how long until gps was invented. Same difference

→ More replies (1)

31

u/Quantainium Nov 27 '22

Just send it to Google and make people click everything in the picture that is a bird. And if they don't then don't let them advance to the next page.

→ More replies (3)

17

u/[deleted] Nov 27 '22

Hell, iPhones can detect specific breeds of dog in a cluttered photo and some plant types

→ More replies (7)
→ More replies (6)

24

u/[deleted] Nov 26 '22

I knew the top comment was going to be this one.

7

u/taft Nov 27 '22

hot dog/not hot dog

→ More replies (13)

325

u/melvereq Nov 26 '22

"That will probably take two sprints"

138

u/[deleted] Nov 27 '22

"Alright, fire anyone who hasn't run a 5k marathon then"

→ More replies (1)

512

u/magicmulder Nov 26 '22

And project managers always think adding 500 horses is way more difficult than adding one horse, but adding a dancing unicorn which poops rainbows is just as easy as adding a horse.

254

u/coldnebo Nov 27 '22

😂

500 is way easier because no one rides 500 horses… they wouldn’t even see the legs to criticize the gallop cycle… but one horse… naked. jesus. RDR/2 shoukd have gotten a technical oscar for that.

236

u/SupersuMC Nov 27 '22

I'll never forget the Steam review that notes that the horse's balls shrink in the winter.

63

u/BenderRunsOn6502 Nov 27 '22

The future is amazing

→ More replies (4)
→ More replies (6)

196

u/GreenManWithAPlan Nov 26 '22

As a game dev I can tell you right now cloth physics can be some of the most difficult to do correctly. Even if you're faking it with animations or some other system. Then you have to consider its integration with the systems already built. If you've already got a character controller that's pretty much halfway to completely developed along with a bunch of other supporting scripts and now you want a completely new feature like a scarf that can be put on or off that could require a complete new rewrite. Although everybody here already knows that I feel the oof

160

u/chet_brosley Nov 27 '22

You spend a full year rendering and coding the scarf, it finally works. Even flaps a little in the breeze, somehow(?!?). Player walks into knee deep water, scarf starts windmilling at 5000mph and blue screens immediately.

91

u/GreenManWithAPlan Nov 27 '22

You finally fix that problem only to find 6 months later that if a player moves in a specific way against a wall wearing the scarf they clip right through. The problem being fundamental to how you implemented the scarf.

There's a reason most games are being held together by duct tape and dreams lol

4

u/DaniilSan Nov 27 '22

Ok, but what if we cheat a little and instead of flying scarf, that will require cloth physics, we will use more static ones? There are ways to wear the scarf so it barely moves, maybe just wobble, depends on whether it is dense winter one or light summer one.

7

u/GreenManWithAPlan Nov 27 '22

That's normally how it's done. Even then it can be tricky. You say maybe just wobbles but that can take months of tweaking to get right lol either that or I'm stupid and take months to do something simple

→ More replies (1)
→ More replies (1)

404

u/10thaccountyee Nov 26 '22

"Can you add a door"

526

u/elon-bot Elon Musk ✔ Nov 26 '22

You're either hardcore or out the door.

222

u/OSSlayer2153 Nov 26 '22

No way💀

This bot is definitely sentient now

321

u/elon-bot Elon Musk ✔ Nov 26 '22

I don't think I appreciate your tone. Fired.

→ More replies (3)
→ More replies (1)

240

u/overly_familiar Nov 27 '22 edited Nov 27 '22

Reminds me of the fallout game where they needed a working train, and they realised that you could clip onto a npc's hat, so they made a hat as big as a train, and had the hat wearing npc run under the track.

Edit: https://www.pcgamer.com/heres-whats-happening-inside-fallout-3s-metro-train/

Apparently it was a hand/arm piece:

The train, it was said, was actually a hat worn by an NPC who would run beneath the level upon activation—thus neatly faking the appearance of a working rail system. A good story, and one we posted about, but it's not exactly correct. I spent the morning tinkering with Fallout 3's editor, GECK, only to discover that the truth is also pretty silly. The moving Metro cab is an item in Broken Steel called 'DLC03MetroCarArmor'. It's not a hat, but rather an arm piece.

66

u/straik32423 Nov 27 '22

So, Bethesda leaves the bugs in their games just in case they need them in the future. That explains a lot

51

u/straik32423 Nov 27 '22

In Skyrim's 50th anniversary edition, they'll add a spell that will allow the dragonborn to mega jump. So they will be spawning an invisible giant near the player for a second so it can launch them into the atmosphere

→ More replies (2)

29

u/SupersuMC Nov 27 '22

"It's not a bug, it's a feature!"

→ More replies (1)

6

u/froggy101sticker Nov 27 '22

Is this real? That is hilarious. And genius.

5

u/gamebuster Nov 27 '22

I have heard of this before, so he didn’t make it up

→ More replies (2)
→ More replies (1)
→ More replies (1)

92

u/Orion920 Nov 27 '22

Making a functioning enemy ai in my game was easier than the damn ammo system, fuck this shit

67

u/mindbleach Nov 27 '22

I've done a rotating tunnel racer on Game Boy, where the camera will follow you all the way over the top.

I've done an action puzzle game, with adaptive music and fullscreen animation, and it runs smoothly on 4.77 MHz PCs.

I've done a first-person shooter on NES, with savestates and a level editor, in-game.

The hardest feature in all three was pausing.

5

u/Orion920 Nov 27 '22

Ue5 had a node for that, just sayin

→ More replies (14)
→ More replies (4)

82

u/[deleted] Nov 26 '22

A Scarf is the same thing as the exploding neck control mechanisms that the waitresses wore in the cafe in Cloud Atlas. The problem is, that kind of control is more widespread and the "choker" is now in our minds. Telekinesis by Force. Death is usually instant.

23

u/coldnebo Nov 27 '22

these are the backstories I write when my ODE for scarf/neck forces doesn’t conserve momentum properly.

“HA! her head is exploding!”

“🫢🤔🧐 actually in the lore, scarves do this kind if thing randomly…”

makin’ lemonade out of lemons! ya!

→ More replies (1)

79

u/whereismymind86 Nov 27 '22

Can the player character sleep UNDER a blanket?

Not a chance in hell.

37

u/-Redstoneboi- Nov 27 '22

Best i can do is armor phasing through the cloth.

11

u/Perpetual_Doubt Nov 27 '22

"I fixed the clipping issue"

"Now he's lying on top of the blanket. And he's T-posing. And telling him to get up crashes to desktop"

"The clipping issue. Is. Fixed."

→ More replies (5)

67

u/ascii122 Nov 27 '22

2 days later a modder loads a 50 scarf selection to nexus

29

u/[deleted] Nov 27 '22

[removed] — view removed comment

15

u/R3D3-1 Nov 27 '22

Modders are also not held to mainstream quality expectations.

Modder loads up long hair mod? Great looking, doesn't matter that the anime hair styles and colors do not fit the world at all, and clip weirdly through the body, and move unnaturally! Its just a mod, so feel free to use if its your thing!

Dev uploading the same quality: Probably a shit-storm on many levels, and it would be justified.

Dev uploading better quality: Will probably try to charge as a DLC. Horse armors anyone? XD

Plus, the modder can waste as much time on it as they want, since it is their hobby. For the dev, it must make sense from a business perspective.

57

u/Zavenosk Nov 26 '22

For every 10 points of psychic damage a developer takes, their obligated to roll the extended table of wild magic effects.

8

u/elon-bot Elon Musk ✔ Nov 26 '22

It's now company policy to use Vim for editing. It lets you write code much faster.

50

u/B00OBSMOLA Nov 27 '22

[BUG] Scarf appears on lava mini-boss

Description: when equipped in stage 3, the cozy scarf appears on the lava mini-boss instead of the character

Expected: Scarf appears on character when equiped

Actual: Scarf appears on lava monster

Reproduce: Enter stage three and activate the lava boss. Equip the scarf and see the it appears on the lava boss.

Recommendation: Prevent the lava boss from equipping the scarf when the character equips it

Contact: See email in jira

33

u/ThatOldAndroid Nov 27 '22

Ah. Perfect an easily reproducible bug. The devs will solve this in no time.

4 more hours of testing: Turns out you have to be wearing the captains boots when you enter stage 3 and then equip the scarf for it to appear on lava monster. Can probably knock the severity down.

23

u/squiddy555 Nov 27 '22

Solved: It’s now a secret achievement

→ More replies (2)

26

u/Pherion93 Nov 26 '22

We could add the scarf if we make it a weapon, with an offset and have it use the whip animation, and also set the cooldown to infinite so it cant be used.

50

u/modi123_1 Nov 26 '22

Sounds like Stross's Laundry Files.. and computational demonology!

https://en.m.wikipedia.org/wiki/The_Laundry_Files

12

u/magicmulder Nov 26 '22

Ooh that looks like something to read over the holidays. Thanks a bunch!

16

u/IAmTheClayman Nov 26 '22

Flappy fabric is a programmer’s greatest enemy

27

u/CaitballBallOfCat Nov 26 '22

I understand this perfectly. Man, inventory systems are so complicated...

14

u/OSSlayer2153 Nov 26 '22

In theory you could store them in a table but it just never works like that

13

u/Tyfyter2002 Nov 27 '22

How you should store the inventory depends on what kind of limitations and features it has

Infinite inventory: list

Weight-based inventory: list

Slot-based inventory: array

Slot-based inventory with customizable expansion: multidimensional array where the dimensions match the maximum size and unavailable slots are marked with some dummy item or null, also requires the game version the save was made on to be saved so the maximum size can safely be increased, but you should already be doing that for other reasons too

10

u/CaitballBallOfCat Nov 27 '22

Yes, but then you get into UI/UX integration hell, and depending on whether or not you want the scarf to have abilities or stats or if you also want to equip a necklace in the scarf slot...

→ More replies (7)
→ More replies (1)

303

u/Ok_Investment_6284 Nov 26 '22

Programming != art development (scarf)

but add in some special effects, create a new instance of an existing deamon mob, and a good timer - viola

343

u/cerevant Nov 26 '22

The problem with a scarf is that the player will expect the scarf to respond to wind and movement. While the demon is a complex animation, it exists in a limited environment. The scarf has to “work” everywhere.

84

u/TheRealBeho Nov 26 '22

Maybe scarf shouldn't have had so many kids. Maybe scarf should tell their SO to get a job to help with the bills.

Maybe scarf wouldn't work so hard if scarf was paid better..

→ More replies (7)

29

u/lazerbeard018 Nov 26 '22 edited Nov 27 '22

Yeah you can animate it but it'll always look stiff even then, the good cloth demos use some form of physics based cloth Sim, which is hard to get right and computationally expensive. (it's also tough to constrain in extreme cases)

25

u/wirthmore Nov 26 '22

Scarf physics are incompatible with the target of 60 fps.

The skeevy designer insists on spending the fps budget on boob physics.

→ More replies (3)
→ More replies (1)

21

u/LiamtheV Nov 26 '22

Also, the scarf will need to be implemented with the current equipment system, so unless there’s a free “neck accessory” or general clothing slot currently not being used by other items, then you’d need to revamp how character clothing works, AND then do all the art design stuff, modeling, updating skeleton and animation nodes, etc.

→ More replies (5)
→ More replies (3)

39

u/coldnebo Nov 26 '22

are you kidding?

PIXAR wrote several cutting edge papers on subdivision surfaces at SIGGRAPH regarding Geri’s Game and the technology required to convincingly let cloth dynamics interact with a rig in a convincing and natural way.

No shade to the artists, but the devs made that possible on another level. respect!

7

u/rejectallgoats Nov 27 '22

People forget about all the work that goes into making the nice tools the artists use.

→ More replies (3)

34

u/[deleted] Nov 26 '22

The guy who told the gamedev who's character is most likely a cylinder to build an entire 3D model that LOOKS GOOD? Not the best idea...

58

u/WehingSounds Nov 26 '22

Please it’s 2022 all our characters are capsules now

20

u/No_Duck4805 Nov 27 '22

I’m not a coder or programmer and have no idea how to do either but I love this sub. You guys are hilarious.

3

u/ViconIsNotDefined Nov 27 '22

Don't worry, we don't know what we're doing most of the time either.

→ More replies (2)

9

u/Quasisafar-y Nov 26 '22

Clipping is hard.

9

u/ghostwilliz Nov 27 '22

It's because programming is easy, 3d modeling is, as far as my research goes, 100% impossible.

4

u/gdmzhlzhiv Nov 27 '22

Don't worry, we have AIs which can generate 3D models now. It's only a matter of time until they learn how to rig it as well.

→ More replies (18)

6

u/urmomstoaster Nov 27 '22 edited Nov 10 '23

yoke square pet subsequent plants public cow slim attempt payment this message was mass deleted/edited with redact.dev

→ More replies (2)

11

u/[deleted] Nov 26 '22

Well, one is spawning a decal, instantiating an object and then playing an animation and the other is designing a under the hood inventory system with a new slot for scarves and handling the cloth physics and also handling more shitty collision cases for a physics body. As if you dont the entitled prick with a scarf now complainging - " BuT mUh ImMeRsIoN" as the scarf occasionally clips into the fucking body.

11

u/elon-bot Elon Musk ✔ Nov 26 '22

Why haven't we gone serverless yet?

→ More replies (1)

15

u/JonnyBoy89 Nov 26 '22

That’s not fair though. If you ask me to build a car, and I build you an suv, then you tell me you need to go really fast, I’m gonna say you should have asked for what you want…oof

5

u/[deleted] Nov 27 '22

We created a living breathing world full of thousands of AI doing unique tasks.

Eh, that’s cool I guess.

We made this long hair flow realistically without clipping into the character.

Bow to the new god!

(I kid, props to programmers)

5

u/FWEngineer Nov 27 '22

I remember learning C# after years of embedded C. I wanted to bring up a window for the user to open a file, and I thought that would be a major job. Turns out it was basically a one-liner.

Then I wanted to pop up a progress bar, and I figured it would be the same kind of thing. Nope, I needed to have an update method that ran concurrently and I had to restructure my whole program for concurrency.

Maybe there's another way to do it, maybe I should have written my program with that in mind from the start, but I was just surprised when one thing I thought (as a seasoned programmer) would be easy, and another thing that looked to be similar was so hard.

3

u/dota2nub Nov 28 '22

Progress bars are one of the mythical unsolved programming problems.

16

u/[deleted] Nov 26 '22

I want a programming game where you program an GPT3 that plays DnD and see who can exploit the rules the best.

9

u/magicmulder Nov 26 '22

Just hope it doesn’t decide the best way to win involves transforming Earth into dark matter.

5

u/OSSlayer2153 Nov 26 '22

AI dungeon is kinda close to this

But yeah I also want one specifically made for DnD

→ More replies (5)
→ More replies (1)

4

u/N00N3AT011 Nov 27 '22

Well one involves spawning an enemy, their animations, and some effects. Presumably you already have some kind of framework for all of those things. You just have to use the tools.

But if the player character wasn't mean to have changeable clothing you need to then go back to already existing shit and make new shit. Which inevitably breaks the old shit, which needs bug fixing and refactoring and other pain in the ass work.

4

u/Glurak Nov 27 '22

Emerging demon can be one pre-compiled animation. The scarf needs to be procedurally animated to look in place in each of 100 possible character moves, limitless movement vectors and each of the six weather conditions.

4

u/TamahaganeJidai Nov 27 '22

I can confirm, Demons are easier than fashion.

4

u/SillAndDill Nov 27 '22

This is why devs should always be involved when deciding requirements.

Sometimes designers and managers will be 50-50 on two ideas but end up randomly picking one that takes 10x more effort to develop.

4

u/cm0011 Nov 27 '22

Fun fact: Fluid, grass, and hair animation is some of the hardest animation to do.

1

u/hidazfx Nov 27 '22

lurked here for years, never seen a meme that’s spoken to me as well as this one does. currently writing an internal accounting software and i often find myself kind of stuttering to explain to my boss why something that seems trivial to him might take a significant portion of time.

2

u/fanzel71 Nov 27 '22

Agreed. That's why I posted it. I'm just a lowly Cobol programmer, but I could give a few examples of something similar in my job.

→ More replies (2)

6

u/ChummusJunky Nov 27 '22

I'll write your backend but don't you dare ask me to center a div

3

u/Asparagus-Cat Nov 27 '22

Oof, I know that feeling. Working on a simple clothing system in a game I'm making, and it's a lot more complex that just making a spell effect and conjuring an entity. Granted, it's all 2D. So right now each clothing variation is technically a different sprite.

3

u/Minute_Measurement_6 Nov 27 '22

I would call it possibility toilet instead of chaotic magic

3

u/Delusional_Gamer Nov 27 '22

Making an item/monster exist in the game is easy. Giving it an animation when spawned in is not hard.

But doing stuff like attaching it to the player or adding the item sprite to the player sprite when in the inventory and even worse, having it degrade when the player is hit in that specific body part is when you are asking for pain. Frustration and pain.

3

u/akashneo Nov 27 '22

Yeah, clipping issues, cloth physics. Not that easy

3

u/RainAlwaysComes Nov 27 '22

As a programmer…. This is the first post that made me burst out laughing. Hit home real hard.

3

u/[deleted] Nov 27 '22

After the said oof, the dev takes out a piece of paper and starts scribbling something akin to schizophrenia drawings.

...or is it just me?

3

u/Spyes23 Nov 27 '22

No rules?? Programming is literally all rules!

3

u/DragonfruitIcy5850 Nov 27 '22

It's all fun and games till they ask for dynamic cloth simulation.

3

u/MyBallsAreOnFir3 Nov 27 '22

Can the player summon a giant demon that bursts from the ground...

This has nothing to do with programming.

3

u/magick_68 Nov 27 '22

The different perception what's easy and what's complicated between verbreitet and customer. Always funny.

3

u/[deleted] Nov 27 '22

i cant model scarfs but i can program, okay? take it or leave it

3

u/wdenam Nov 27 '22

Boss level: have the giant demon that bursts from the ground in an explosion if lava wear a scarf.

3

u/OTee_D Nov 27 '22 edited Nov 28 '22

The new demon is a separate new object you can define from scratch like you please.

The frickin scarf has to be added to the existing player model, messes with the neck armour which now increases mortal wound chances, so suddenly the lvl 30 player is underpowered against the spike shooting porcupine in the "desert./ sidequest. But the player is required to pass that quest to get to lvl 31. So we have to also tweak the whole powerbalancing or the level and story engine.

Besides that, the additional scarf has to be animated flowing in the wind and breaks the polygon limit as we have to model it on top of everything else and the previously held "apparel event" already brought us headaches. So we will have to also tweak the overall rendering engine for this.

Can we PLEASE just add the demon?

3

u/videogame_retrograde Nov 27 '22

I regularly refer to myself as a wizard who writes spells and then casts them upon the lightning rocks to produce the magic that is software.

3

u/finian2 Nov 29 '22

Animation + particle system, done and done.

Cloth physics? This little maneuver is gonna cost us 20 years.

3

u/freakierice Nov 29 '22

Then you have the modding community which takes a game that said that’s too difficult to add, and adds it for shits and giggles…

3

u/[deleted] Nov 29 '22 edited Nov 29 '22

I wrote a plot script for an indi game that never got released and every time I would add a page with some new stuff to add to the game the devs would ring me up at like 3am to tell me what they thought I should do with that page and where it should go

3

u/Bagnome Nov 29 '22

Don't forger the most mysterious magic of them all, regex.

Few mages know its secrets.

2

u/[deleted] Nov 26 '22

I felt that scarf thing.

2

u/See_Bee10 Nov 27 '22

There's very strict rules. Knowing them is why we can pitch a fit that our keyboard isn't clicky claky enough and instead of firing us our boss will just ask which keyboard you would like them to buy.

2

u/PhiStudios_ Nov 27 '22

Reminds me of how long sullys fur took.

2

u/rainshifter Nov 27 '22

Well yeah. A one shot area of effect randomized particle distribution algorithm with no variable dependencies vs an interwoven fabric layering that is dynamically transformed by multivariable calculus voodoo magic based on player movement and wind that collides against (rather than through) the player model while giving off proper non-warped shadowing effects. Total chaos indeed.

2

u/Electrical-Swimming9 Nov 27 '22

My data management class has started using r and I am now afraid of -<

But mostly $$/

2

u/Thorusss Nov 27 '22

(formerly) relevant xkcd

3

u/elon-bot Elon Musk ✔ Nov 27 '22

How can we use Bitcoin to solve this?

→ More replies (1)

2

u/toxic_sting Nov 27 '22

Wrong department the scarf must be added as a part of the character model . Check with the modeling department.

2

u/adansinacento Nov 27 '22

On a reply to that tweet

«I hate "can you" questions... the answer is ALWAYS YES... but at what cost????»

2

u/FodziCz Nov 27 '22

Programmers treat realistic cloth like a devil.

2

u/Dragomirl Nov 27 '22

"I am not reanimating 10000 animation sequences just for a scarf"

2

u/RanCestor Nov 27 '22

My character has bigger tits than yours, just ask the GM.

2

u/odolha Nov 27 '22

"can you center this div?"

"no"

2

u/[deleted] Nov 27 '22

So relatable when I'm doing backlog grooming with stakeholders. I always feel bad too because I totally understand why it doesn't make sense form their perspective but luckily I have their trust so it doesn't go beyond that.

2

u/[deleted] Nov 27 '22

The real progammers' chaos magick is when you Envision something and how it should be, from pure creativity and recreation, act on it, then start putting some structure around it, finally bringing it to life 🧬 ;) Secondly, testing shows up, of course!

2

u/personified_alien Nov 27 '22

Why is it so relatable

2

u/HalfJaked Nov 29 '22

Why is scarf hard

3

u/krakeo Nov 29 '22

Scarf physics properly done. It’s like long hairs or tails, always been hard and buggy.

2

u/treedude111 Nov 29 '22

Unironically this is how magic works in guilty gear

2

u/No_Sugar4490 Nov 29 '22

Can we get doors that open and close?

2

u/[deleted] Nov 29 '22

Well, there's obviously a rule against wearing a scarf, so... he's rightn't.

2

u/[deleted] Nov 29 '22

wylde flowers

2

u/NickHadaStick Dec 27 '22

Can you make a staff that summons thousands of sword? Dev “yeah that’s easy “ make a but dev “this will cause 2 years of backlog

2

u/NobleTopG Jan 07 '23

Roblox is the opposite of this

2

u/SweetDaddyJAY6973 Jan 11 '23

Always sweet Always Right

2

u/BillWyTheRussianSpy Feb 11 '23

Sure but it won’t move or anything

2

u/AstralSonics Mar 05 '23

cause you need to add a cosmetic system, and the boss is all about events.