🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Merry Christmas!

posted in Rarely Spoken
Published December 25, 2005
Advertisement
As a gift from me to you I updated a game that I originally wrote a couple of years ago. I present Herman and the Falling Rocks - now with physics!
Previous Entry Hello There
Next Entry Another Game
0 likes 2 comments

Comments

Kerkhoff
have you made the collision detection using rectangles? =P

the game are cheating me =(
December 25, 2005 07:25 PM
Colin Jeanne
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.
December 26, 2005 12:22 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement

Latest Entries

4E6 PyGame

1381 views

4E5

1116 views

Happy Yesterday!

1071 views

Another Game

1278 views

Merry Christmas!

1052 views

Hello There

1050 views

Yay!

1065 views
Advertisement