Feb 18 2012, 10:10 AM
Is it possible to make a new Bitmap from a zoomed Sprite?
Let's suppose I do the following with a Sprite object:
sprite.zoom_x = 2
sprite.zoom_y = 2
Is there a way I can make a new Bitmap data object that will store the same dimension of the zoomed sprite, and then use it in a new sprite object as a new regular size.
Feb 18 2012, 11:52 AM
Nope. Sprites are akin to Device Contexts - they are not pictures themselves so changing the sprite properties won't affect the bitmap itself. It is possible to alter the size of a Bitmap object however but this is a time-consuming process, so unless you work with small bitmaps, it will lag. It's much better to simply zoom as you need to.
If you really need an original, zoomed-in bitmap, just do it with an image editor and save it as a duplicate file.
Feb 18 2012, 05:26 PM
So it's the same way with angled sprites, right? I hate to ask this in somebody else's topic, but I figure it would go here just as well as anywhere else.
Feb 19 2012, 01:09 AM
It is exactly the same, yes.
Feb 19 2012, 12:48 PM
It's too sad, I needed to alter some images in-game and use them as new sprites to make some other works over them, it will be too time-consuming to do it manually with an image editor.
It seems taking screen snapshots and slicing the images to create new ones seems like the unique solution, although I feel so many problems will arise from this solution.
Feb 19 2012, 01:06 PM
Can't you work on the zoomed sprite in-game?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here