"Hitboxes" of actors?

Game Editor comments and discussion.

"Hitboxes" of actors?

Postby beefwelington » Thu Jul 20, 2006 7:53 pm

Does the game detect collision when the character/actor touches something, or does it only detect when the entire "block" hits?

Like if I've got a diagonal line, will the line have an invisible square surrounding it that marks the true detection points for collision, or does Game Editor ignore background material and only look at the visual representation of the actor itself?
beefwelington
 
Posts: 13
Joined: Wed Jul 19, 2006 9:47 pm
Score: 0 Give a positive score

Postby makslane » Thu Jul 20, 2006 9:12 pm

Game Editor works with a pixel perfect collision detection system.
So, if your actor is a diagonal line, only the line will be used in detection.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Fuzzy » Thu Jul 20, 2006 9:59 pm

Makslane, may I make another request for future GE versions?

I would like to be able to set the collision mask to be separate from the animation.

Although I do not truly need it, it would be a welcome expansion to GE, and at least several others would make good use of it.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron