White View Region

Game Editor comments and discussion.

White View Region

Postby catacomber » Mon Apr 28, 2008 2:26 am

Why in some of the demos do I see the white square that is the view and in others I don't? It's still there as an actor but I don't see it visually as a white square. I don't see that it's hidden.
User avatar
catacomber
 
Posts: 195
Joined: Fri Sep 28, 2007 5:36 pm
Score: 10 Give a positive score

Re: White View Region

Postby pyrometal » Mon Apr 28, 2008 2:35 am

In my graphic type demos, my view rectangle is covered by a canvas "light blue rectangle" actor. Anytime something is parented to the view, it is automatically drawn on top of it if coincident. Hope that explains what you were wondering about.
SPRITE WARRIOR:
Free, open-source & crossplatform pixel art editor (currently under construction).
User avatar
pyrometal
 
Posts: 706
Joined: Wed Nov 28, 2007 4:07 am
Location: Kingston, ON, Canada
Score: 86 Give a positive score

Re: White View Region

Postby catacomber » Mon Apr 28, 2008 2:38 am

So the white square disappears? That answers my question. Thanks. : )
User avatar
catacomber
 
Posts: 195
Joined: Fri Sep 28, 2007 5:36 pm
Score: 10 Give a positive score

Re: White View Region

Postby pyrometal » Mon Apr 28, 2008 2:41 am

np
SPRITE WARRIOR:
Free, open-source & crossplatform pixel art editor (currently under construction).
User avatar
pyrometal
 
Posts: 706
Joined: Wed Nov 28, 2007 4:07 am
Location: Kingston, ON, Canada
Score: 86 Give a positive score

Re: White View Region

Postby catacomber » Mon Apr 28, 2008 4:10 am

Still not sure about this. In some of the demos like Shark, there's no parent of the view that I can find --- but some of the graphics overlay the white view region so you can't see it. So it's there but hidden behind graphics.
User avatar
catacomber
 
Posts: 195
Joined: Fri Sep 28, 2007 5:36 pm
Score: 10 Give a positive score

Re: White View Region

Postby Game A Gogo » Mon Apr 28, 2008 12:10 pm

if the zdepth is greater then the view, it will overlay it.
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

Re: White View Region

Postby catacomber » Mon Apr 28, 2008 2:53 pm

Thanks. :D
User avatar
catacomber
 
Posts: 195
Joined: Fri Sep 28, 2007 5:36 pm
Score: 10 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron