THIS IS ANNOYING

Game Editor comments and discussion.

THIS IS ANNOYING

Postby PooAs » Wed Apr 09, 2008 10:14 pm

ok so i have a background that follows the view
so its parent is view
and i also have an ammo count
this also follows the view
so its parent is the view

at a certin prt of my game you have to walk past a building
i want the sky to go behind the building
but not the ammo count

how do i do this?
but still make both actors
move withthe view?
If you try
to fix violence
with violence
you do nothing
but create violence
User avatar
PooAs
 
Posts: 29
Joined: Thu Apr 03, 2008 10:24 am
Score: 3 Give a positive score

Re: THIS IS ANNOYING

Postby Freddy » Wed Apr 09, 2008 10:27 pm

Next to the transparency level in the actor control pannel (or whatever its called) there is another level called z-depth. Change the z-depth to a low setting. This way it will be under the building actor.
Do this with the ammo count, except instead of lowering the z-depth, raise it.
Hope I helped. :D
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score

Re: THIS IS ANNOYING

Postby Game A Gogo » Wed Apr 09, 2008 11:02 pm

this would not work. Just use like x=view.x;
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: THIS IS ANNOYING

Postby Freddy » Wed Apr 09, 2008 11:07 pm

But cant you change the z-depth of a descendant actor?
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score

Re: THIS IS ANNOYING

Postby DilloDude » Wed Apr 09, 2008 11:46 pm

z-depth is always relative to the parent.
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score

Re: THIS IS ANNOYING

Postby Freddy » Fri Apr 11, 2008 12:34 am

Then do this:
unparent the actor momentarily, change the z-depth of the actor, and re-parent it.
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score

Re: THIS IS ANNOYING

Postby PooAs » Fri Apr 11, 2008 12:35 pm

none of that works
as soon as i change the parent
it automaticly gets the same z depth at the parent
HELLLP!!
If you try
to fix violence
with violence
you do nothing
but create violence
User avatar
PooAs
 
Posts: 29
Joined: Thu Apr 03, 2008 10:24 am
Score: 3 Give a positive score

Re: THIS IS ANNOYING

Postby jimmynewguy » Fri Apr 11, 2008 9:49 pm

try this instea :D
Attachments
Help.zip
(257.6 KiB) Downloaded 106 times
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: THIS IS ANNOYING

Postby PooAs » Sat Apr 12, 2008 2:50 am

thanks heaps man :)
haha
jerrys pub
If you try
to fix violence
with violence
you do nothing
but create violence
User avatar
PooAs
 
Posts: 29
Joined: Thu Apr 03, 2008 10:24 am
Score: 3 Give a positive score

Re: THIS IS ANNOYING

Postby jimmynewguy » Sat Apr 12, 2008 1:46 pm

no problem :wink:
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron