The Dink Network

Re: Depth que problem

May 22nd 2007, 08:42 AM
anon.gif
Confused
Ghost They/Them
 
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.
May 22nd 2007, 08:54 AM
pq_cthunik.gif
GOKUSSJ6
Peasant He/Him Poland
Everyone should get a pizza for free in each week. 
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
May 22nd 2007, 09:08 AM
anon.gif
Confused
Ghost They/Them
 
I am using dinkedit that comes with the 1.8 version.
May 22nd 2007, 09:15 AM
anon.gif
Confused
Ghost They/Them
 
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.
May 22nd 2007, 09:18 AM
pq_cthunik.gif
GOKUSSJ6
Peasant He/Him Poland
Everyone should get a pizza for free in each week. 
So try WinDinkEditPlus cause with this program it's really easy to make a d-mod.DinkEdit is for PRO.
May 22nd 2007, 09:25 AM
duck.gif
wesley
Peasant He/Him United States
 
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.
May 22nd 2007, 09:35 AM
anon.gif
Not confused
Ghost They/Them
 
Ok, thanks both of you.
June 20th 2007, 07:23 PM
slayer.gif
MadStalker
Peasant He/Him Finland
tag line 
DinkEdit isn't really just for pro's, it's just a matter of taste. I use both of them for different things.
June 21st 2007, 01:54 AM
burntree.gif
Unreal
Peasant He/Him Australia
 
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
June 21st 2007, 10:44 AM
bonca.gif
Erwin
Peasant He/Him Netherlands
Friendship is magic 
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.
June 24th 2007, 02:52 PM
custom_fish.png
SabreTrout
Noble He/Him United Kingdom
Tigertigertiger. 
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.
June 24th 2007, 06:13 PM
sob_scorpy.gif
DinkDude95
Peasant He/Him Australia
The guy with the cute D-Mod. 
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.