platform game logic, problem *Asked a new question! Please help!*
ok, I'm starting to feel stupid for all these questions I ask...
Anyways, I have a problem with my thinking, the problem being platform game logic stuff, like collision between the player and the platform.
Now, I have a rectangle collision type, called hgeRect. hgeRect has a function that checks intersection between two hgeRect. But the problem is that I can't check if the intersection is from top or bottom, or from the sides.
So, when the player is in air, and gets pulled down by the gravity, and lands on the platform, it stops, that isn't that hard, but the hard part is moving the player, 'cause no matter what method I use, I can't get it to do different things, depending on what side you hit the platform from, like, ofc the same action shouldn't be done, if the platfrom is hit from the bottom, or the top.
Sorry for my bad typing, or other flaws, I'm extremely tired :S