Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Sat May 18, 2013 6:11 am

All times are UTC - 5 hours [ DST ]


Forum rules


Ask questions about one topic per thread, and use a descriptive subject. "NotImplemented error in script.rpy" is a good subject, "Tom's problems" is not. Remember to include all of traceback.txt or error.txt when reporting a problem, as well as the relevant lines of script. Use the [code] tag to format scripts.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Jun 03, 2012 1:32 pm 
Regular
User avatar

Joined: Sun Aug 01, 2010 1:21 pm
Posts: 137
I'm wondering if there's a way to move a sprite (let's call it "Lucy Happy" for sake of the example) with atl and making that same character dissolve into a "Lucy Mad" while it moves.
This'd help me a great deal. Thank you in advance.


Top
 Profile Send private message  
 
PostPosted: Sun Jun 03, 2012 4:05 pm 
Regular
User avatar

Joined: Sat May 26, 2012 1:38 pm
Posts: 31
Location: Home
Organization: None
EDIT:
I found a shortcut. You could use "parallel" like this:
Code:
image lucy_change:
    parallel:
        "lucy_happy.png"
        pause 0.5
        "lucy_mad.png" with dissolve
        pause 0.5
    parallel:
        linear 1.0 xalign 1.0 yalign 1.0


I do not know if there are any simpler way, but you could do this:
(*Note - I haven't test it yet)
Code:
image lucy_change:
    "lucy_happy.png"
    pause 0.5
    "lucy_mad.png" with dissolve
    pause 0.5

image lucy_move:
    "lucy_change"
    linear 1.0 xalign 1.0 yalign 1.0

_________________
Cactuses


Top
 Profile Send private message  
 
PostPosted: Sun Jun 03, 2012 4:57 pm 
Regular
User avatar

Joined: Sun Aug 01, 2010 1:21 pm
Posts: 137
Ah, thank you very much. I was actually using something quite similar, but this one works much better.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group