Very informative. Thank you Alex.
I have one question though. Earlier the script wasn't recognizing things I used $ for instead of define before label start: yet the variables for the calender use this in the script. Does $ only work in the middle of the script for defining strings?
Search found 23 matches
- Sun Oct 05, 2014 8:04 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Digital Clock; adding screen say: makes game not load text.
- Replies: 9
- Views: 1150
- Sun Oct 05, 2014 5:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Digital Clock; adding screen say: makes game not load text.
- Replies: 9
- Views: 1150
Re: Digital Clock; adding screen say: makes game not load te
So now I'm working on making the year not display... def Calendar(): ui.frame(xfill=False, xminimum = 400, yminimum=None, xalign=0.0, yalign = 0.0) ui.vbox() ui.text("(%s) - %s %d %d" % (stringweekday, stringmonth, theday, theyear), xalign=1.0, size=20) ui.close() This seems to be where it...
- Sun Oct 05, 2014 4:45 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Digital Clock; adding screen say: makes game not load text.
- Replies: 9
- Views: 1150
Re: Digital Clock; adding screen say: makes game not load te
Is there any way I can have it activated at times and deactivated at others?
EDIT: Is there any way to make it not display the year? It seems to automatically detect the passing of time, so I don't know if it would have issues if I removed the coding referring to the year.
EDIT: Is there any way to make it not display the year? It seems to automatically detect the passing of time, so I don't know if it would have issues if I removed the coding referring to the year.
- Sun Oct 05, 2014 1:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Digital Clock; adding screen say: makes game not load text.
- Replies: 9
- Views: 1150
Re: Digital Clock; adding screen say: makes game not load te
So the issue is that the cookbook recipe I used is horrifyingly out of date? Would it be better to remove the clock from my script entirely in favor of finding a different one, or is there a different code I can use to make it display?
- Sun Oct 05, 2014 1:07 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Digital Clock; adding screen say: makes game not load text.
- Replies: 9
- Views: 1150
Digital Clock; adding screen say: makes game not load text.
I attached a picture of the problem. I've added the coding available at: http://www.renpy.org/wiki/renpy/doc/cookbook/Adding_a_slightly-complicated_Digital_Calendar to my code. When I ran it however after adding the screen say: if(clock): $ Calendar() $ Clocks() part of the code, the game no longer ...
- Sat Oct 04, 2014 10:22 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Indentation mismatch, label start:
- Replies: 2
- Views: 907
Re: Indentation mismatch, label start:
Yeah, originally they all hugged the left line now they're all 4 spaces out. I'll try removing the indentation from all of the variable declarations. Fixed the menu thing already. EDIT: Fixed that, now I'm getting this. Am I supposed to have something between the " and the : here? EDIT2: And ag...
- Sat Oct 04, 2014 9:42 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Indentation mismatch, label start:
- Replies: 2
- Views: 907
Indentation mismatch, label start:
So... there's an indentation mismatch, but its saying that about the very beginning of my script where it says "label start:". Its all the way to the left, where I've always had it, any idea what the issue may be? I attached a picture, could the fact that the menu's are that far to the lef...
- Sat Oct 04, 2014 1:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Help! Time progression based system with different menu item
- Replies: 1
- Views: 477
Help! Time progression based system with different menu item
No idea how to fit what I'm trying to do in the title, but I tried. I'm creating a game with a story that progresses over time. The main story completes automatically at certain dates and times, and other times are spent with other characters or completing tasks. The idea is that the story will have...
- Sat Jan 28, 2012 7:21 am
- Forum: Skill Development
- Topic: Does anyone know how to edit a drawing look realism
- Replies: 3
- Views: 2833
Re: Does anyone know how to edit a drawing look realism
you should probably post it when asking for advice.
- Mon Jan 16, 2012 6:39 pm
- Forum: Ren'Py Questions and Announcements
- Topic: dynamic character?
- Replies: 6
- Views: 10334
Re: dynamic character?
Code: Select all
$ q = renpy.input("My name is...?") or "Default Name"
- Sun Jan 15, 2012 4:31 am
- Forum: Ren'Py Questions and Announcements
- Topic: dynamic character?
- Replies: 6
- Views: 10334
Re: dynamic character?
Dynamic characters aren't that hard. Since I've had some really bad experiences with the wiki being inaccurate, or not descriptive enough, I'll help you out a bit. Here is the code I use to apply a dynamiccharacter for the protagonist of my story. $ a = DynamicCharacter("q", color="#F...
- Sat Jan 14, 2012 2:01 am
- Forum: Ren'Py Questions and Announcements
- Topic: Trying to set a number of times you can do an action....
- Replies: 4
- Views: 3278
Re: Trying to set a number of times you can do an action....
Thank you Camille!!! That explains everything, and helped me fix all the issues.
The only thing now I'd like to do in top of this, is make a maximum for the number, and a minimum. Is that at all possible without some long python code at the start?
The only thing now I'd like to do in top of this, is make a maximum for the number, and a minimum. Is that at all possible without some long python code at the start?
- Sat Jan 14, 2012 1:44 am
- Forum: Ren'Py Questions and Announcements
- Topic: Trying to set a number of times you can do an action....
- Replies: 4
- Views: 3278
Trying to set a number of times you can do an action....
Basically, I need to set a variable for time. A number. That I can decrease by one, and then test to see if it equals zero to see if a day ends, based on what choices a person makes during the day. I've tried simply making it somthing like.... $ test = "0" Followed by.... $ test += 1 When ...
- Sat Jan 29, 2011 3:31 am
- Forum: Ren'Py Questions and Announcements
- Topic: A question involving stat variables and changing backgrounds
- Replies: 19
- Views: 2696
Re: A question involving stat variables and changing backgro
Okay, question. Provided I already have DPV set to know the value that it needs to know... image bg waterfront = ConditionSwitch( "?", "waterfront_day.jpg", "?", "waterfront_night.jpg", ) how would I go about asking where the ?'s are, to check and see if the v...
- Sat Jan 29, 2011 2:49 am
- Forum: Ren'Py Questions and Announcements
- Topic: A question involving stat variables and changing backgrounds
- Replies: 19
- Views: 2696
Re: A question involving stat variables and changing backgro
Thanks for clearing that up! The test works now, thanks a bunch man. ^_^ I'll come back tomorrow if I have problems with that condition switch thing. But... I figure I can just use if statements on that to get it to work, pair them together. Now that you mention it... gah. Repeating that after every...