How to make sprites bigger and smaller?
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.
-
- Veteran
- Posts: 241
- Joined: Tue Feb 20, 2018 12:59 pm
- Completed: Through the Screen, Riddle Me This, Trust Fall, Phobias, Another Adventure
- Projects: The Souls in the Seams, Fata Morgana, Minecraft: Story Mode - Behind the Scenes
- Organization: Astral Autumn Games
- Tumblr: astralautumngames
- Deviantart: ArizaLuca
- itch: astralautumngames
- Contact:
How to make sprites bigger and smaller?
So in some games like Zodiac Axis (by Studio Theophilus) and The Pirate Mermaid, the person the MC is speaking to will get larger or smaller depending on how near or far away the MC is physically in proximity to that person-- how would you pull this sort of code off?
(Examples of what I mean are in this video, I think: https://www.youtube.com/watch?v=VBBxbiI ... e=youtu.be
(Examples of what I mean are in this video, I think: https://www.youtube.com/watch?v=VBBxbiI ... e=youtu.be
- ComputerArt.Club
- Veteran
- Posts: 427
- Joined: Mon May 22, 2017 8:12 am
- Completed: Famous Fables, BoPoMoFo: Learn Chinese, Santa's workshop, Cat's Bath, Computer Art Club
- Location: Taiwan
- Contact:
Re: How to make sprites bigger and smaller?
I think zoom is what you are looking for. ATL deals with animating and transforming. Here is a link to the documentation:
https://www.renpy.org/doc/html/atl.html
https://www.renpy.org/doc/html/atl.html
Code: Select all
show blahblahblah:
zoom 1.2
Or to animate it
show blahblahblah:
zoom 1.0
linear 1.0 zoom 1.2
Facebook:
Renpy Creators and Enthusiasts Facebook Group
My latest game:
Famous Fables: Read, Learn and Play - Android App for teaching children to read
Creative Commons stuff:
Shape transitions,
100+ 360° photos of Japan,
-
- Veteran
- Posts: 241
- Joined: Tue Feb 20, 2018 12:59 pm
- Completed: Through the Screen, Riddle Me This, Trust Fall, Phobias, Another Adventure
- Projects: The Souls in the Seams, Fata Morgana, Minecraft: Story Mode - Behind the Scenes
- Organization: Astral Autumn Games
- Tumblr: astralautumngames
- Deviantart: ArizaLuca
- itch: astralautumngames
- Contact:
Re: How to make sprites bigger and smaller?
The problem is that this cuts off the sprite; I'm trying to make it bigger but cut off some of the bottom of the sprite, not the top.
- Ocelot
- Lemma-Class Veteran
- Posts: 2384
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: How to make sprites bigger and smaller?
Show some images to illustrate what are you talking about.
I suppose you can solve it by setting anchor to the top of the picture.
I suppose you can solve it by setting anchor to the top of the picture.
< < insert Rick Cook quote here > >
-
- Veteran
- Posts: 241
- Joined: Tue Feb 20, 2018 12:59 pm
- Completed: Through the Screen, Riddle Me This, Trust Fall, Phobias, Another Adventure
- Projects: The Souls in the Seams, Fata Morgana, Minecraft: Story Mode - Behind the Scenes
- Organization: Astral Autumn Games
- Tumblr: astralautumngames
- Deviantart: ArizaLuca
- itch: astralautumngames
- Contact:
Re: How to make sprites bigger and smaller?
The first post has some good examples of the different sizes in the video, but there's also games like Valentine's Otome and Zodiac Axis. I don't know how to set anchor to the top of the picture.
Re: How to make sprites bigger and smaller?
If you need to find out how to use a term someone mentions, you can go to the Online Documentation (https://www.renpy.org/doc/html/) and use the search field: https://www.renpy.org/doc/html/search.h ... ea=default
If you still don't understand how to use it after experimenting with it, then by all means ask again with example of how you've tried.
We're very happy to help and point in the right directions, but if you learn to use the Online Documentations, you may find a lot of answers can be answered
If you still don't understand how to use it after experimenting with it, then by all means ask again with example of how you've tried.
We're very happy to help and point in the right directions, but if you learn to use the Online Documentations, you may find a lot of answers can be answered
-
- Veteran
- Posts: 241
- Joined: Tue Feb 20, 2018 12:59 pm
- Completed: Through the Screen, Riddle Me This, Trust Fall, Phobias, Another Adventure
- Projects: The Souls in the Seams, Fata Morgana, Minecraft: Story Mode - Behind the Scenes
- Organization: Astral Autumn Games
- Tumblr: astralautumngames
- Deviantart: ArizaLuca
- itch: astralautumngames
- Contact:
Re: How to make sprites bigger and smaller?
I actually figured it out earlier-- probably should've posted that here. I just used the yoffset. But thank you all for trying to help!
-
- Newbie
- Posts: 1
- Joined: Thu Jun 27, 2019 1:45 am
- Tumblr: renpytom
- Deviantart: renpytom
- Github: renpytom
- Skype: renpytom
- Soundcloud: renpytom
- itch: renpytom
- Contact:
Re: How to make sprites bigger and smaller?
I set the resize method to no somoothing when I uploaded animations to my actor, if that's what you were referring to, but it still gets blurry when I try to resize it UPSers - Login Portal for UPSers.com Employee
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot]