So i have this sprite image wich size is 780x 1225 the screen is 800x600
so i used the zoom to make it smaller
like this:
show pepin normal:
xpos 430 ypos 600
zoom .5
...and it worked and it adjusted to the screen size.
but when i want to show it as it real size without the zoom, it keeps showing the adjusted size.
i tried this but it didn´t work
show pepin normal:
xpos 430 ypos 600
zoom 5
is there a way to make the sprite big again?
help is appreciated!
Zooming sprite problem
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- nosoclever
- Newbie
- Posts: 13
- Joined: Thu Feb 12, 2015 9:43 pm
- Contact:
- OokamiKasumi
- Eileen-Class Veteran
- Posts: 1779
- Joined: Thu Oct 14, 2010 3:53 am
- Completed: 14 games released -- and Counting.
- Organization: DarkErotica Games
- Deviantart: OokamiKasumi
- Location: NC, USA
- Contact:
Re: Zooming sprite problem
If you use the same NAME for your images, of course you're going to show the First image that was called, silly...!nosoclever wrote:So i have this sprite image wich size is 780x 1225 the screen is 800x600
so i used the zoom to make it smaller
like this:
...and it worked and it adjusted to the screen size.Code: Select all
show pepin normal: xpos 430 ypos 600 zoom .5
but when i want to show it as it real size without the zoom, it keeps showing the adjusted size.
i tried this but it didn´t workis there a way to make the sprite big again?Code: Select all
show pepin normal: xpos 430 ypos 600 zoom 5
What you need is to set up two different image names so you can call two different images [pepin large] and [pepin normal] .
Example:
Code: Select all
image pepin normal:
xpos 430 ypos 600
zoom .5
image pepin large:
"pepin normal" #Takes this image and scales it.
xpos 430 ypos 600
zoom 5
Ookami Kasumi ~ Purveyor of fine Smut.
Most recent Games Completed:
"No amount of great animation will save a bad story." -- John Lasseter of Pixar
Most recent Games Completed:
- The Walk[Psychological][NanoWinter] ~ PG New!
- Trap! [ModernFantasy][VN] ~ PG16
- The Adventures of Prince Ivan [Fant/Adv/VN] ~ PG
"No amount of great animation will save a bad story." -- John Lasseter of Pixar
Who is online
Users browsing this forum: Google [Bot], Ocelot