Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> RGSS: new Bitmap from a zoomed Sprite?
TheScholar
post Feb 18 2012, 10:10 AM
Post #1


Level 2
Group Icon

Group: Member
Posts: 18
Type: None
RM Skill: Undisclosed




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.

This post has been edited by TheScholar: Feb 18 2012, 10:15 AM
Go to the top of the page
 
+Quote Post
   
Kread-EX
post Feb 18 2012, 11:52 AM
Post #2


(=___=)/
Group Icon

Group: +Gold Member
Posts: 4,136
Type: Scripter
RM Skill: Undisclosed




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.


__________________________
FRACTURE - a SMT inspired game (demo) made by Rhyme, Karsuman and me. Weep and ragequit.

My blog.

Click here for my e-peen


Go to the top of the page
 
+Quote Post
   
TheBen
post Feb 18 2012, 05:26 PM
Post #3


Intolerable Noob
Group Icon

Group: Revolutionary
Posts: 344
Type: Developer
RM Skill: Beginner




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.


__________________________
QUOTE
Great people talk about IDEAS
Average people talk about THINGS
Small people talk about OTHER PEOPLE

- A plaque on a BBQ restaurant in VA
Go to the top of the page
 
+Quote Post
   
Kread-EX
post Feb 19 2012, 01:09 AM
Post #4


(=___=)/
Group Icon

Group: +Gold Member
Posts: 4,136
Type: Scripter
RM Skill: Undisclosed




It is exactly the same, yes.


__________________________
FRACTURE - a SMT inspired game (demo) made by Rhyme, Karsuman and me. Weep and ragequit.

My blog.

Click here for my e-peen


Go to the top of the page
 
+Quote Post
   
TheScholar
post Feb 19 2012, 12:48 PM
Post #5


Level 2
Group Icon

Group: Member
Posts: 18
Type: None
RM Skill: Undisclosed




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.

Go to the top of the page
 
+Quote Post
   
Kread-EX
post Feb 19 2012, 01:06 PM
Post #6


(=___=)/
Group Icon

Group: +Gold Member
Posts: 4,136
Type: Scripter
RM Skill: Undisclosed




Can't you work on the zoomed sprite in-game?


__________________________
FRACTURE - a SMT inspired game (demo) made by Rhyme, Karsuman and me. Weep and ragequit.

My blog.

Click here for my e-peen


Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th June 2013 - 07:46 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker