Page 1 of 1

Wire Frame Regions and Filled Regions

PostPosted: Tue Jul 31, 2007 10:08 pm
by arcreamer
hey can someone give me an explanation of what a wire frame region and a filled region is?

PostPosted: Tue Jul 31, 2007 11:04 pm
by makslane
You can use to make invisible sensor areas in your game.
With the Filled Region, you can catch mouse down and up events.

Both can be used with collision events.

PostPosted: Wed Aug 01, 2007 1:39 am
by arcreamer
whats an invisible sensor area? give me an example

PostPosted: Wed Aug 01, 2007 2:18 am
by DocRabbit
In just about any first person shooter, when you walk up to a door and it opens without you touching it, you entered trigger area that is tied to the door that tells it to open. This would be the same as an invisible sensor area.

You don't see it during gameplay, but moving across it, into it, and even out of it can be used to drop an apple on your head, open a trap door, or anything else that could be tied to an event.

Common uses I use them for would be surrounding each side of the viewport with them, then triggering the viewport to move in a "Zelda like fashion". If you have played the old Legend of Zelda, when you move into a new area, you stop moving and the screen moves into the new area, leaving you at the far side(left side if you moved out the right side, top if from bottom,etc)

Look at the snake/caveman tutorial, it has good examples.

Filled regions are perfect for capturing click events on plain text actors, just remember to disable click events on the text actor, then you draw the region around the text and gives you a good rectangle to capture click events. If you have ever had difficulty clicking on menus with text, good chance regions weren't used.

PostPosted: Wed Aug 01, 2007 2:55 am
by Fuzzy
an invisible area actor is useful for when you want to draw an entire map/level/menu as one actor.

Draw all the buttons and whatnot as one piece in photoshop, then bring it into GE and overlay filled actors over the special areas.

PostPosted: Wed Aug 01, 2007 3:45 am
by arcreamer
thanks!