The Dink Network

Graphics problem

December 14th 2004, 03:23 PM
wizardg.gif
chaotic
Peasant He/Him
 
My first Dmod will star a new main hero but his graphics show his image higher than the pixel he is actually standing on. It will be a HUGE job to change all the Bitmaps. Anyone know another way to fix this?
December 14th 2004, 06:07 PM
pq_frog.gif
Ric
Peasant They/Them Canada
 
In the dink.ini file change the fourth # in the load_graphics for those sequences. Smaller # means the dot will be higher in the frame. Eg;
load_sequence graphics\foes\bonca\walk\f03w1- 531 75 55 67 -29 -9 24 18
Like changing the 67 to 55 or so.
If those numbers are not there at all, then the engine is likely useing the ones in the previous line. If so , try 65 and see how that works.
December 15th 2004, 01:35 PM
wizardg.gif
chaotic
Peasant He/Him
 
I tried that and it didn't work
December 15th 2004, 04:41 PM
wizardb.gif
merlin
Peasant He/Him
 
dangit, I keep thinking you're me.
December 15th 2004, 09:43 PM
pq_frog.gif
Ric
Peasant They/Them Canada
 
Hey, twins!
Chaotic, in windinkedit check the sprites' properites and see if the depth que is something other than 0, or -1.
December 16th 2004, 12:16 AM
wizardg.gif
chaotic
Peasant He/Him
 
My avatar is similar to yours exept mine is green-brownish while yours is blue-yellow

The depth que determines where the sprite is drawn, not where it actually is
December 16th 2004, 12:25 AM
spike.gif
You're cyan, merlin is..mm..skin. Get the colours right.
December 16th 2004, 12:30 AM
wizardg.gif
chaotic
Peasant He/Him
 
Cyan is greenish and my hat is brownish.. right? Or is that pink..

There, i changed my background so Merlin wont have to look closely at my avatar to tell if its me.
December 16th 2004, 12:33 AM
spike.gif
Oh, I was looking at your hands.. Well then, merlin is blue-yellow and you're reddish-pinkish-purpleish-cyan.
December 16th 2004, 12:35 AM
wizardg.gif
chaotic
Peasant He/Him
 
I kinda look like vomit =/
December 16th 2004, 12:39 AM
spike.gif
On a red carpet.
December 16th 2004, 12:43 AM
pq_frog.gif
Ric
Peasant They/Them Canada
 
I wish we could submit custom avatars.
And its hard to know what you mean without seeing it. What does the sprites hardbox look like? (<space>in editor)
What size are the frames, and could you post an .ini line for them?
December 16th 2004, 01:03 AM
burntree.gif
Striker
Noble She/Her United States
Daniel, there are clowns. 
I wish we could submit custom avatars.

That would be nice wouldn't it?
December 16th 2004, 02:13 AM
custom_carrie2004.gif
carrie2004
Peasant She/Her Canada
*chomp* 
*kicks striker in shins*

I want to submit a custom avatar too.*pout*
December 16th 2004, 04:41 AM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
Hey striker, was that post a hinthint message for Redink1?

well if it was I have to say this. I wished we have more smileys
December 16th 2004, 04:57 AM
spike.gif
Striker has a custom avatar.

I just wish the existing smileys weren't so god dang ugly!
December 16th 2004, 05:09 AM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
No kidding, Bad dog striker
December 16th 2004, 06:15 PM
wizardg.gif
chaotic
Peasant He/Him
 
The depth que or hard box don't affect where the sprite is, just where its drawn
December 16th 2004, 06:54 PM
goblinm.gif
???
Do you mean the depth dot which you set in Dinkedit along with the hardbox? Or the sp_que number.

If the former, why didn't you set the depth dot thingy along with the hardbox in dinkedit? Or did you set it wrong? I did that once, and it was ANNOYING to correct. Had to move every instance of the sprite so that it was in the right spot. Grr...

Edit: I also once placed a bunch of copies of a sprite, only to realize that I forgot to set the depth dot at all, which was also annoying to fix.
December 16th 2004, 10:36 PM
wizardg.gif
chaotic
Peasant He/Him
 
Oops.. the hardbox will not affect where the sprite is drawn, just the depth dot.

Is depth dot and depth que two different things?
December 16th 2004, 10:48 PM
goblinm.gif
depth que determines which object "wins" when they occupy the same space, i.e., which is hidden behind the other.
December 16th 2004, 11:34 PM
pq_frog.gif
Ric
Peasant They/Them Canada
 
Depth dot is basicly the 1 pixle the spite is located at, usualy between its feet (those that have feet). changing the depth dot changes where the sprite gets drawn, since the engine looks at that 1 pixle to locate the graphics frames. If depth que is -1( no change) graphics above on the Y-axis get drawn behind, those below get drawn on top.
Changing the depth que changes what gets drawn on top, just remember the engine looks at that 1 pixle first to locate the graphics frame, then layers it from there.
December 17th 2004, 12:19 AM
wizardg.gif
chaotic
Peasant He/Him
 
Silly me... i thought depth que and depth dot were the same things

When i changed the depth dot, it didn't affect where the 1st sprite (Which is dink/the hero) was, but it did affect another sprite with the same graphics