View Single Post
  #3  
Old 01-05-2012, 06:36 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Something like this should work...

Calculate the distance between the two positions and that will give you roughly how many images you need to draw if each image is one title in width and height (16x16).

Calculate the delta x, y (final - initial)

For image = 1; image <= images; image++

Show image at x + (delta x * (image / images)), y + (delta y * (image / images))
__________________
Quote:
Reply With Quote