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 / how to make a collision fuction

Author
Message
sadyk
15
Years of Service
User Offline
Joined: 6th Sep 2009
Location: Spain-Madrid
Posted: 16th Oct 2009 17:15
well, i´m trying to make a function that returns if the player collide and the direction of the collide. it is a int function, that returns 1, 2, 3, 4 or 0, it depends about the direction (x, -x, y, -y)
i have tryed this:


well, the objects whith an i of 500-3000, son collide objects, like wals, etc.

sorry my english

Login to post a reply

Server time is: 2024-10-01 14:46:08
Your offset time is: 2024-10-01 14:46:08