Hi need some help, im making an Action RPG in isometric form, and im having some trouble figuring out a way to make it so i dont have to do tilesets everytime, is there a way to make it to where if the characters Y is larger than the buildings why, then the building shows up front, but if the characters Y is larger than the buildings Y then the character shows up on top? i need this for all my other buildings. Any ideas?
Ive tried doing this for the buildings step event
if Obj_hero.y>y{Obj_hero.depth=-1000000000000000000000000}
if Obj_hero.y<y{Obj_hero.depth=1}
Isometric Buildings/walls/depth help
Started by zerolegends, Mar 23 2012 01:12 AM
4 replies to this topic
#1
Posted 23 March 2012 - 01:12 AM
#2
Posted 23 March 2012 - 01:17 AM
set the depth of your building = -y and the depth of your charector =-y
#3
Posted 23 March 2012 - 01:29 AM
set the depth of your building = -y and the depth of your charector =-y
huh? wat do u mean?
#4
Posted 23 March 2012 - 01:34 AM
adding this to the step event of the building and player objects
will set the objects depth depending on its location.
depth=-y;
will set the objects depth depending on its location.
#5
Posted 23 March 2012 - 02:44 AM
adding this to the step event of the building and player objects
depth=-y;
will set the objects depth depending on its location.
so does that mean i wont need my old code?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











