Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Need help with 2D tile game

Author
Message
The Feldmann
16
Years of Service
User Offline
Joined: 6th Oct 2008
Location:
Posted: 30th Oct 2008 15:46
Hey I try to make a 2D tile game, but can't get the "hero" to collide with the tiles, he just fall right through them. Any idea?

My idea:


Full Code:


Found this and it works in flash, but have no idea how to use it in c++:


Thanks for the help
Venge
18
Years of Service
User Offline
Joined: 13th Sep 2006
Location: Iowa
Posted: 30th Oct 2008 22:38
Try putting parentheses around the groups of conditions separated by && (I assume this is what you want to do?), to make it clear to the compiler what exactly you want tested.

I have CDO. It's like OCD, but the letters are in alphabetical order, like they should be.

Login to post a reply

Server time is: 2024-11-25 05:38:46
Your offset time is: 2024-11-25 05:38:46