45

Do u know what else is dieded here ?

Comments
  • 17
    Dieded. Yesn't. Jobn't.
  • 3
    English 💯
  • 2
    Has the player made a diet?
  • 7
    Are you guys really adding rigid body every second?
  • 2
    LoL I also do this sometimes, bc you have a function to actually determine if it's dead, then the death animation so you need to different functions
  • 2
    @Agred this the first thing I noticed as well. Thought it was about that until I saw the dieded method.
  • 4
    Die Bart, die
  • 1
    Looks like someone could learn quite a bit from Ruby and Rails.
  • 1
    Late night coding...
  • 0
    I usually just add some sort of Manager GameObject in the scene that processes all kinds of returned values from other objects and scripts.
  • 1
    @Agred no, they're not. they wait for a second (after the character has stepped on a tile, i assume) and then add a rigidbody to make it fall. then the function ends. it would have to be in a loop for it to happen every second, instead of "after a second".

    basically your standard floor that breaks a moment after you've stepped on it
Add Comment