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 Mon May 20, 2013 12:04 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  [ 4 posts ] 
Author Message
PostPosted: Wed May 23, 2012 1:20 pm 
Regular
User avatar

Joined: Tue Mar 27, 2012 3:01 pm
Posts: 54
Location: Somewhere in Scotland~
Projects: Rêve Symphonie
Long story short,
how do I define the player, as in %(player_name)s

I can't figure it out and it's making me want to cry....... I want to set a colour, and a side image, BUT I CAN'T
ftguyhikjnmkolgvrfweiuojkolpgvrfeajkml,vgrfe (*rage*)

And another thing while I'm at it, how do I get rid of the indentation side images create? As in return the window padding to normal?

_________________
~~~~
Signature, eh?
Hi!~ I'm TheSnowflakeOfDoom! I'm not a snowflake, nor do I bring doom I just like snowflakes... This account speaks for two people, because I couldn't be bothered making my own account And I can't deal with talking on my own...
I'm not rude, I'm just really shy... Meep~ Even though I want to talk to you all...

S-so how are you all today? I hope you're all well, and all your projects are going well!~
*Runs and hides*

~~~~


Last edited by TheSnowflakeOfDoom on Fri May 25, 2012 3:25 am, edited 1 time in total.

Top
 Profile Send private message  
 
PostPosted: Wed May 23, 2012 3:49 pm 
Veteran
User avatar

Joined: Thu Jul 07, 2011 9:33 am
Posts: 297
Projects: BloomingBlossoms
TheSnowflakeOfDoom wrote:
Long story short,
how do I define the player, as in %(player_name)s


In Ren'Py 6.12 and above (I think ^_^") you use
Code:
[player_name]

instead of
Code:
%(player_name)s

_________________
Sorry for my bad english ^_^''
Image My VN Website~


Top
 Profile Send private message  
 
PostPosted: Wed May 23, 2012 4:07 pm 
Regular
User avatar

Joined: Mon May 21, 2012 2:18 am
Posts: 31
Location: France
Projects: Sous le masque / Social shark
Organization: Bal masqué
I think OP want to declare it. Moreover, both [player_name] and %(player_name) can be used in 6.12.

Try this :

Code:
$ player_name = me
$ player = DynamicCharacter("player_name", color="#58D3F7", show_two_window=True)
$ player_name = renpy.input("My name is : ", "Ryouzanki", length=15) or "Ryouzanki"


Top
 Profile Send private message  
 
PostPosted: Fri May 25, 2012 3:24 am 
Regular
User avatar

Joined: Tue Mar 27, 2012 3:01 pm
Posts: 54
Location: Somewhere in Scotland~
Projects: Rêve Symphonie
Ahh! Thank you both of you! It's fixed!~

_________________
~~~~
Signature, eh?
Hi!~ I'm TheSnowflakeOfDoom! I'm not a snowflake, nor do I bring doom I just like snowflakes... This account speaks for two people, because I couldn't be bothered making my own account And I can't deal with talking on my own...
I'm not rude, I'm just really shy... Meep~ Even though I want to talk to you all...

S-so how are you all today? I hope you're all well, and all your projects are going well!~
*Runs and hides*

~~~~


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

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot], Valmoer


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