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 Wed May 22, 2013 1:39 pm

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
 Post subject: show screen
PostPosted: Wed Jan 18, 2012 5:28 am 
Regular

Joined: Wed Dec 07, 2011 5:52 am
Posts: 44
Hello!
I may show screen by this code
Code:
    show screen obstacleScreen(obstacle=testObstacle, obstacleChoice=obstacleChoice, inspireList=inspireList.list)


What is equals renpy.show_screen() method call?
I have no success :(

Code:
    renpy.show_screen("obstacleScreen"..............) #how to pass params?


Top
 Profile Send private message  
 
 Post subject: Re: show screen
PostPosted: Wed Jan 18, 2012 7:04 am 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10774
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
The keyword arguments remain as keyword arguments.

Code:
renpy.show_screen("obstacleScreen", obstacle=testObstacle, obstacleChoice=obstacleChoice, inspireList=inspireList.list)

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
 Post subject: Re: show screen
PostPosted: Wed Jan 18, 2012 12:04 pm 
Regular

Joined: Wed Dec 07, 2011 5:52 am
Posts: 44
Thanks!!! :D


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