Re: Depth que problem
May 22nd 2007, 08:42 AM

Confused


When I make a room in a house. I first put wooden floor tiles then I make walls and then the problem starts. I try to put a shelf near a wall but it goes behind it. I have a wall in front of the shelf. And when I try to put a table it goes below the floor. I think it has something with that depth que thing but i dont understand it.
What editor are you using?If you are using WinDinkEdit thenright click on wall then Propeties and you have 3 types of dept que:
-Background
-Person/Creature
-Invisible
If you have setted background with other one who have a background you will have an effect that is behind it so i preffer to do in one wall to Background and the second object to Person/Creature.That's all
-Background
-Person/Creature
-Invisible
If you have setted background with other one who have a background you will have an effect that is behind it so i preffer to do in one wall to Background and the second object to Person/Creature.That's all

May 22nd 2007, 09:15 AM

Confused


With the numbers from 0 to 20000. I don't understand how to use them. I have another program for making games (gamemaker). In that program the sprite with larger depth number is always behind the sprite with lower number. But when I try this in dinkedit it doesn't work.
So try WinDinkEditPlus cause with this program it's really easy to make a d-mod.DinkEdit is for PRO.
the walls at the back of the house (top of the screen) can either be set to background or to -1 depth que. The depth que works opposite of gamemaker apparently where lower numbers are behind larger ones.
DinkEdit isn't really just for pro's, it's just a matter of taste. I use both of them for different things.
And if you are a newbie at DinkC try out the WinDink easy it's really easy to understand and great to start out with

Objects with a higher y value appear on top of objects with a lower value. If you make the depth que of an object higher than some other object's y value it will appear on top of it. So if you want a shelf to appear on top of a wall just make the depth que of the shelf 1 higher than the y value of the wall.
Well said, Erwin. Depth is a most confusing sinject for the novice d-mod author. I remember having terrible problems with it when I first started out, even though it's actually pretty simple.
I don't think you have to make the depth que one higher than the Y value of the other sprite. When i do it I just make it the same as the Y value and it still appears on top.
Another way to do it is to set the depth que of the object you want to appear behind. You just set the depth que to 1 lower than the sprite you want on top. There's two ways to do it. Neither is easier, or harder.
Another way to do it is to set the depth que of the object you want to appear behind. You just set the depth que to 1 lower than the sprite you want on top. There's two ways to do it. Neither is easier, or harder.