Moveinleft Not Working?

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.
Post Reply
Message
Author
User avatar
Braydxne
Regular
Posts: 50
Joined: Tue Aug 08, 2017 4:03 am
Projects: DR: Chains of Trust
Contact:

Moveinleft Not Working?

#1 Post by Braydxne »

I'm trying to use moveinleft to show two characters coming in, however it ends up just having them appear from thin air rather than moving in.

Code: Select all

show karina scared at Position(xpos = 0.20) 
show sam scared at Position(xpos = 0.40)   
with moveinleft
This also doesn't work when I try to make them appear individually or when I try and make them moveinright.

EDIT:
All move-in/out whatevers seem to stop working after I use this code:

Code: Select all

  $all_moves(camera_check_points={u'y': [(0, 0, None), (-475, 0.2, u'linear')], u'z': [(0, 0, None), (429, 0.2, u'linear')]})
    
    stranger "H-How is that possible?" ##Jordyn
    
    $camera_move(0, 0, 0, 0, duration=0.20)
    
    $ renpy.pause (0.20,hard=True)
    
    hide jordyn
    with moveoutright
    
    $ renpy.pause (0.1,hard=True)
    
    show karina scared at Position(xpos = 0.20)
    show sam scared at Position(xpos = 0.40)
    with moveinleft
I've tested it and the camera movement is not what's messing it up...

User avatar
Divona
Miko-Class Veteran
Posts: 678
Joined: Sun Jun 05, 2016 8:29 pm
Completed: The Falconers: Moonlight
Organization: Bionic Penguin
itch: bionicpenguin
Contact:

Re: Moveinleft Not Working?

#2 Post by Divona »

Usually, this will happen when you put the character on another layer besides master. I don't see that you have used 'onlayer', though. As you're using 3D camera, press Shift+P and see what layer the character are in. Are they in the master layer?

Also, check if Skip Transitions is activated in Preference menu. If it does, turn it off.

Alternatively, you could use ATL to move them sprites. More freedom that way. Especially when you start putting character on another layers for 3D camera to have the parallax effect.
Completed:
Image

User avatar
Braydxne
Regular
Posts: 50
Joined: Tue Aug 08, 2017 4:03 am
Projects: DR: Chains of Trust
Contact:

Re: Moveinleft Not Working?

#3 Post by Braydxne »

Di[i wrote:[/i]vona post_id=465515 time=1505967948 user_id=35345]
Usually, this will happen when you put the character on another layer besides master. I don't see that you have used 'onlayer', though. As you're using 3D camera, press Shift+P and see what layer the character are in. Are they in the master layer?

Also, check if Skip Transitions is activated in Preference menu. If it does, turn it off.

Alternatively, you could use ATL to move them sprites. More freedom that way. Especially when you start putting character on another layers for 3D camera to have the parallax effect.
It seems it does it whenever I use the camera to zoom in on a character, even after I do $ camera_reset it stops working. This is weird because all images ARE on the master layer.

User avatar
Braydxne
Regular
Posts: 50
Joined: Tue Aug 08, 2017 4:03 am
Projects: DR: Chains of Trust
Contact:

Re: Moveinleft Not Working?

#4 Post by Braydxne »

I guess I'll just have to use ATL movement. Thank you for helping! ^^

User avatar
Divona
Miko-Class Veteran
Posts: 678
Joined: Sun Jun 05, 2016 8:29 pm
Completed: The Falconers: Moonlight
Organization: Bionic Penguin
itch: bionicpenguin
Contact:

Re: Moveinleft Not Working?

#5 Post by Divona »

OK. I have the same problem when registered 'master' layer as 3D layer. By just move the camera before called transition (same thing as move layer with ATL), the transition will not work anymore as the layer already transformed by ATL. I would suggest forget transition and use ATL to move sprites around.
Completed:
Image

Post Reply

Who is online

Users browsing this forum: No registered users