Usually I write:
show sylvie
or
show sylvie at right
This time, I want to make the character look taller, so I want to raise him. How do I do that?
Thanks in advance
How to change position of character in renpy??
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.
-
- Newbie
- Posts: 20
- Joined: Wed Dec 18, 2013 11:42 am
- Contact:
- zankizuna
- Veteran
- Posts: 416
- Joined: Fri May 04, 2012 2:20 am
- Completed: Monochrome Valentine
- Projects: Softwar
- Deviantart: raseru09
- itch: ZanKizuna
- Location: Manilaaaaaaaa
- Contact:
Re: How to change position of character in renpy??
u can make a copy of your pic, with greater height.
-
- Newbie
- Posts: 20
- Joined: Wed Dec 18, 2013 11:42 am
- Contact:
- zankizuna
- Veteran
- Posts: 416
- Joined: Fri May 04, 2012 2:20 am
- Completed: Monochrome Valentine
- Projects: Softwar
- Deviantart: raseru09
- itch: ZanKizuna
- Location: Manilaaaaaaaa
- Contact:
Re: How to change position of character in renpy??
hahahah, that was helpful? I know there should be a code for that but I dunno what it is.
-
- Lemma-Class Veteran
- Posts: 2299
- Joined: Mon Feb 06, 2012 9:50 pm
- Completed: Icebound, Selenon Rising Ep. 1-2
- Projects: Selenon Rising Ep. 3-4
- Organization: Fastermind Games
- Deviantart: sundownkid
- Location: NYC
- Contact:
Re: How to change position of character in renpy??
To do this with one image you would use the tall image, and define it twice, but make the yalign of the shorter image greater than 1.
Code: Select all
image dude_tall = "dude.png"
image dude:
"dude.png"
yalign 1.1
Re: How to change position of character in renpy??
If you just want to make a particular image higher once or twice, the easiest way is to use ATL: http://www.renpy.org/doc/html/atl.html#atl
In this case, you could just do something like
which will make it appear 0.8 of the way up the screen.
(Alternatives are using ATL to define a second, higher image as above, making a whole new image, or setting up a transform to automatically show anything higher using either ATL or the Transform() class.)
Really, it depends on how often you want to use this and who with as to which method you use - if you only want to use it very occasionally, it's probably easiest to do an ATL block with the show as I did above. If it happens pretty frequently for just one character, define a taller image using ATL for that character as SundownKid shows you above. If it happens to a bunch of different characters quite a lot, make your own transform (something like
) which you can then just use with show sylvie at middlehigh and so on.)
In this case, you could just do something like
Code: Select all
show sylvie:
yalign 0.8
(Alternatives are using ATL to define a second, higher image as above, making a whole new image, or setting up a transform to automatically show anything higher using either ATL or the Transform() class.)
Really, it depends on how often you want to use this and who with as to which method you use - if you only want to use it very occasionally, it's probably easiest to do an ATL block with the show as I did above. If it happens pretty frequently for just one character, define a taller image using ATL for that character as SundownKid shows you above. If it happens to a bunch of different characters quite a lot, make your own transform (something like
Code: Select all
transform middlehigh:
xalign 0.5
yalign 0.8
-
- Newbie
- Posts: 20
- Joined: Wed Dec 18, 2013 11:42 am
- Contact:
Re: How to change position of character in renpy??
Thanks everybody for your help and MERRY CHRISTMAS
Who is online
Users browsing this forum: Google [Bot]