The Dink Network

Reply to Re: Easier way to create Dink mod map?

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
June 17th 2015, 06:38 PM
peasantm.gif
shevek
Peasant They/Them Netherlands
Never be afraid to ask, but don't demand an answer 
Oh, and I forgot the part that probably puzzled you most: this is how the position (the depth dot) is computed for sprites that don't have a definition in dink.ini:

position = (imwidth - imwidth // 2 + imwidth // 6, imheight - imheight // 4 - imheight // 30)


All those divisions are integer math; they truncate the result to an integer value.