Help - Search - Members - Calendar
Full Version: RGSS: new Bitmap from a zoomed Sprite?
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Ace Discussion
TheScholar
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.
Kread-EX
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.
TheBen
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.
Kread-EX
It is exactly the same, yes.
TheScholar
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.

Kread-EX
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.
Invision Power Board © 2001-2013 Invision Power Services, Inc.