Zdepth admiting defeat need serious help!
Posted: Thu Jul 09, 2009 5:31 pm
i saw this zDepth auto matic setter code on the wiki, which works....unless the screen is moving.
i'm pretty sure this can be solved with screen_to_actor, or actor_to_screen, i've never used either so wich one should i use and how. Or is there an easier/better way? I tried zdepth based off collisions, but they mess each other up butting walls in front of bushes that sould'nt be there. So can any one help before i pull all my hair out? Please and thanks to all
PS: (SORRY OZCENTRAL)
- Code: Select all
void stackit(){
ChangeZDepth("Event Actor", ((y/120)+1)*.5);//120 is half my view size
}
i'm pretty sure this can be solved with screen_to_actor, or actor_to_screen, i've never used either so wich one should i use and how. Or is there an easier/better way? I tried zdepth based off collisions, but they mess each other up butting walls in front of bushes that sould'nt be there. So can any one help before i pull all my hair out? Please and thanks to all
PS: (SORRY OZCENTRAL)