jobjorgos
Member
Hi,
I got the following problem in a 2D (fake 3D) top-down game with the depth order between objects:
The movings cart depth = -160 (i cant expalin this number, i got it purely from just guessing untill it kinda works)
The trees depths = 0
In all static objects (like trees and rails) i have in CREATE: depth = -y;
In all moving objets (like player and carts) i have in STEP: depth = -y;
I though what ive done with the depth = -y; would be all i needed, but running the game proofs its not
Right now with my experience and knowledge the only thing i can do is set the depth of EVERY SPECIFY item in every room in my whole game... is there any way the depth order between objects in a top-down 2d game can be automated?
Thanks in advice, i hope i can safe alot of time with any method
I got the following problem in a 2D (fake 3D) top-down game with the depth order between objects:
The movings cart depth = -160 (i cant expalin this number, i got it purely from just guessing untill it kinda works)
The trees depths = 0
In all static objects (like trees and rails) i have in CREATE: depth = -y;
In all moving objets (like player and carts) i have in STEP: depth = -y;
I though what ive done with the depth = -y; would be all i needed, but running the game proofs its not
Right now with my experience and knowledge the only thing i can do is set the depth of EVERY SPECIFY item in every room in my whole game... is there any way the depth order between objects in a top-down 2d game can be automated?
Thanks in advice, i hope i can safe alot of time with any method