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.
Milkymalk
Miko-Class Veteran
Posts: 753 Joined: Wed Nov 23, 2011 5:30 pm
Completed: Don't Look (AGS game)
Projects: KANPEKI! ★Perfect Play★
Organization: Crappy White Wings
Location: Germany
Contact:
#1
Post
by Milkymalk » Mon Jul 21, 2014 10:56 am
Got this here:
http://www.renpy.org/doc/html/sprites.html
what is the Python equivalent of this?
Code: Select all
show expression repulsor as repulsor
I know it's renpy.show(), but if I say
I get an error message saying sprite manager can not be split. I guess it comes from Ren'Py trying to evaluate my arguments.
If I try
Code: Select all
renpy.show('myspritemanager',myspritemanager)
Ren'Py tries to literally display a displayable called 'myspritemanager'.
Last edited by
Milkymalk on Mon Jul 21, 2014 11:04 am, edited 1 time in total.
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)
Milkymalk
Miko-Class Veteran
Posts: 753 Joined: Wed Nov 23, 2011 5:30 pm
Completed: Don't Look (AGS game)
Projects: KANPEKI! ★Perfect Play★
Organization: Crappy White Wings
Location: Germany
Contact:
#3
Post
by Milkymalk » Mon Jul 21, 2014 11:04 am
Ah I get it. My mistake was that I thought the second argument will automatically be passed as the 'what'. Works perfectly now
Thank you!
As you can probably guess, I am not very experienced with actually using Python instead of Ren'Py script language.
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)
Users browsing this forum: Google [Bot]