Information Screen
Forum rules
Do not post questions here!
This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Do not post questions here!
This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Re: Information Screen
I'm just a bit curious, is there a limit to how many characters can be on this screen?
-
- Regular
- Posts: 35
- Joined: Fri Jul 12, 2013 1:25 pm
- Projects: Neutralizing You
- Organization: Ninja Vault
- Location: Indonesia
- Contact:
Re: Information Screen
Hello,
I'd like to ask, can I make the character info unlockable after we've met the person? So at the beginning it'll be '???'
Thank You
I'd like to ask, can I make the character info unlockable after we've met the person? So at the beginning it'll be '???'
Thank You
Leader of Ninja Vault
Site => http://www.ninjavault.cf
Fan page => http://www.facebook.com/NinjaVault
Twitter => http://www.twitter.com/NinjaVault
Site => http://www.ninjavault.cf
Fan page => http://www.facebook.com/NinjaVault
Twitter => http://www.twitter.com/NinjaVault
- curry nochi rice
- Miko-Class Veteran
- Posts: 746
- Joined: Sat Mar 27, 2010 3:12 am
- Projects: Delicatessen, Whom to Notice, Start of Something, Love Sorcery
- Organization: Circle Cosine
- IRC Nick: Curry
- Skype: after.curry.rice
- itch: project-rothera
- Contact:
Re: Information Screen
if you followed the standard implementation oft his code. (I mean outright copy paste)Meiting_98 wrote:Hello,
I'd like to ask, can I make the character info unlockable after we've met the person? So at the beginning it'll be '???'
Thank You
...
anyway, first we add a Boolean that by default value = False:
Code: Select all
$ angelica_introduced = False
Code: Select all
$ angelica_introduced = True
Code: Select all
if angelica_introduced:
textbutton "Angie" action SetVariable ("viewing", Angelica.name) xminimum 120 yminimum 120
-
- Regular
- Posts: 35
- Joined: Fri Jul 12, 2013 1:25 pm
- Projects: Neutralizing You
- Organization: Ninja Vault
- Location: Indonesia
- Contact:
Re: Information Screen
Umm I mean, on the info screen, not on the namebox.
So I'd like to make it looks like this before the character is introduced: And after the character has been introduced, her name will appear like this: But I'd like to make the other characters' info be like that as well. The name 'Ethan' below her, appeared before he's even introduced (along with his info). I want so that before the character is introduced, his/her info on the info screen (name, blood type, etc) will only appeared as '???'
Thank You
So I'd like to make it looks like this before the character is introduced: And after the character has been introduced, her name will appear like this: But I'd like to make the other characters' info be like that as well. The name 'Ethan' below her, appeared before he's even introduced (along with his info). I want so that before the character is introduced, his/her info on the info screen (name, blood type, etc) will only appeared as '???'
Thank You
Leader of Ninja Vault
Site => http://www.ninjavault.cf
Fan page => http://www.facebook.com/NinjaVault
Twitter => http://www.twitter.com/NinjaVault
Site => http://www.ninjavault.cf
Fan page => http://www.facebook.com/NinjaVault
Twitter => http://www.twitter.com/NinjaVault
- curry nochi rice
- Miko-Class Veteran
- Posts: 746
- Joined: Sat Mar 27, 2010 3:12 am
- Projects: Delicatessen, Whom to Notice, Start of Something, Love Sorcery
- Organization: Circle Cosine
- IRC Nick: Curry
- Skype: after.curry.rice
- itch: project-rothera
- Contact:
Re: Information Screen
there's one easy way out of that, you'll have to hardcode the character's default values to = "???" like:
then when the character is introduced:
the textbutton code would look like:
hope this helps
Code: Select all
$ Stephanie.name = "???"
#same goes for everything else
Code: Select all
"So her name is Stephanie"
$ Stephanie.name = "Stephanie"
Code: Select all
textbutton Stephanie.name action SetVariable ("viewing", Stephanie.name) xminimum 120 yminimum 120
Re: Information Screen
Sorry I'm slightly confused here. Where would you put the stuff I need for it to be unlocked? Like I think I understand the textbutton goes under the displays everything section, but I'm confused on everything else. I apologize for troubling you, but could you explain in detail please?curry nochi rice wrote:if you followed the standard implementation oft his code. (I mean outright copy paste)Meiting_98 wrote:Hello,
I'd like to ask, can I make the character info unlockable after we've met the person? So at the beginning it'll be '???'
Thank You
...
anyway, first we add a Boolean that by default value = False:then if the character is introduced:Code: Select all
$ angelica_introduced = False
the character's own textbutton should appear if the Boolean returns True.Code: Select all
$ angelica_introduced = True
Code: Select all
if angelica_introduced: textbutton "Angie" action SetVariable ("viewing", Angelica.name) xminimum 120 yminimum 120
Currently working on Dance With Me? - Danny Phantom Date Sim.
Link to our blog - http://dpdatesim.tumblr.com/
Currently looking for writers, and help with coding on the game. Please contact me or JaxxyLupei, on here or message on the blog.
Link to our blog - http://dpdatesim.tumblr.com/
Currently looking for writers, and help with coding on the game. Please contact me or JaxxyLupei, on here or message on the blog.
-
- Regular
- Posts: 35
- Joined: Fri Jul 12, 2013 1:25 pm
- Projects: Neutralizing You
- Organization: Ninja Vault
- Location: Indonesia
- Contact:
Re: Information Screen
I assume you're going to use the same function as me? To use the same function, in the infoscreen script, you should make all the characters info = ???Sorry I'm slightly confused here. Where would you put the stuff I need for it to be unlocked? Like I think I understand the textbutton goes under the displays everything section, but I'm confused on everything else. I apologize for troubling you, but could you explain in detail please?
For example,
Code: Select all
$ old_man = char(
name="???",
age="???",
dateable=False
)
Code: Select all
vbox xpos 1.3 ypos 3.7:
if name != 'Name: ???':
text name size 19
Code: Select all
old_man "My name is A."
$old_man.name = "A"
old man "I am 100 years old"
$old_man.age = "100"
Leader of Ninja Vault
Site => http://www.ninjavault.cf
Fan page => http://www.facebook.com/NinjaVault
Twitter => http://www.twitter.com/NinjaVault
Site => http://www.ninjavault.cf
Fan page => http://www.facebook.com/NinjaVault
Twitter => http://www.twitter.com/NinjaVault
Re: Information Screen
Another question I have is there anyway to hide the infoscreen button on the bottom during the game? For example, I want it to be hidden during the beginning and it will appear the moment he meets the first girl.
Currently working on Dance With Me? - Danny Phantom Date Sim.
Link to our blog - http://dpdatesim.tumblr.com/
Currently looking for writers, and help with coding on the game. Please contact me or JaxxyLupei, on here or message on the blog.
Link to our blog - http://dpdatesim.tumblr.com/
Currently looking for writers, and help with coding on the game. Please contact me or JaxxyLupei, on here or message on the blog.
-
- Newbie
- Posts: 2
- Joined: Fri Nov 23, 2018 2:29 pm
- Tumblr: celestialsuniverse
- Deviantart: celestialsuniverse
- Soundcloud: Celestial's Universe
- itch: celestialsuniverse
- Contact:
Re: Information Screen
I'm unable to make the agility, strength, intelligence, health, etc. bars for my main character's page to show up. I made mainChar = True , but it still isn't showing up. Furthermore, the affection and friendship bars are staying on the page as well.
Who is online
Users browsing this forum: No registered users