Search found 2489 matches
- Thu Sep 26, 2024 2:22 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Malware, infected Ren'Py files detected by Bitdefender.
- Replies: 1
- Views: 1295
Re: Malware, infected Ren'Py files detected by Bitdefender.
This is a false positive picked by a heuristics. Generally, any development tool can trigger false positives, so it is a good idea to turn off heuristics for anything dev relater, keeping only signature detection on. If I were to fuess, this particular detection happened since RenPy tries to access ...
- Thu Sep 26, 2024 12:42 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Timing of Audio with Transition [SOLVED]
- Replies: 5
- Views: 1680
Re: Timing of Audio with Transition
something with transition is a shorthand for with None # Make sure that everything before this line had executed something # do whatever that line supposed to be doing with transition # apply transition to scene elements changed since last interaction. Do not use this shortcut unless you want that ...
- Wed Sep 25, 2024 3:39 am
- Forum: Ren'Py Questions and Announcements
- Topic: Understanding renpy.jump() and renpy.call()
- Replies: 4
- Views: 1559
Re: Understanding renpy.jump() and renpy.call()
The trich is to look at documentation: Causes the current statement to end , and control to jump to the given label. This hints that it somehow interrupts current statement. How it does, quick source search shows that it uses the same mechanism for loops in python use to determine they run out of it...
- Thu Sep 19, 2024 3:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Game crashes when saving after calling scene
- Replies: 2
- Views: 826
Re: Game crashes when saving after calling scene
Judging from the error message, you are overwriting _ variable in global store. Which you should not do, as it is an integral function to RenPy functionality.
- Fri Sep 13, 2024 5:09 am
- Forum: Ren'Py Questions and Announcements
- Topic: Blocky Zoom
- Replies: 3
- Views: 699
Re: Blocky Zoom
You want neares neighbor filtering.
https://www.renpy.org/doc/html/transfor ... ty-nearest
https://www.renpy.org/doc/html/transfor ... ty-nearest
- Tue Sep 10, 2024 3:56 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Question : class which I defined is not initialized when I re-start game from main menu. [Solved]
- Replies: 9
- Views: 1013
Re: Question : class which I defined is not initialized when I re-start game from main menu.
If you take it out from init block and it creates problems, you solve those problems. Usually dependent stuff either requires defaulting itself, or you need to restructure your code a little so it won't depend on mutable data at init time.
- Tue Sep 10, 2024 1:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Question : class which I defined is not initialized when I re-start game from main menu. [Solved]
- Replies: 9
- Views: 1013
Re: Question : class which I defined is not initialized when I re-start game from main menu.
Solution is to not declare variable in init python block. There is no need. Where you can use python block, you can use define and default instead.
Code: Select all
default level = 1
init python:
import math
[ . . . ]
- Tue Sep 10, 2024 12:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: Question : class which I defined is not initialized when I re-start game from main menu. [Solved]
- Replies: 9
- Views: 1013
Re: Question : class which I defined is not initialized when I re-start game from main menu.
Because there is no need to. You told the game that you will not change neither player, not monster, so it does not handle those varaibles further (actually, level too, but it gets tracked due to backward compatibility.) define is for stuff that will never change. The define statement sets a single ...
- Fri Sep 06, 2024 1:38 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] True/False variables changing without prompt
- Replies: 2
- Views: 475
Re: True/False variables changing without prompt
Just to make sure that you have written your condition right: you want option to be visible when you did watch the TV and did check the sketchbook but you didn't check action figure?
- Tue Sep 03, 2024 5:52 am
- Forum: Ren'Py Questions and Announcements
- Topic: Hiding image on screen
- Replies: 2
- Views: 644
Re: Hiding image on screen
in the actual code I just use "show", since "scene" doesn't hide some other images. While scene might not hide images on other layers, show does not hide anything . In your case it just covers images with blac rectangle. This has a side effect of not being able to show those ima...
- Tue Sep 03, 2024 5:50 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Is there some way to reference a layeredimage attribute in a conditional?
- Replies: 4
- Views: 733
Re: [Solved] Is there some way to reference a layeredimage attribute in a conditional?
https://www.renpy.org/doc/html/layeredi ... #attribute
You could use if_all clause instead.
You could use if_all clause instead.
Code: Select all
attribute char_hat1_smile if_all "smile"
- Tue Sep 03, 2024 4:32 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] AttributeError and TypeError with persistent variable controlling content of the main menu image
- Replies: 6
- Views: 803
Re: [SOLVED] AttributeError and TypeError with persistent variable controlling content of the main menu image
If you need to make sure that nothing is added to the list more than once, then you need a set, not a list.
- Tue Sep 03, 2024 4:14 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Dict breaking after rollback or reload
- Replies: 6
- Views: 903
- Thu Aug 22, 2024 4:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Global Variables & Order of Execution
- Replies: 1
- Views: 452
Re: Global Variables & Order of Execution
https://www.renpy.org/doc/html/lifecycle.html
This should answer any questions about execution order.
In short: you can declare global variables wherever you want.
This should answer any questions about execution order.
In short: you can declare global variables wherever you want.
- Thu Aug 08, 2024 8:42 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Show variable changes in choice menu
- Replies: 6
- Views: 1145
Re: Show variable changes in choice menu
Use '\n' to force a line break:
use text tags to control font size and color.
Code: Select all
"Go for a stroll \n(Anna +1)" :