Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. At least it works

At least it works

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
24 Posts 20 Posters 2 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J [email protected]

    Why would dog extend human?

    L This user is from outside of this forum
    L This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #9

    Hmm, 4 limbs, 2 eyes, 2 ears, mammal...
    Close enough???

    J 1 Reply Last reply
    20
    • M [email protected]

      It doesn't. It clips.

      R This user is from outside of this forum
      R This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #10

      So does the human.

      1 Reply Last reply
      2
      • J [email protected]

        Why would dog extend human?

        B This user is from outside of this forum
        B This user is from outside of this forum
        [email protected]
        wrote on last edited by [email protected]
        #11

        In modern games, I think it's fairly common to have a common 3d skeletons share names. So you can make animations like the one above apply to any character even if they have differences. It doesn't mean that dog extends human, but it may mean that a dog model shares a lot of common "bones", that are used for movement, with a human model.

        So when a human animation is applied to the dog, you can see it warp to start position of the animation, move, and then then stop at the end position as a standing human, before warping back to idle animation (when it turns back into the dog shape)

        Related, weapons in Destiny also share the same components across weapon types, and bugs have caused one weapon type to be used for another weapon, making funny things happen.
        Like how a hand canon (pistol) stretches like a bow because it's model got used in place of the bow model at the start of this clip:

        https://www.youtube.com/watch?v=0YZa9vv5U0M

        1 Reply Last reply
        1
        • J [email protected]

          Why would dog extend human?

          U This user is from outside of this forum
          U This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #12

          Yeah, seems weird.
          Normally one would use multiple horses and some ropes for that.
          No idea how you would manage that with a single dog

          1 Reply Last reply
          1
          • L [email protected]

            Hmm, 4 limbs, 2 eyes, 2 ears, mammal...
            Close enough???

            J This user is from outside of this forum
            J This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #13

            See you just said mammal. Why not have them both extend from that? Then they define a property or a method which modifies how they jump over a fence.

            1 Reply Last reply
            2
            • J [email protected]

              Why would dog extend human?

              W This user is from outside of this forum
              W This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #14

              They probably thought that all their NPCs would be human when they started the game, so they named their NPC class Human. Then they decided to add dogs, but needed them to do a lot of the same things the human NPCs did, so they made the Dog class a subclass of Human.

              J dandelion@lemmy.blahaj.zoneD L 3 Replies Last reply
              12
              • W [email protected]

                They probably thought that all their NPCs would be human when they started the game, so they named their NPC class Human. Then they decided to add dogs, but needed them to do a lot of the same things the human NPCs did, so they made the Dog class a subclass of Human.

                J This user is from outside of this forum
                J This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #15

                What is refactoring?

                1 Reply Last reply
                4
                • W [email protected]

                  They probably thought that all their NPCs would be human when they started the game, so they named their NPC class Human. Then they decided to add dogs, but needed them to do a lot of the same things the human NPCs did, so they made the Dog class a subclass of Human.

                  dandelion@lemmy.blahaj.zoneD This user is from outside of this forum
                  dandelion@lemmy.blahaj.zoneD This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #16

                  it's probably so much worse

                  1 Reply Last reply
                  4
                  • D [email protected]
                    This post did not contain any content.
                    Z This user is from outside of this forum
                    Z This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #17

                    Why not let the dog walk under the barrier 🤔.

                    whotookkarl@lemmy.worldW R 2 Replies Last reply
                    5
                    • J [email protected]

                      Why would dog extend human?

                      U This user is from outside of this forum
                      U This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #18

                      ND answer is because the dev made the Human class before abstracting everything into the Entity class, dog should extend a game entity and not inherit the human animation behavior.

                      1 Reply Last reply
                      3
                      • Z [email protected]

                        Why not let the dog walk under the barrier 🤔.

                        whotookkarl@lemmy.worldW This user is from outside of this forum
                        whotookkarl@lemmy.worldW This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #19

                        Special animation just for dog?

                        silent hill 2 dog ending

                        1 Reply Last reply
                        7
                        • teft@lemmy.worldT [email protected]

                          Is that Dogmeat or the Thing?

                          whotookkarl@lemmy.worldW This user is from outside of this forum
                          whotookkarl@lemmy.worldW This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #20

                          T[errier]-1000

                          teft@lemmy.worldT 1 Reply Last reply
                          4
                          • whotookkarl@lemmy.worldW [email protected]

                            T[errier]-1000

                            teft@lemmy.worldT This user is from outside of this forum
                            teft@lemmy.worldT This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #21

                            Same images:

                            1 Reply Last reply
                            10
                            • Z [email protected]

                              Why not let the dog walk under the barrier 🤔.

                              R This user is from outside of this forum
                              R This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #22

                              What if the dog walks through a wall because of that? Thats a risk that cannot be taken

                              1 Reply Last reply
                              4
                              • W [email protected]

                                They probably thought that all their NPCs would be human when they started the game, so they named their NPC class Human. Then they decided to add dogs, but needed them to do a lot of the same things the human NPCs did, so they made the Dog class a subclass of Human.

                                L This user is from outside of this forum
                                L This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #23

                                Object oriented programming was a mistake

                                1 Reply Last reply
                                2
                                • J [email protected]

                                  Why would dog extend human?

                                  S This user is from outside of this forum
                                  S This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #24

                                  IIRC, the screen recording is from a mod of a game. The original game didn't have dogs, just humans, and the modder decided to make the dog NPC from a human NPC and forgot to override that one animation.

                                  1 Reply Last reply
                                  3
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • World
                                  • Users
                                  • Groups