Collisions

Non-platform specific questions.

Collisions

Postby WauloK » Mon Apr 24, 2006 7:00 am

Are collisions based on actual pixels or a bounding box the size of the actor?
I was thinking of having an actor in my game. eg. 40x40pixels but the actual image can be 40x40 or 20x20 (eg). Will the collisions still be based on 40x40 even though 1/2 the image is transparent or does GE do pixel based collisions?
Available for Beta-testing.. PM me!
Black 16Gb iPhone 3GS
Windows 7: 2Gb RAM. Dell 9150.
WauloK
 
Posts: 42
Joined: Wed Apr 19, 2006 3:19 am
Location: Sydney, Aussieland
Score: 0 Give a positive score

Postby DilloDude » Mon Apr 24, 2006 12:02 pm

It is pixel-based. Other actors will not collide with transparent bits.
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score

Postby WauloK » Mon Apr 24, 2006 12:47 pm

sweet! tnx
Available for Beta-testing.. PM me!
Black 16Gb iPhone 3GS
Windows 7: 2Gb RAM. Dell 9150.
WauloK
 
Posts: 42
Joined: Wed Apr 19, 2006 3:19 am
Location: Sydney, Aussieland
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest