Scrolling Game Development Kit Forum

SGDK Version 2 => Help, Errors, FAQ => Topic started by: Tanja on 2007-11-21, 02:54:07 PM

Title: Collision Classes?
Post by: Tanja on 2007-11-21, 02:54:07 PM
are they available in sgdk2?
it was very comfortable to set the classes and the base interactions. i wonder because i can't find a method which is dealing with sprites touching other sprites.
i ask because i want to make some "wind" sprites (first i wanted to make animated tiles, but than i could them not use before a rock or so), and when the flying player gets into the air-current, his velocity changes...
Title: Re: Collision Classes?
Post by: bluemonkmn on 2007-11-23, 10:35:50 AM
They are called Sprite Categories in SGDK2.  You can use that with TestCollisionMask or TestCollisionRect. Let me know if you need more help than that.