value based transform
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.
-
- Regular
- Posts: 30
- Joined: Tue Nov 17, 2015 1:34 pm
- Contact:
value based transform
Edit: Finally fixed it my self
Last edited by dragonlord3989 on Mon Aug 14, 2017 2:58 am, edited 1 time in total.
-
- Regular
- Posts: 30
- Joined: Tue Nov 17, 2015 1:34 pm
- Contact:
- xavimat
- Eileen-Class Veteran
- Posts: 1461
- Joined: Sat Feb 25, 2012 8:45 pm
- Completed: Yeshua, Jesus Life, Cops&Robbers
- Projects: Fear&Love
- Organization: Pilgrim Creations
- Github: xavi-mat
- itch: pilgrimcreations
- Location: Spain
- Discord: xavimat
- Contact:
Re: value based transform
Maybe we need more context. There are different ways of doing this, you have a screen with timer that changes some variables. It's possible to define transforms and pass values to them too. To reset the position of the image, you could simply "show" again the image with position properties.
It's possible without screens:
I imagine this is not what you want, because you seem to need a timer and a screen, but I don't know why. Please explain a little bit what do you really need.
It's possible without screens:
an image to go from the left of the screen to the center, but after the timer counts down and it jumps back to the test label it resets the image location
Code: Select all
image img = Solid("#fcc", xysize=(100, 100))
label start:
show img:
xalign 0.0
linear 4 xalign 1.0
pause 4
show img:
xalign 0.0
"Bla"
return
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
-
- Regular
- Posts: 30
- Joined: Tue Nov 17, 2015 1:34 pm
- Contact:
Re: value based transform
Solved
Who is online
Users browsing this forum: Google [Bot]