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.

Newcomers AppGameKit Corner / Some clarity on the collide bits and category bits

Author
Message
Duncro
9
Years of Service
User Offline
Joined: 25th Jul 2015
Location:
Posted: 25th Sep 2015 00:10
The helpfile and example are slightly misleading, in that it seems to show and explain that two objects will collide when one of them has its collide bits set to the other's category. To make it work though both objects must have the other's category in it's collide bits.

SO: if object A is category "1", and object B is category "2", and you want them to collide, then A must have "2" and B must have "1" in its collide bits.
29 games
18
Years of Service
User Offline
Joined: 23rd Nov 2005
Location: not entirely sure
Posted: 25th Sep 2015 02:30
Could you post some example code as I don't understand what you mean.

Invaders of the 29th Dimension - available now on Google Play
Find me on indieDB

Login to post a reply

Server time is: 2024-11-21 14:43:34
Your offset time is: 2024-11-21 14:43:34