• Register
Post news Report RSS Crushers Fixed! (again)

Fixed those pesky crushers! I was getting quite a bit of feedback on the crushers / stampers. There was confusion as to why they kill on contact even when not directly under them. Originally this was the intended function.

Posted by on

So I was getting quite a bit of feedback on the crushers / stampers. There was confusion as to why they kill on contact even when not directly under them. Originally this was the intended function. As the game grows and I get further into development, certain aspects change and others become annoying, or just plain silly. - Like the crushers...

After hours of trying to fix them, I almost scraped them entirely, until I gave it one more try.

  • I added a variable "isMoving" (true/false) to the crusher.
  • When moving down "isMoving" is true and the cruasher can kill.
  • On collision with the floor (collider) "isMoving" is set to false
  • On crusher down or on returning to start position - They can no longer kill you.

The down - or crush position was just that, a positional setting. No movement. Which is why my colliders were not triggering. (confusing me to all hell as to why they aren't working as I now wanted them to). I added actual movement so that the collider for killing, actually collides with the ‘hit' collider on top the player.


Stay tuned for more updates. I plan to get this update up and online in the next day or so. I also worked on a few other tweaks, and am currently building a 2nd level, so I will be updating the demo with other additions throughout the next week as well.

Level 2 - Work in Progress

Sketch

Sketch idea

Full - Implemented


Close Up

Post comment Comments
drjd24
drjd24 - - 299 comments

I'm guessing the (s) is another secret room? ^-^

Reply Good karma Bad karma+2 votes
cfarina Author
cfarina - - 20 comments

S is for secret :) - The real question is, will it be in the same place as the sketch o_O

Reply Good karma+1 vote
Bombini
Bombini - - 40 comments

Looks lovely!

Reply Good karma Bad karma+2 votes
cfarina Author
cfarina - - 20 comments

Thank you!

Reply Good karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: