Advertisement

Game Level

Started by June 12, 2000 01:09 PM
0 comments, last by compfanatic 24 years, 6 months ago
Ok, let''s say I wanted to allow a frog to stand on a lilly pad. The frog could swim in the water and when it gets out of the water, it can stand on the lilly pad. How would I make it so the frog could stand on the lilly pad? I am not really asking for code, but the concepts of doing this. Thanks! -Alex
I looooove programming! Even at my young age.
You need to add collision detection to your code. If the frog is above a lily pad it can''t fall down any longer than to the surface of the pad. If it is not above a pad it can fall into the water.

By the way, this has nothing to do with DirectX/OpenGL or any other render API so I''m moving it to another forum.



- WitchLord

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement