View Single Post
  #7 (permalink)  
Old 11-05-2009, 10:51 AM
corwin42 corwin42 is offline
Basic4ppc Veteran
 
Join Date: Jul 2008
Location: Borchen, Germany
Posts: 432
Send a message via ICQ to corwin42
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi klaus,

thanks for your example. I took it as a base to play around with and I've attached my result to this message.

The program simply glues 9 map tiles of 256x256 pixels together to one image and this is displayed on the screen and can be moved around with mouse/stylus/finger.
I found out that updating UI-Controls in the MouseMove event sub (like displaying the current coordinates in labels) slows down everything a bit. After removing the labels displaying the coordinates the movement with stylus/finger is much smoother. Compiled with the optimizer the speed is really smooth now.

I think this is a base I can work on for my program. Now I have a better understanding of how Image handling and manipulation works in b4ppc.

Thanks very much for your help. This forum is really invaluable.

Markus
Attached Files
File Type: zip MoveMap.zip (130.4 KB, 80 views)
Reply With Quote