The Dink Network

Trimming Graphics

April 10th 2011, 03:33 PM
maiden.gif
In a lot of DMods I've seen, people cut bits off the graphics somehow, without making new sprites. I was wondering if someone could tell me how this is done?

For a reference, look at the portraits in the Hall of Hero's floor of Initiation.
April 10th 2011, 03:43 PM
dinkdead.gif
In WDE+, select the sprite and use the arrow keys while holding Z or X. Z clips from bottom left and X from top right (or the other way around, I forget).
April 10th 2011, 03:44 PM
custom_skull.gif
Skull
Peasant He/Him Finland bloop
A Disembodied Sod 
In WinDinkEdit, press X and Z, and then try all the arrow buttons. I think Z cuts it to up and right, and X cuts it to down and left. I'm not sure though, so test all of them.

EDIT: Darn you Sparrowhawk!!
April 10th 2011, 04:14 PM
fairy.gif
GlennGlenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
You can do it in WinDinkEdit.
April 11th 2011, 04:43 AM
anon.gif
JugglyGhost
Ghost They/Them
 
Oh cool, I'd always wondered how people did that! Never actually asked how, though...
April 11th 2011, 04:56 AM
wizardg.gif
schnapper
Peasant He/Him Heard Island And Mcdonald Islands
Let us save our effort and just lie down and die. 
Photo or it didn't happen
April 11th 2011, 05:16 AM
custom_marpro.png
Marpro
Peasant He/Him bloop
 
Clippin' graphics is awesome. Cool people do clipping.
April 11th 2011, 05:24 AM
dinkdead.gif
I can sense when someone's about to post something, and make sure to post the same thing 30 seconds earlier

You can do the same thing with scripts by the way, but it works a little strangely.
April 11th 2011, 01:44 PM
wizardb.gif
Kyle
Peasant He/Him Belgium
 
Just you wait, there is an alliance being formed to stop that trick Sparrow!
April 11th 2011, 05:12 PM
custom_msdink.png
MsDink
Peasant She/Her New Zealand
Tag - Umm.. tag, you're it? 
Personally I just take the graphic and cut it in another program, have noticed clipping things can mess with the hardbox.
April 11th 2011, 05:16 PM
fairy.gif
GlennGlenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
I don't know anything about hardboxes, but I assume they stay put even though you trim the graphics which means you have to move the hardbox or draw a new one to fit the newly trimmed graphic?
April 11th 2011, 05:22 PM
wizardg.gif
schnapper
Peasant He/Him Heard Island And Mcdonald Islands
Let us save our effort and just lie down and die. 
Let me get this straight: trimming is like an in-wde cropping tool?
April 11th 2011, 06:36 PM
dinkdead.gif
"Let me get this straight: trimming is like an in-wde cropping tool?"

Yep.

And I don't think trimming it affects the hardbox, like Glennglenn said, so it's probably more that you end up with a wrong shape box for the newly clipped sprite rather than the box itself going funny shapes. I usually get around it by making the whole thing no_hit and doing any necessary hardness with other invisible sprites.
April 11th 2011, 07:35 PM
custom_msdink.png
MsDink
Peasant She/Her New Zealand
Tag - Umm.. tag, you're it? 
yep, didn't explain myself too well did I the hard box stays in the same place, just sometimes it is no longer relevant to the clipped portion is what I meant

So Dink can be stopped by something you cant see if you click HARD on a clipped sprite soooo either change the hardbox for the new clipped bit (but this changes it on every other incident of this sprite eep... if that's fences or something you use heaps of... well just DON'T!) or as Sparrow says add sprites around the clipped sprite, make them invisible and hard