View Single Post
  #3 (permalink)  
Old 03-05-2008, 10:00 PM
RandomCoder's Avatar
RandomCoder RandomCoder is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: UK
Posts: 487
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Attached is a modified code that will hopefully get you moving forward again.
It's not complete as I somewhat struggled to understand exaclty what was happening with the maths.
Basically I'm approaching the problem by storing the last x and y of the icon so that when it moves the previous position can be erased.
Some of your code is duplicated such as creating a new instance of drawer etc, you only need do this the once.
Hope this is enough to help you see a way forward.

Regards,
RandomCoder
Attached Files
File Type: sbp space_mod.sbp (7.5 KB, 6 views)
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD.
Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD.

"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote