Ok, so I have a couple more question for my datesim. How would i implement periods for instance I have a day and each day the user can do certain things at certain times. I will be implementing image maps so when he wakes up i want him to be able to do anything but certain things are of limit a that time
for instance it's morning and he is at school now he first class is english if he goes to english it does the usually even but if he try to go to math it is too early and the teachers says you to early mike you do have this class until 4 period
Or its 7 pm the donut shop is not open, but you can go to other stuff on the town map
I hope i'm making since
Also i need to know how, do you do another day, for instance day2 to the above, that will do the same thing as the above just as a new fresh day but was able to have an event like a football game on day 2
I was thinking of adding a
$ day_point = 0
then having $ day_point += 1
at the end of the day
and for events i would have events
If strength < 15
d“Wow yall won and you played great”
Elif strength >15 but great 7
d“You did great but y'all still lost”
else :
g“Yall suck “
But i wanted that to only happen only on day 2. How would i do that
Sorry if i am confusing and thanks for all he help you guy have really been helping me alot.
im sorry more date sim questions
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: 33
- Joined: Tue Jun 27, 2017 4:11 pm
- Contact:
-
- Regular
- Posts: 33
- Joined: Tue Jun 27, 2017 4:11 pm
- Contact:
Re: im sorry more date sim questions
also can you have multiple if on a if statement for instance like
if charisma_point >= 30,and if science _point>20 :
for this
label arcade:
"at the arcade"
menu:
"play video game":
$ dextirity_point +=!
jump videogameafter
"go talk to the store owner, Ms.Randolph.":
if charisma_point >= 30,and if science _point>20 :
jump MsRandolph1
else: charisma_point<=30,and if science _point<20 :
jump MsRandolph2
"go talk to ms johnson":
jump msjohnson
"go to townmap":
jump townmap
label MsRandolph1:
"you talk to ms.randolph "
$ w1_point += 5
jump arcade
label MsRandolph2:
"you try to talk to ms.randolph but she is concentrating on the game"
$ w1_point += 1
jump arcade
label msjohnson:
"asdf"
if charisma_point >= 30,and if science _point>20 :
for this
label arcade:
"at the arcade"
menu:
"play video game":
$ dextirity_point +=!
jump videogameafter
"go talk to the store owner, Ms.Randolph.":
if charisma_point >= 30,and if science _point>20 :
jump MsRandolph1
else: charisma_point<=30,and if science _point<20 :
jump MsRandolph2
"go talk to ms johnson":
jump msjohnson
"go to townmap":
jump townmap
label MsRandolph1:
"you talk to ms.randolph "
$ w1_point += 5
jump arcade
label MsRandolph2:
"you try to talk to ms.randolph but she is concentrating on the game"
$ w1_point += 1
jump arcade
label msjohnson:
"asdf"
- Remix
- Eileen-Class Veteran
- Posts: 1628
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
- Contact:
Re: im sorry more date sim questions
Please get into the habit of posting code on the forum within code blocks, so people can actually read it...
[code]... all your code here ...[/code]
Multiple if's can be combined using ' and ' within python. Note though, no commas and no uppercase If...
if var >= val and var2 >= val2 and var3 >= val3: # etc
Not sure if you are using DSE or some other date sim engine, so I will leave that answer for others
[code]... all your code here ...[/code]
Multiple if's can be combined using ' and ' within python. Note though, no commas and no uppercase If...
if var >= val and var2 >= val2 and var3 >= val3: # etc
Not sure if you are using DSE or some other date sim engine, so I will leave that answer for others
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
-
- Regular
- Posts: 33
- Joined: Tue Jun 27, 2017 4:11 pm
- Contact:
Re: im sorry more date sim questions
texasstallion wrote: ↑Tue Nov 07, 2017 9:19 pm also can you have multiple if on a if statement for instance like
if charisma_point >= 30,and if science _point>20 :
Code: Select all
for this label arcade: "at the arcade" menu: "play video game": $ dextirity_point +=! jump videogameafter "go talk to the store owner, Ms.Randolph.": if charisma_point >= 30,and if science _point>20 : jump MsRandolph1 else: charisma_point<=30,and if science _point<20 : jump MsRandolph2 "go talk to ms johnson": jump msjohnson "go to townmap": jump townmap label MsRandolph1: "you talk to ms.randolph " $ w1_point += 5 jump arcade label MsRandolph2: "you try to talk to ms.randolph but she is concentrating on the game" $ w1_point += 1 jump arcade label msjohnson: "asdf"
-
- Regular
- Posts: 33
- Joined: Tue Jun 27, 2017 4:11 pm
- Contact:
Re: im sorry more date sim questions
no date sim engine i can understand it well enough to usetexasstallion wrote: ↑Wed Nov 08, 2017 4:38 pmtexasstallion wrote: ↑Tue Nov 07, 2017 9:19 pm also can you have multiple if on a if statement for instance like
if charisma_point >= 30,and if science _point>20 :
Code: Select all
for this label arcade: "at the arcade" menu: "play video game": $ dextirity_point +=! jump videogameafter "go talk to the store owner, Ms.Randolph.": if charisma_point >= 30,and if science _point>20 : jump MsRandolph1 else: charisma_point<=30,and if science _point<20 : jump MsRandolph2 "go talk to ms johnson": jump msjohnson "go to townmap": jump townmap label MsRandolph1: "you talk to ms.randolph " $ w1_point += 5 jump arcade label MsRandolph2: "you try to talk to ms.randolph but she is concentrating on the game" $ w1_point += 1 jump arcade label msjohnson: "asdf"
-
- Regular
- Posts: 33
- Joined: Tue Jun 27, 2017 4:11 pm
- Contact:
Re: im sorry more date sim questions
texasstallion wrote: ↑Wed Nov 08, 2017 4:38 pmtexasstallion wrote: ↑Tue Nov 07, 2017 9:19 pm also can you have multiple if on a if statement for instance like
if charisma_point >= 30,and if science _point>20 :
Code: Select all
for this label arcade: "at the arcade" menu: "play video game": $ dextirity_point +=! jump videogameafter "go talk to the store owner, Ms.Randolph.": if charisma_point >= 30,and if science _point>20 : jump MsRandolph1 else: charisma_point<=30,and if science _point<20 : jump MsRandolph2 "go talk to ms johnson": jump msjohnson "go to townmap": jump townmap label MsRandolph1: "you talk to ms.randolph " $ w1_point += 5 jump arcade label MsRandolph2: "you try to talk to ms.randolph but she is concentrating on the game" $ w1_point += 1 jump arcade label msjohnson: "asdf"
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot]