Search found 1264 matches
- Sun Apr 04, 2010 10:27 am
- Forum: Creator Discussion
- Topic: Question about choices
- Replies: 3
- Views: 908
Re: Question about choices
You mean something like this?: init: $ Ending1=0 $ Ending2=0 label choice1: menu: "Run": $ Ending1+=1 "Walk": $ Ending2+=1 label choice2: menu: "Eat": $ Ending1+=2 "Don't Eat": $ Ending2+=1 label ending: if Ending1==3: jump ending1 elif Ending2==2: jump ending2
- Fri Mar 26, 2010 10:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Changing the exit prompt
- Replies: 1
- Views: 733
Re: Changing the exit prompt
You can use imagemap yesno prompt layout (layout.QUIT)http://www.renpy.org/wiki/renpy/doc/ref ... sno_promptnibl wrote:I need to change the exit prompt to use icons and audio
- Fri Mar 19, 2010 12:53 am
- Forum: Ren'Py Questions and Announcements
- Topic: Main menu generator (ver 1.15)
- Replies: 51
- Views: 13651
Re: Main menu generator (ver 1.15)
it shows that the bouton " continue " isn't there, there is an hole were it is supposed to be... I think this is caused by the xpos of the button. You can either edit the xpos of the continue button to 0 or you can use ver 1.15(first page) to generate a new mainmenu.rpy. If this doesn't h...
- Sun Mar 14, 2010 7:49 am
- Forum: Ren'Py Questions and Announcements
- Topic: Main menu generator (ver 1.15)
- Replies: 51
- Views: 13651
Re: Main menu generator (ver 1.13-Completed!)
It shouldn't and it didn't do so for me. Anyway, the layouts(http://www.renpy.org/wiki/renpy/doc/ref ... _main_menu) Pytom made is easier and less buggy. Perhaps you should use that instead.sharakael wrote:does it delete the pre-set themes that came with renpy itself?
- Wed Mar 10, 2010 6:48 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Save and load
- Replies: 1
- Views: 591
Re: Save and load
I can't figure out how you save and load persistent data You can just set it as a variable without needing to save or load it, like so: label start: $ myval = persistent.myval "Game" "End" if highscore: jump highscore_set $ renpy.full_restart() label highscore_set: $ persistent....
- Mon Mar 08, 2010 10:23 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Imagemap Placement [question resolved]
- Replies: 4
- Views: 896
Re: Imagemap Placement
Is there an easy way to place an imagemap somewhere on the screen, I mean one that isn't the full screen size? If it isn't full size then placing each of the ui.imagebutton individually in front of an ui.image, something like the code in this post: http://lemmasoft.renai.us/forums/viewtopic.php?f=8...
- Sun Mar 07, 2010 8:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: Key Input?
- Replies: 9
- Views: 2012
Re: Key Input?
Now, I have to state every key on its own? If you use for you wouldn't need to state every key, like so: init: $ all_alphabets=['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'] $ all_numbers=['1', '2', '3', '4', '5', '...
- Wed Mar 03, 2010 11:46 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Typing Tutor
- Replies: 5
- Views: 1155
Re: Typing Tutor
This is something I made in the past. Not sure if you'll be able to use it since it's quite messy but maybe it'll help: init: $ test_text=None $ test_result=None $ test_had_started=None $ type_error=None $ shown_text=None $ number=0 $ typed_button=None $ letter="" $ got_start_over=None $ g...
- Sat Feb 27, 2010 12:43 pm
- Forum: Ren'Py Questions and Announcements
- Topic: adventure game - finding objects [SOLVED]
- Replies: 1
- Views: 681
Re: adventure game - finding objects
After a particular event he will 'discover' a treasure which will go into his inventory where he can view it and read a bit about it. Is there anyway to make this happen? You can use an overlay to show the inventory button which will call an inventory label like so: init: $ treasure1=False $ show_b...
- Sun Feb 21, 2010 9:44 am
- Forum: Ren'Py Questions and Announcements
- Topic: Dynamic Images
- Replies: 10
- Views: 2007
Re: Dynamic Images
So far none of the Matrix things worked for me with ui image Try this then: init: $ hair_number=1 $ valueb=0 label start: pass label select_hair: python: if hair_number>=4: hair_number=0 ui.vbox() ui.textbutton("Add valueb", ui.jumps("add_valueb")) ui.textbutton("Reduce val...
- Sat Feb 20, 2010 5:38 am
- Forum: Ren'Py Questions and Announcements
- Topic: Dynamic Images
- Replies: 10
- Views: 2007
Re: Dynamic Images
You can try using im.MatrixColor to change the color like so: init: $ hair_number=1 $ valueb=0 label select_hair: python: if hair_number>=4: hair_number=0 ui.vbox() ui.textbutton("Add valueb", ui.jumps("add_valueb")) ui.textbutton("Reduce valueb", ui.jumps("reduce_...
- Sat Feb 20, 2010 5:28 am
- Forum: Ren'Py Questions and Announcements
- Topic: linking scripts
- Replies: 1
- Views: 526
Re: linking scripts
http://www.renpy.org/wiki/renpy/FAQ#How ... e_files.3Fradale wrote:how can i link the other script that i have made or the .rpy to my main .rpy?
- Thu Feb 18, 2010 10:46 am
- Forum: Ren'Py Questions and Announcements
- Topic: Dynamic Images
- Replies: 10
- Views: 2007
Re: Dynamic Images
It was somewhat going to use layers of different image sets like one for eyes another for hair and clothes and rotate a value based on button presses I don't really get what exactly you meant but maybe it is something like this: init: $ hair_number=1 label select_hair: python: if hair_number>=4: ha...
- Sun Feb 14, 2010 11:16 am
- Forum: Ren'Py Questions and Announcements
- Topic: Dynamic Images
- Replies: 10
- Views: 2007
Re: Dynamic Images
No.pkt wrote:Will said images need to be in the init as well?
- Thu Feb 11, 2010 9:57 am
- Forum: Ren'Py Questions and Announcements
- Topic: love bar final queries... (SOLVED)
- Replies: 17
- Views: 4097
Re: love bar final queries...
2 - How can I get the relationship bar to go up without needing text after each You can use renpy.pause or renpy.restart_interaction like so: label start: $ show_hana=True $ current_love_hana+=50 $ renpy.pause() $ show_hana=True $ current_love_hana+=50 $ renpy.restart_interaction() How do we make t...