Search found 126 matches

by Dusty
Sun Nov 08, 2009 1:58 am
Forum: Ren'Py Questions and Announcements
Topic: Coding Money??
Replies: 22
Views: 3435

Re: Coding Money??

$ coins = 0 #You can keep track of coins with a variable. $ items = [] #You can also keep track of items with a list. "Today you made 10 coins! Good job!" $ coins += 10 #By using the += operator, you can add coins. "You have %(coins)d coins remaining. What would you like to buy?"...
by Dusty
Sun Oct 04, 2009 2:40 pm
Forum: Ren'Py Questions and Announcements
Topic: Using the RPG frame [NEW PROBLEM]
Replies: 30
Views: 6191

Re: Using the RPG frame [Solved]

*de-lurk!* I'm pretty sure the problem is that you use quotation marks for numbers. Things like wolfmxhp are numbers and shouldn't be placed in quotation marks, so it should look something like this: ... label fight(ename="Wolf", elevel=wolflevel, ehp=wolfhp, emaxhp=wolfmxhp, pname="%...
by Dusty
Fri Aug 14, 2009 1:33 am
Forum: Completed Games
Topic: [The Dreaming] v0.9 (Win/Mac/Linux)
Replies: 227
Views: 111675

Re: [The Dreaming] v0.9 (windows only)

confession: the first time through, i chose the picture option (and saw the ponytail) and never found out who jane was, so i thought that the twist ending was that julius would be transgender assorted thoughts: In particular, I have no idea what any of the conversation with the white lady is suppose...
by Dusty
Thu Aug 13, 2009 2:16 am
Forum: Ren'Py Questions and Announcements
Topic: Text Pauses
Replies: 3
Views: 903

Re: Text Pauses

yes, seems bugged to me, too.

You want to report that over at bugs.launchpad.net/renpy ?
by Dusty
Thu Aug 13, 2009 1:22 am
Forum: Ren'Py Questions and Announcements
Topic: Persistent Data Question
Replies: 6
Views: 983

Re: Persistent Data Question

You missed a comma. Changing the first bit to $ result = renpy.imagemap("story menu.jpg", "story map hover.jpg", [ (256, 54, 358, 92, "Wishes"), (289, 153, 418, 191, "Memories"), (315, 233, 418, 269, "Angels") ]) should make it work better. whats an ...
by Dusty
Mon Apr 27, 2009 12:16 am
Forum: Ren'Py Questions and Announcements
Topic: Having the textbox change midgame
Replies: 9
Views: 4478

Re: Having the textbox change midgame

What you could do is use Style Customization to create a style that inherits from style.say_dialogue for each different style that you want. Then, say you created style.say_dialogue_act1 and style.say_dialogue_act2 . One way you could make it so that after a certain point the dialogue box changes is...
by Dusty
Sun Apr 26, 2009 7:41 pm
Forum: Completed Games
Topic: Lífþrasir Main
Replies: 6
Views: 9926

Re: Lífþrasir Main

I, uh. So, I attained both endings. I was playing around with my system clock, and when I tried setting the year to 2049, Ren'Py gave me an "unconvertible time" error. I don't know why this is in spoiler tags, given that you spoiled it yourself in the opening post, but... I went "WTF?...
by Dusty
Sat Apr 25, 2009 10:21 am
Forum: Ren'Py Questions and Announcements
Topic: Programming Method Question
Replies: 4
Views: 802

Re: Programming Method Question

Yes, you only have to define images and characters once.

(And just like label:s can be put anywhere, you can define images and characters anywhere, as long as they get put inside an init: block.)
by Dusty
Sat Apr 25, 2009 12:54 am
Forum: Ren'Py Questions and Announcements
Topic: Programming Method Question
Replies: 4
Views: 802

Re: Programming Method Question

If you use label:s, you can put different labels in different script files, and then jump to the next label after each act is finished. What file the label:s are in doesn't really matter. You don't even have to have a script.rpy file, even, as long as you place a label start: somewhere. So, with you...
by Dusty
Thu Apr 23, 2009 11:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Buttons on the text box/hud (SOLVED)
Replies: 11
Views: 1931

Re: Buttons on the text box/hud

Ok very cool! How do I get rid of the box around my image. It's a box created with the theme's color. Remove the ui.frame(). In fact I'd like to get rid of the theme altogether in other areas like the main menu and such. You mean create your own theme? ("Getting rid" of it might cause pro...
by Dusty
Thu Apr 23, 2009 10:35 pm
Forum: Ren'Py Questions and Announcements
Topic: Buttons on the text box/hud (SOLVED)
Replies: 11
Views: 1931

Re: Buttons on the text box/hud

You should probably take out the ui.interact.
by Dusty
Thu Apr 23, 2009 10:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Buttons on the text box/hud (SOLVED)
Replies: 11
Views: 1931

Re: Buttons on the text box/hud

You should probably be writing $ show_button = False #... $ show_button = True with a $ sign. I personally don't think it's a good idea to use the value None, but you can use that instead of False if you want and it would work the same. (by the way, I'm expanding the Button Game Menu page again as I...
by Dusty
Wed Apr 22, 2009 1:11 am
Forum: Ren'Py Questions and Announcements
Topic: Looping menu decisions. (SOLVED)
Replies: 7
Views: 1116

Re: Looping menu decisions.

label first_choice: menu: mrn "(So...what should I do now?)" "Take a seat near Kyle.": k "“Hee hee, you smell funny, Mr.Nobody!”" r "“Kyle.”" k "“O-oh...s-sorry, daddy.”" narrator "Kyle seems pleased, but his dad looks like he's ready to kill u...
by Dusty
Wed Apr 22, 2009 1:06 am
Forum: Ren'Py Questions and Announcements
Topic: Move Some Characters at Once: Solved!
Replies: 2
Views: 659

Re: Move Some Characters at Once

Try:

Code: Select all

show kim at left
show tiger at center
with Move
[code]
I think that'll work.
by Dusty
Mon Apr 20, 2009 9:24 pm
Forum: Ren'Py Questions and Announcements
Topic: hiding on screen buttons (Solved)
Replies: 2
Views: 674

Re: hiding on screen buttons

init python: # Give us some space on the right side of the screen. style.window.right_padding = 100 def toggle_skipping(): config.skipping = not config.skipping show_button_game_menu = True def button_game_menu(): if show_button_game_menu: # to save typing ccinc = renpy.curried_call_in_new_context ...