First I work out the angle of the ground (from line 284-307).
I go from the angle of incidence 180 degrees in both directions (+1 degree each check) and check if the object is in solid material at the given location or not. (line 287-294). If it's not in solid Material, I remember the Point and store him. (195-304)
And then I calculate the new angle, with angle of incidence is equal to angle of reflection. (308-315)
Sorry, but I'm using multithreading for the 'please wait'-screen, and the images that are created are static fields of the different classes and are not countable...
So it would be very very much work to add a percentage, cause I'd have to take a look through all the classes (now over 350) and search for the images...
And I think that would not worth the effort...
Hope you understand it! :)
@ Game/maniac: Well, the game don't freeze, it's just has to load many images, so it needs some seconds! (depending on how fast you computer is. In the next update I'll add a 'please wait' background! :)
2012/10/15
Gravity Engine
2012/10/15
Adventure
2012/10/11
Jump!
2012/10/8
Adventure
2012/10/7
Adventure
2012/10/7
Snake
2012/10/7
Adventure
2012/10/7
Adventure
2012/10/7
Adventure