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


2 Comments


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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!