Attracting new users in games
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.
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.
-
- Regular
- Posts: 72
- Joined: Sat Apr 08, 2017 9:47 pm
- Projects: -LUXO- Love never ends,Alice In Wonderland X
- Organization: Colin Media Productions
- Tumblr: MisterOfChan
- Deviantart: KisameHoshigakiRPG
- Contact:
Attracting new users in games
How i can make "welcome (username)" in the game?
Check out our new game: -LUXO- Love never ends here!
viewtopic.php?f=43&t=44063
Deviant Art now!
http://kisamehoshigakirpg.deviantart.com/
viewtopic.php?f=43&t=44063
Deviant Art now!
http://kisamehoshigakirpg.deviantart.com/
Re: Attracting new users in games
%defaultPlayerName = "Gerry Scotti"
"So.. What's your name?"
$ localName = renpy.input("What is your name?")
if localName == "":
$localName = defaultPlayerName
"Hello %(localName)s"
"So.. What's your name?"
$ localName = renpy.input("What is your name?")
if localName == "":
$localName = defaultPlayerName
"Hello %(localName)s"
-
- Regular
- Posts: 72
- Joined: Sat Apr 08, 2017 9:47 pm
- Projects: -LUXO- Love never ends,Alice In Wonderland X
- Organization: Colin Media Productions
- Tumblr: MisterOfChan
- Deviantart: KisameHoshigakiRPG
- Contact:
Re: Attracting new users in games
Code: Select all
%defaultPlayerName = "Batura Momochi"
"So.. What's your name?"
$ localName = renpy.input("What is your name?")
if localName == "":
$localName = defaultPlayerName
"Hello %(localName)s"
Check out our new game: -LUXO- Love never ends here!
viewtopic.php?f=43&t=44063
Deviant Art now!
http://kisamehoshigakirpg.deviantart.com/
viewtopic.php?f=43&t=44063
Deviant Art now!
http://kisamehoshigakirpg.deviantart.com/
- trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
- Contact:
Re: Attracting new users in games
Here is the more Renpy/Python way of doing that code:
Code: Select all
default playerName = None
label start:
"So.. What's your name?"
$ playerName = renpy.input("What is your name?")
if playerName == "":
$ playerName = "Batura Momochi"
"Hello [playerName]"
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
Who is online
Users browsing this forum: Google [Bot]