-
Hiyas,
Here's what I'm doing. I open a picture up into a hidden picturebox, called TileSource. The image is 640 * 480 pixels. It's 20 tiles across and 15 down (32x32 pixel tiles).
I want to shrink the entire image 1/4 the size, so the 32x32 pixel tiles become 24x24. Which is the best method - StretchBlt or PaintPicture, and how would I do this? (I only really know BitBlt)
-
Hi there,
I'd just shrink the image in a graphics program.
Image manipulation on the fly is quite processor intensive and a nono (imho) for games.
- jamie.
-
Actually it's a game editor, so speed doesn't matter. =) (and shrinking before load is out of the question too)
-
You may want to check out :
http://www.vbexplorer.com/game_tutorials.asp
Specifically 'Animation + Drawing' > 'Drawing + Animation 2'
That has some stuff on stretchblt
- jamie