Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
-
beastcarving
- Regular
- Posts: 139
- Joined: Mon May 13, 2019 5:03 pm
- Completed: Pulse Cage https://beastcarving.itch.io/pulse-cage-the-full-series
- Projects: Your Brother's Religion
- Organization: BeastCarving Studio
- IRC Nick: BeastCarving
- Tumblr: beastcarving
- Deviantart: beastcarving
- Github: beastcarving
- itch: beastcarving
-
Contact:
#1
Post
by beastcarving » Mon May 25, 2020 4:15 am
Code: Select all
transform jump:
xpos 600 ypos 1280
parallel:
ypos 1300
linear 1.6 ypos 810
linear 1.4 ypos 1300
linear 1.2 ypos 890
linear 2.9 ypos 1280
linear 2.7 ypos 890
repeat
When I try showing this:
the image does move at all. Is there something I've done wrong?
Last edited by
beastcarving on Thu May 28, 2020 2:58 am, edited 1 time in total.
-
Imperf3kt
- Lemma-Class Veteran
- Posts: 3636
- Joined: Mon Dec 14, 2015 5:05 am
- Location: Your monitor
-
Contact:
#2
Post
by Imperf3kt » Mon May 25, 2020 4:36 am
Your indentation looks odd, transforms should be outside any label and all the way to the left.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project:
GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
-
Remix
- Eileen-Class Veteran
- Posts: 1628
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
-
Contact:
#3
Post
by Remix » Mon May 25, 2020 5:33 am
center is a positional transform... it adjusts pos (as a byproduct of adjusting align) so overrides other positional settings
So, bunny at jump, center is saying put bunny at xpos 600 ypos 1280 and move to ypos 890 AND finally (before drawing the frame) put bunny at center (likely xpos 640)
-
drKlauz
- Veteran
- Posts: 237
- Joined: Mon Oct 12, 2015 3:04 pm
-
Contact:
#4
Post
by drKlauz » Mon May 25, 2020 5:54 am
Try yoffset instead of ypos in your transform.
Users browsing this forum: No registered users