Search found 2981 matches
- Tue Jan 12, 2010 6:23 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Enabling and Disabling Buttons
- Replies: 2
- Views: 765
Re: Enabling and Disabling Buttons
ui.textbutton("?", clicked=ui.jumps("some_label"), xalign=.95, yalign=.05) # enabled ui.textbutton("?", clicked=None, xalign=.95, yalign=.05) # disabled So, if you make a variable, lets say "the_thing_button_do", and make such a button ui.textbutton("?", clicked=the_thing_button_do, xalign=.95, yal...
- Thu Jan 07, 2010 2:28 pm
- Forum: Creator Discussion
- Topic: Tester/Commenters/Artists needed for Solitaire game.
- Replies: 2
- Views: 506
Re: Tester/Commenters/Artists needed for Solitaire game.
Hm, not bad idea to add some story to a simple solitair game. I played it, and found that sometimes I hardly recognised what card I see - is it 7 or 4, King or Jack. As a result, I made lot of mistakes, and it made me angry...)) So, Jokers hints was not only interesting feature, but very useful thin...
- Mon Jan 04, 2010 2:01 pm
- Forum: Creator Discussion
- Topic: A Solitaire Game with Plot (some code help needed too)
- Replies: 4
- Views: 521
Re: A Solitaire Game with Plot (some code help needed too)
For each unlockable image you can set a special variable, like <im1>, <im2>, <im3> etc., set them False and show your images in gallery if related variables are True init: $ im1 = False $ im2 = False ... ... label galery: if im1: #show image 1 else: #image 1 is locked ... ... label start: <some code...
- Sat Dec 26, 2009 4:58 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Question about animated overlay
- Replies: 2
- Views: 521
Re: Question about animated overlay
Oh, thanks for reply...)) I tried this and got an error: I'm sorry, but an exception occured while executing your Ren'Py script. Exception: Style property opaque is unknown. While running game code: - script at line 72 of D:\renpy-6.6.0\222/game/script.rpy -- Full Traceback -------------------------...
- Sat Dec 26, 2009 3:27 pm
- Forum: General Discussion
- Topic: New Year's Translations
- Replies: 22
- Views: 2198
Re: New Year's Translations
Russian: С Новым Годом!
- Fri Dec 25, 2009 6:02 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Question about animated overlay
- Replies: 2
- Views: 521
Question about animated overlay
Hi, folks! I met another problem and hope you can help me...)) I want the animated picture to be shown in overlay. So, I tried this: def overlay(): ui.image (anim.TransitionAnimation("over.png", 0.5, dissolve, "over1.png", 0.5, dissolve,), xalign=.5, yalign=.5) config.overlay_functions.append(overla...
- Thu Dec 17, 2009 5:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Questions regarding game menus/main menu/transitions/etc.
- Replies: 4
- Views: 785
Re: Questions regarding game menus/main menu/transitions/etc.
1. http://www.renpy.org/wiki/renpy/doc/reference/Transitions (click on different functions to see how you can change them) 3., 4. I might be wrong, but I think you will have to cut your line for two parts end use <extend> statement to show both parts as one line, like scene dreamschool1 with dissolv...
- Mon Dec 14, 2009 6:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How do you make the text move in instead of just appearing?
- Replies: 3
- Views: 486
Re: How do you make the text move in instead of just appearing?
You need to change text speed. It can be done manualy in "Preferences" or you can set the default speed of text http://www.renpy.org/wiki/renpy/doc/coo ... ed_Setting
- Mon Dec 14, 2009 5:10 pm
- Forum: Creator Discussion
- Topic: effects questions...
- Replies: 4
- Views: 924
Re: effects questions...
Hm, try ATL..., like init: image bg = Image ("background.png") label start: play music "heartbeat.wav" scene bg: xalign .5, yalign .5 linear 0.2 zoom (1.03) linear 0.1 zoom (1.0) 0.7 repeat "heartbeat effect is on..." stop music scene bg "...is off" Try to play with zoom rate and time periods.
- Sun Dec 13, 2009 1:13 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Receive items - Give items
- Replies: 5
- Views: 714
Re: Receive items - Give items
Well, I`ll try to explain... If you want computer to check something, you`ll need variables. So, you make a variable, set its value and then check: if the value is "1" then "do_1", if the value is "2" then "do_2" or something like this. The amount of variables you need and their actual values are de...
- Sun Dec 13, 2009 11:31 am
- Forum: Ren'Py Questions and Announcements
- Topic: Overlays and renpy.showing?
- Replies: 5
- Views: 4377
Re: Overlays and renpy.showing?
Hm, maybe something like this? init: $ showtopdate = False python hide: def date_overlay(): if renpy.showing("bg classroom"): locationtext = "Classroom" elif renpy.showing("bg schoolcorridor"): locationtext = "School Corridor" if showtopdate: ui.layer("dateoverlay_layer") ui.window(background="dateo...