Filled Region on Top of Another filled Region

Talk about making games.

Filled Region on Top of Another filled Region

Postby plinydogg » Wed Aug 02, 2006 2:47 pm

Hi everyone,

I've got a filled region that covers the entire screen and which is used as a sensor to move the main actor. I tried to place another small sensor on top of a small region of this main sensor...the small sensor is supposed to allow the user to pause the game.

The problem is that the second sensor doesn't catch the MouseDown event. Instead, the original, big, sensor catches it. I tried making the z-depth of the smaller pause sensor higher than that of the other sensor but it still didn't work.

Any ideas?

Thanks!
plinydogg
 
Posts: 104
Joined: Thu Aug 25, 2005 8:34 pm
Score: 0 Give a positive score

Postby makslane » Wed Aug 02, 2006 10:04 pm

makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Game A Gogo » Thu Aug 03, 2006 12:19 am

try chaging the parent z-depht

because the child will have the same z-depth of the parent
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby plinydogg » Sun Aug 06, 2006 2:29 am

Thanks to you both! I'll give it a whirl....
plinydogg
 
Posts: 104
Joined: Thu Aug 25, 2005 8:34 pm
Score: 0 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron