Search found 292 matches

by denzil
Mon Jul 19, 2010 8:45 am
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py 6.11.0 Pre-Released
Replies: 178
Views: 11721

Re: Ren'Py 6.11.0 Pre-Released

I'm developing a class that shows a hint text for button when there's mouse cursor over the button. As long as I have only one button everything is all right, but when I add second button with the hint, then Ren'Py stops responding to any mouse clicks or keyboard. I'm not completely sure if this isn...
by denzil
Mon Jun 14, 2010 11:46 am
Forum: Development of Ren'Py
Topic: 6.11 Development
Replies: 96
Views: 7730

Re: 6.11 Development

Games with more gameplay than VN will already quite possibly have infrequent saves which aren't accurate down to the last thing that happened and an exact screenshot simply because of the way Ren'Py works; if you save in the middle of Python code, then what you actually get is a save for the last l...
by denzil
Wed Mar 17, 2010 4:16 pm
Forum: Ren'Py Questions and Announcements
Topic: Playing sound upon hovering over imagebutton
Replies: 4
Views: 520

Re: Playing sound upon hovering over imagebutton

Meh, I missed part of the code when copying it... :( Here is working code, the disadvantage is that you have to pass both the voice and some function to hovered (that's what's the skip function for). After label start is example how to use it. init: python: def v_imagebutton( idle_image=None, hover_...
by denzil
Wed Mar 17, 2010 10:28 am
Forum: Ren'Py Questions and Announcements
Topic: Playing sound upon hovering over imagebutton
Replies: 4
Views: 520

Re: Playing sound upon hovering over imagebutton

I believe it should be possible by setting the "hovered" parameter of imagebutton . The code should be something like this: ui.imagebutton( your_parameters, hovered=renpy.music.play( audiofile, channel="voice")) (untested and obviously you need to change the parameters to your needs) Edit: I noticed...
by denzil
Tue Mar 02, 2010 1:35 am
Forum: Ren'Py Questions and Announcements
Topic: Random label from list
Replies: 2
Views: 368

Re: Random label from list

eoloe wrote:And then I would like to be able to something like this

Code: Select all

call surprise
I believe what you actually want is:

Code: Select all

call expression surprise
by denzil
Fri Jan 22, 2010 6:41 am
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py 6.10.2 Released
Replies: 43
Views: 3962

Re: Ren'Py 6.10.2 Pre-Released

I would have one question related to this thread:
Shouldn't multiple ui.at() work independently on their order? Or is behavior for multiple ui.at() used for single widget undefined?
(I'm not completely sure, but it seemed to me, that the behavior mugen describes in that thread looks like bug.)
by denzil
Sun Jan 17, 2010 3:59 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Desperate help needed on positioning images.
Replies: 2
Views: 1328

Re: Desperate help needed on positioning images.

I swapped those two ui.at lines, and it seems to work: init python: renpy.image("clock", "gui_set/clock.png") # Short Clockhand renpy.image("clock_1", "gui_set/clock_1.png") # Long Clockhand renpy.image("clock_2", "gui_set/clock_2.png") # Clockface def Clocks(): if clock: # if False - clock is hide ...
by denzil
Thu Jan 14, 2010 2:37 pm
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py 6.10.2 Released
Replies: 43
Views: 3962

Re: Ren'Py 6.10.2 Pre-Released

This was fixed in revision 901. You can grab an updated renpy/python.py from: http://bazaar.launchpad.net/~renpytom/renpy/main/annotate/head:/renpy/python.py (be sure to click the link, then click download.) This will be in a 10.6.2c in a couple of days. Okay, thanks for the fix (and for the call f...
by denzil
Thu Jan 14, 2010 11:43 am
Forum: Ren'Py Questions and Announcements
Topic: Correct "call expression" use?
Replies: 1
Views: 395

Correct "call expression" use?

When I use: call test ("someparameter") # or $ tmp = "test" call expression tmp everything seems to work as it's supposed to. But when I try to combine these two: call expression test ("someparameter") # also tried: call expression test ("someparameter") from some_random_label then the game crashes ...
by denzil
Thu Jan 14, 2010 5:07 am
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py 6.10.2 Released
Replies: 43
Views: 3962

Re: Ren'Py 6.10.2 Pre-Released

I've run into Ren'Py freezing when rolling back from python function and using custom style in it. This happens in 6.10.1d too (and possibly others, I haven't tested it), but I thought it would be better to post it here. I'll send you the code in PM, as the code is not ready for public (read: it's m...
by denzil
Tue Dec 08, 2009 7:49 am
Forum: Ren'Py Questions and Announcements
Topic: if & menu impossible [solved]
Replies: 3
Views: 417

Re: if & menu impossible

I believe you want something like this:

Code: Select all

    "... [Quête] Donner les mysterieux ingredients " if quete_premierearme1 == "True":
        jump quetebazar
The if is part of the menu choice line.
by denzil
Sun Aug 16, 2009 4:02 am
Forum: Ren'Py Questions and Announcements
Topic: multiple project directories
Replies: 1
Views: 374

Re: multiple project directories

To tell truth I don't really think there is a reason to keep projects in multiple directories. Having them in single directory actually have the advantage of easier backup and management of the projects. On the other hand having them in multiple directories only seems to make things messy and unnece...
by denzil
Wed Aug 05, 2009 7:35 am
Forum: Ren'Py Questions and Announcements
Topic: Persistent?
Replies: 2
Views: 414

Re: Persistent?

Yes, there is a way:
http://www.renpy.org/wiki/renpy/doc/ref ... stent_Data

But basically you just put things into persitent.something like:

Code: Select all

presistent.points = 6
and then you can check stored values:

Code: Select all

if persistent.some_value > 3:
    e: "You have unlocked door."
by denzil
Sat Nov 29, 2008 4:48 pm
Forum: Completed Games
Topic: Broken Sky
Replies: 12
Views: 3914

Re: Broken Sky

Thanks for the reply mikey. I'm glad you liked it. :) Yes, it's short - I said it several times and I say it again: I'm bad at writing long stories. The typos in Czech version :x I was already informed about them in post at Otakuland's forum. It looks like I will have to go through it again and fix ...
by denzil
Fri Nov 28, 2008 7:03 pm
Forum: Completed Games
Topic: Broken Sky
Replies: 12
Views: 3914

Broken Sky

Today, I'm happy to announce release of my new game Broken sky. You can download it here . ~ About Broken Sky Broken Sky is short, non-linear visual novel. Synopsis You lived your whole life around this place and you really like it. But now you have to leave. It's time to say goodbye... ~ Credits Wr...