Search found 3655 matches

by trooper6
Tue Jun 18, 2013 2:51 am
Forum: Ren'Py Questions and Announcements
Topic: Multiple frames? Boxes? Screens? and managing [SOLVED]
Replies: 8
Views: 6692

Re: Multiple frames? Boxes? Screens? and managing interactio

Thanks for your thoughts here and in the other thread. Since you brought up the "screen choice" conundrum here, I think I should respond here. By discussing setting maximum, are you suggesting that rather than passing my menu over the the frame, I sort of cheat? By making the menu screen fit the spa...
by trooper6
Tue Jun 18, 2013 2:48 am
Forum: Ren'Py Questions and Announcements
Topic: Altering UI elements at Runtime [SOLVED]
Replies: 12
Views: 1364

Re: Altering UI elements at Runtime (Declaring Instances?)

Hm...that didn't work either. So this is what I did. I took the callback off of the Customer and the Narrater and left if on the Barber. I had the default can_Interrupt = False, and the default can_cont = True. In this instance, everything is good until we get to the barber. He starts his slow text ...
by trooper6
Tue Jun 18, 2013 1:26 am
Forum: Ren'Py Questions and Announcements
Topic: Altering UI elements at Runtime [SOLVED]
Replies: 12
Views: 1364

Re: Altering UI elements at Runtime (Declaring Instances?)

Some more data for those who might be in the know. I tried this variation on the above, I added the "or event == "show_down": to my second if block, like so: init python: def arrow(event, **kwargs): global can_interrupt global can_cont if event == "show" or event == "begin": can_interrupt = True can...
by trooper6
Tue Jun 18, 2013 12:19 am
Forum: Ren'Py Questions and Announcements
Topic: Altering UI elements at Runtime [SOLVED]
Replies: 12
Views: 1364

Re: Altering UI elements at Runtime (Declaring Instances?)

So I changed my function by adding global variables (I think), like so (let me know if that isn't how you do global variables): init python: def arrow(event, **kwargs): global can_interrupt global can_cont if event == "show" or event == "begin": can_interrupt = True can_cont = False renpy.music.play...
by trooper6
Mon Jun 17, 2013 9:45 pm
Forum: Ren'Py Questions and Announcements
Topic: Altering UI elements at Runtime [SOLVED]
Replies: 12
Views: 1364

Re: Altering UI elements at Runtime (Declaring Instances?)

Okay back to my buttons...I'm having a problem getting my variables to change. in my script file I have: image bg barbershop1 = "00 images/00BackgroundBarbershop2.jpg" image ctc = "00 images/WArrow75.png" image ctcH = "00 images/WArrow75blue.png" init python: def arrow(event, **kwargs): if event == ...
by trooper6
Mon Jun 17, 2013 5:21 pm
Forum: Ren'Py Questions and Announcements
Topic: Altering UI elements at Runtime [SOLVED]
Replies: 12
Views: 1364

Re: Altering UI elements at Runtime (Declaring Instances?)

You are a superstar Alex...for real! I'm going to try out the Interrupt code, but I have a few questions about it: 1) why is the "If" there capitalized while if in other parts of Ren'py code is not capitalized? 2) I assume the None in the If(flag, do something, None) is what to do if the flag_var is...
by trooper6
Mon Jun 17, 2013 4:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Altering UI elements at Runtime [SOLVED]
Replies: 12
Views: 1364

Altering UI elements at Runtime [SOLVED]

Hello! So I'm working on my first ren'py game. I have no Python experience, but I do have Java experience. I want to change parts of the UI at runtime...and I'm having some trouble with something (well many things). So here is the set up. I have made a screen that has some frame and vboxes and a tex...
by trooper6
Mon Jun 17, 2013 3:18 am
Forum: Ren'Py Questions and Announcements
Topic: Multiple frames? Boxes? Screens? and managing [SOLVED]
Replies: 8
Views: 6692

Re: Multiple frames? Boxes? Screens? and managing interactio

Thanks everyone for the help so far, apricotorange my Interrupt button is working excellently! I'm not getting the callback though. I've got the function-- init python: def arrow(event, **kwargs): if event == "begin" or event == "show": is_finished = False if event == "slow_done" or event == "end": ...
by trooper6
Mon Jun 17, 2013 12:51 am
Forum: Ren'Py Questions and Announcements
Topic: Multiple frames? Boxes? Screens? and managing [SOLVED]
Replies: 8
Views: 6692

Re: Multiple frames? Boxes? Screens? and managing interactio

So I used the layer manipulation and added a screen to get the game to look how I generally want it to look...but I have a couple more questions about the interaction. Click to Continue Button: I have an image of an arrow that I want to be the button that continues the text...but I don't want it to ...
by trooper6
Sat Jun 15, 2013 11:34 pm
Forum: Ren'Py Questions and Announcements
Topic: Multiple frames? Boxes? Screens? and managing [SOLVED]
Replies: 8
Views: 6692

Multiple frames? Boxes? Screens? and managing [SOLVED]

Hello! I'm a brand new VN creator and I'm procrastinating on my tenure book...um, I mean, I'm making a short VN in my spare time. I'm adapting a one act play and I'm trying to use it as a way to teach myself ren'py coding before I go all crazy with a longer sort of game. It is a test run, as it were...