Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views


Recommended Comments

It actually uses disks since all the shapes are disks as well. However, I think I might have the radius of the rocks a little big in the code. Sometimes they are a few pixels away when they hit you. I decided not to reduce the radius of the rocks because I really liked how they collided so instead I made Herman's radius a little bit smaller than he actually is.

In the code you can change RockRadius to 19 or 18 instead of 20 to see if that helps.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!