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 Tue Jun 18, 2013 3:53 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: Sat Jun 02, 2012 2:41 am 
Veteran

Joined: Tue May 29, 2012 12:06 am
Posts: 215
Apparently, you can give a name to a position on the screen if you're going to use it often.
Could someone tell me the code for a position with the xpos 1.0, ypos .75, xanchor and yanchor 1.0?
Also, what's the code to "name" it? Say if I want to name it positionone, do I write:
Code:
    positionone = xpos 1.0, ypos .75, xanchor 1.0, yanchor 1.0

?
Also, when using the transitions, for some reason, I can't seem to customize them. Like, I want to zoom in on a character by 1.4, so I wrote:
Code:
    show zoe at right with dissolve
    zoom 1.4


But it either says that the indentation is wrong, or it points to the 1.4 and says expected line or something. I've tried indenting it so that it's:
Code:
    show zoe at right with dissolve
        zoom 1.4


...But then it claims it doesn't expect a block.
Also, when dissolving, I can't seem to customize it. I put:
Code:
    slowdissolve = dissolve (2.5)

...But it doesn't work when I test it out.

Please help me!

_________________
Lurking, semi-hiatus until late June to late July.


Last edited by RunicV on Sat Jun 02, 2012 11:47 pm, edited 1 time in total.

Top
 Profile Send private message  
 
PostPosted: Sat Jun 02, 2012 7:25 am 
Crawling Chaos
User avatar

Joined: Mon Feb 13, 2012 5:37 am
Posts: 1148
Location: Kimashi Tower, Japan
Completed: SMAR,AAA
Projects: DMC
I think these are what you need. I didn't test those codes though.
Code:
init:
    transform positionone:
        xpos 1.0 ypos .75 xanchor 1.0 yanchor 1.0

Code:
init python:
    slowdissolve = Dissolve(2.5)

Code:
label:
    show zoe at right:
        zoom 1.4
    with dissolve

I'm not sure : and the at clause can be used with. I'm only using at clause.

_________________


Top
 Profile Send private message  
 
PostPosted: Sat Jun 02, 2012 11:46 pm 
Veteran

Joined: Tue May 29, 2012 12:06 am
Posts: 215
Yes, thanks so much! It was along the lines of what you gave! You really helped me out a lot! :D
/isforevergratefultoNyaatrap

_________________
Lurking, semi-hiatus until late June to late July.


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