Search found 849 matches
- Sun Jun 10, 2018 3:21 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Window not hiding when it should
- Replies: 2
- Views: 393
Re: Window not hiding when it should
when the dialogue window should hide itself (like for when a transition is happening or when there isn't any dialogue being shown at all) it doesn't This is not default behavior. It looks like you want hide , not auto mode behavior. window xxx statement does not hide or show anything. It sets mode ...
- Wed Jun 06, 2018 11:22 am
- Forum: Ren'Py Questions and Announcements
- Topic: if-condition doesn't recognize certain float additions?
- Replies: 6
- Views: 409
Re: if-condition doesn't recognize certain float additions?
Strictly speaking it is not a problem with Excel or Python, but with IEEE 754 (commonly used format of floating point number representation) and in fact of math itself. There is no way to precisely store every possible value in a finite amount of data. Also computers store numbers in binary. We migh...
- Sun Jun 03, 2018 3:09 am
- Forum: Ren'Py Questions and Announcements
- Topic: SOLVED Points endings not working
- Replies: 6
- Views: 468
Re: Points endings not working
I would like to see code I can paste into RenPy and see problem myself. One thing: Anya's and John's ending as posted should not work either. Look closely: $ anya_Point = 0 # Value is 0 # . . . "Go shopping with Anya": $ anya_Point += 1 # Now it is 1 $ anyatruth = True jump yesshopping # . . . if an...
- Sat Jun 02, 2018 12:38 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to make sprites bigger and smaller?
- Replies: 7
- Views: 1078
Re: How to make sprites bigger and smaller?
Show some images to illustrate what are you talking about.
I suppose you can solve it by setting anchor to the top of the picture.
I suppose you can solve it by setting anchor to the top of the picture.
- Sat Jun 02, 2018 6:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: [solved] Persistent dictionary disappearing upon restart :(
- Replies: 22
- Views: 2750
Re: Persistent dictionary disappearing upon restart :(
Can you post a minimal example which still exhibits your problem? https://stackoverflow.com/help/mcve http://sscce.org/ Do you have something, anything accessing that dictionary aside from your Show screen? Maybe a debug screen with purpose of clearing persistent data? Maybe ability for player to st...
- Thu May 31, 2018 4:05 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [solved] Persistent dictionary disappearing upon restart :(
- Replies: 22
- Views: 2750
Re: Persistent dictionary disappearing upon restart :(
Can you share code for unlock_pic function you used? I have a suspiction that it has something to do with variable scope.
- Thu May 31, 2018 1:49 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Audio Files Won't Play
- Replies: 9
- Views: 1257
Re: Audio Files Won't Play
This is not how you play sounds. https://www.renpy.org/doc/html/audio.html 1.) define sound.gentlewaves technically sets gentlewaves property of sound object. Not what you want. define like this: define gentlewaves = ... 2.) ("gentlewaves") is a 1-element tuple containing one string. Not what you wa...
- Wed May 30, 2018 3:33 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [solved] Persistent dictionary disappearing upon restart :(
- Replies: 22
- Views: 2750
Re: Persistent dictionary disappearing upon restart :(
No, that would not reset it. define has a special handling for persistent objects (also persistent object has every attribute possible with value "None" by defining __getattr__ magic method)
- Tue May 29, 2018 12:33 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Error output hook
- Replies: 2
- Views: 205
Re: Error output hook
The only way is to modify RenPy source. It is not supported officially: viewtopic.php?f=8&t=50144#p487029
- Thu May 24, 2018 4:26 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Changing key binding
- Replies: 7
- Views: 978
Re: Changing key binding
Wait, you said you wanted to remove everything in OP post, it is a single line. Not to mention that you can simply overwrite dictionary with "correct" one (which technically is a single statement too)
- Thu May 24, 2018 3:48 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Changing key binding
- Replies: 7
- Views: 978
Re: Changing key binding
There is no command to disable all current bindings on the fly, but you can edit default keymap: https://www.renpy.org/doc/html/keymap.html
Make sure to read note in the beginning.
Make sure to read note in the beginning.
- Tue May 22, 2018 1:57 pm
- Forum: Ren'Py Questions and Announcements
- Topic: "End of Line Expected" When Additional Parameters After String
- Replies: 3
- Views: 362
Re: "End of Line Expected" When Additional Parameters After String
How your Custom-Defined Statement defined?
- Mon May 21, 2018 4:36 pm
- Forum: Ren'Py Questions and Announcements
- Topic: SOLVED - Displaying a Dictionary as a String
- Replies: 2
- Views: 360
Re: Displaying a Dictionary as a String
Code: Select all
'[random_dictionary!q]'
Also: remove init python part. It literally does nothing. And after game start it will be overwrittent by default statement execution.
- Sun May 20, 2018 12:50 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Constantly getting "Line is indented" error
- Replies: 17
- Views: 1822
Re: Constantly getting "Line is indented" error
Do you mean something like:
?
Code: Select all
if day > 7:
$ day = 0
- Sun May 20, 2018 12:08 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Constantly getting "Line is indented" error
- Replies: 17
- Views: 1822
Re: Constantly getting "Line is indented" error
What do you mean by "refer" here? YOu cannot just create a block and expect anything to happen. Blocks are introduced only in several cases denoted by language rules. It would help if you explain what should happen here.