The Dink Network

Reply to Re: Direction problems

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:
 
 
May 5th 2005, 06:40 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
The screen is 640*480, but the playing area is only 600*400. The last 80 pixels of the height are taken by the statusbar, and the 40 pixels of width are split into the two screenlock-bars of 20 pixels each. So if you want something to move to the leftmost pixel, you'll want to move_stop(&sprite, 4, 21, 1); The dink engine will think that if Dink (just dink) is on a x-coord < 21 he must move to the next screen.

Also, if you try to move to the east (dir 6) but to an x-coordinate that lies to the west, Dink (or whoever you want to move) won't move at all. Similar cases with moving north to a pixel south of the sprite, or moving west to a pixel on the east, etc...