This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Marks - Collision detection


Marks - Collision detection

Postby Hug » Oct 24, 2002 @ 3:03pm

Hug
 


Postby Johan » Oct 24, 2002 @ 5:57pm

User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby Hug » Oct 24, 2002 @ 7:07pm

Can GAPDIDraw effectevely test a collision withs mask on a closed surface ?

Ex: A square building as 4 walls. Create a mask of the building with the inside of the building filled with the key color. If I put a sprite in the middle of the building and test for collision using getmaskid, will it work ?

I'm trying to do something similar and I'm getting strange results. At some positions when not touching the walls I get no collisions and at others positions still not touching the wall getmaskid returns a position and a maskid...

Thanks !
Hug
 


Postby Johan » Oct 24, 2002 @ 7:10pm

Yes it should work... :)
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Masks

Postby Hug » Oct 24, 2002 @ 8:09pm

Hug
 


Masks

Postby Hug » Oct 25, 2002 @ 12:35am

Problems solved.. my mistake..
Hug
 


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron