The Dink Network

sp_clip_bottom() - does this work in freedink?

February 20th, 05:36 AM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
So I was mucking around with sp_clip_bottom and I checked that freedink is based on engine 1.08 but when I add it to a script it doesn't seem to do anything to either a NPC or even Dink.

Is there a secret sauce to this recipe?

February 20th, 06:06 AM
peasantmb.gif
yeoldetoast
Peasant They/Them Australia
LOOK UPON MY DEFORMED FACE! 
February 20th, 05:35 PM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
Hmmm, not sure you should use it on Dink, sprite 1.

I was getting weird results once I started playing with this - even after setting sp_clip_right and sp_clip_bottom to 640 and 400 respectively before using a different value.

sp_clip_bottom(1, x); (used both 54 and 100)

It just seemed to be clipping from the right no matter if I used bottom or right, and the result would vary between Dink idling and Dink punching, or Dink walking...

And then it seemed to remember the clipping factor even when loading saved games in which this hadn't been applied to Dink... so going to park this for a while.