Search found 3094 matches

by Alex
Tue Feb 09, 2010 5:37 pm
Forum: Ren'Py Questions and Announcements
Topic: Relationship bar...? [SOLVED]
Replies: 2
Views: 3575

Re: Relationship bar...?

All you need is love... I mean, is differen <current_love> variables for each bar. init python: max_love=100 current_love_Robin=5 current_love_McKenzie=15 current_love_Olivia=5 show_stats=False def stats_overlay(): if show_stats: ui.frame() ui.vbox() ui.text("Robin") ui.bar(max_love,curren...
by Alex
Thu Jan 28, 2010 2:30 pm
Forum: Creator Discussion
Topic: Heart meter?
Replies: 1
Views: 623

Re: Heart meter?

by Alex
Thu Jan 28, 2010 2:17 pm
Forum: Ren'Py Questions and Announcements
Topic: forced pause and loading with renpy.pin
Replies: 2
Views: 634

Re: forced pause and loading with renpy.pin

Have you tried

Code: Select all

$ renpy.pause(2.0, hard=True)
?
by Alex
Wed Jan 27, 2010 12:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Game Menu Buttons
Replies: 8
Views: 1989

Re: Game Menu Buttons

I think, the problem is indentation in last line. Try def button_game_menu(): # to save typing ccinc = renpy.curried_call_in_new_context ui.vbox( xpos=622, ypos=398) ui.imagebutton("GUI/RLoption.png", "GUI/RLoption1.png", clicked=ccinc("_game_menu_preferences"), hover_s...
by Alex
Mon Jan 25, 2010 4:55 pm
Forum: Ren'Py Questions and Announcements
Topic: How to make text appear for buttons + customizing save/load
Replies: 5
Views: 1303

Re: How to make text appear for buttons + customizing save/load

About the first question... again...)) That`s just my thought and I might be wrong - in that case, I hope, someone will correct this, so: init -3 python: class Tooltip(object): def __init__(self, x, y, message): self.x = x self.y = y self.message = message self.tip = None def show(self): self.tip = ...
by Alex
Tue Jan 12, 2010 6:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Enabling and Disabling Buttons
Replies: 2
Views: 1136

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("?&q...
by Alex
Thu Jan 07, 2010 2:28 pm
Forum: Creator Discussion
Topic: Tester/Commenters/Artists needed for Solitaire game.
Replies: 2
Views: 607

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...
by Alex
Mon Jan 04, 2010 2:01 pm
Forum: Creator Discussion
Topic: A Solitaire Game with Plot (some code help needed too)
Replies: 4
Views: 630

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...
by Alex
Sat Dec 26, 2009 4:58 pm
Forum: Ren'Py Questions and Announcements
Topic: Question about animated overlay
Replies: 2
Views: 643

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 -------------------------...
by Alex
Sat Dec 26, 2009 3:27 pm
Forum: General Discussion
Topic: New Year's Translations
Replies: 22
Views: 3089

Re: New Year's Translations

Russian: С Новым Годом!
by Alex
Fri Dec 25, 2009 6:02 pm
Forum: Ren'Py Questions and Announcements
Topic: Question about animated overlay
Replies: 2
Views: 643

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_fun...
by Alex
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: 928

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...