81
submitted 7 months ago by neurosnail@lemmy.world to c/games@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] towerful@programming.dev 9 points 7 months ago* (last edited 7 months ago)

Proceedurally.
So, "hands are supposed to be here" and the arms figure out the rest.
By the time add in "finger pointing at this" combined with spells to make your thumb big (or whatever, ultimately everything is made at a base level to allow for a lot of creativity further up the stack) means the finger might drive the scaling of the arm.

Same with the strange jumping. Body "jumped" in a downwards direction, and the feet animated correctly in an upwards direction. Ends up with a body doing a strange wrap around itself as it figures out how the feet can be above the torso.

Walking books might be a really easy way to animate a book flying around, have physics and a health pool without having to create a whole new object/entity class (just inherit all the features and disable the standard person/object body).

The faces-talking-out-the-head thing is animation data imported with the wrong scaling. Some parts can just move to where the animation says they are, others warp the geometry of the rest of the model.

Remember that a lot of the models and animation will be made with no idea how they end up being used, at the same time as they are actually programmed into the game. There might be some iteration, but its not like they know the end result, make the models, make the animations, make the game. All this happens at the same time, and any iteration might set multiple departments back days or weeks.
So, super flexible APIs, models and animations are designed at the start in a way that allows for a small amount of specialisation and iteration, but the rest is all "bodge what you have available". Ultimately if it isnt flexible enough early in development then its going to cost a lot to fix

[-] Toribor@corndog.social 6 points 7 months ago

Every time I think about this sort of thing I remember that in Fallout 3 the developers added a moving train to the game by making the train a hat that was worn by a man that ran really fast underneath the ground to make the train move.

[-] echodot@feddit.uk 4 points 7 months ago

They did the same thing in Half Life because the game engine couldn't support moving vehicles that were not physics objects.

this post was submitted on 13 Feb 2024
81 points (73.4% liked)

Games

31841 readers
1078 users here now

Welcome to the largest gaming community on Lemmy! Discussion for all kinds of games. Video games, tabletop games, card games etc.

Weekly Threads:

What Are You Playing?

The Weekly Discussion Topic

Rules:

  1. Submissions have to be related to games

  2. No bigotry or harassment, be civil

  3. No excessive self-promotion

  4. Stay on-topic; no memes, funny videos, giveaways, reposts, or low-effort posts

  5. Mark Spoilers and NSFW

  6. No linking to piracy

More information about the community rules can be found here.

founded 1 year ago
MODERATORS