Search found 302 matches
- Sun Mar 07, 2021 2:02 pm
- Forum: Ren'Py Questions and Announcements
- Topic: I made a routes analyser - visualise your project with a graph!
- Replies: 25
- Views: 4255
Re: I made a routes analyser - visualise your project with a graph!
That's fantastic @Amethysts, thank you very much! It works fine on my project so far and gives me good clues about stuff I may forget, especially if the game gets more complex. Great! :D And it is kind of what I needed right now too. The only strange thing is one label in the graph that is by itself...
- Sat Mar 06, 2021 3:38 am
- Forum: Ren'Py Questions and Announcements
- Topic: Imagebutton action that rotates an image
- Replies: 7
- Views: 354
Re: Imagebutton action that rotates an image
@_ticclock_'s example works fine here, I can do other stuff in the meantime and the objects don't just randomly rotate. They shouldn't either because I don't click their buttons. What are you doing inside your code that leads to the objects to rotate (to their defaults?)
- Tue Mar 02, 2021 6:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: Imagebutton action that rotates an image
- Replies: 7
- Views: 354
Re: Imagebutton action that rotates an image
Something like this is possible:
Code: Select all
screen rotscreen():
default ang = 0
textbutton "Rotate" action SetScreenVariable("ang", ang+1)
add "eileen":
rotate ang- Tue Mar 02, 2021 6:48 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Changing image while text is processing
- Replies: 2
- Views: 207
Re: Changing image while text is processing
That's exactly what I need, thank you so much! 
I even had the Transitions entry bookmarked, but didn't expect a "Dict" transition to be the solution here. Sounded like we can just make a dict full of transitions.
I even had the Transitions entry bookmarked, but didn't expect a "Dict" transition to be the solution here. Sounded like we can just make a dict full of transitions.
- Tue Mar 02, 2021 3:56 am
- Forum: Ren'Py Questions and Announcements
- Topic: Changing cursor graphic over a hover on an imagemap hotspot
- Replies: 2
- Views: 305
Re: Changing cursor graphic over a hover on an imagemap hotspot
define config.mouse = { "default" : [("gui/cursor_default.png", 0, 0)], "imagemap" : [("gui/magnify.png", 0, 0)] } My questions are: How can I ensure that this code is using the correct screen? Not all of my screens have hot spots. How can I find the x-offset/y-offset numbers? when I grab the coord...
- Tue Mar 02, 2021 3:13 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Changing image while text is processing
- Replies: 2
- Views: 207
[Solved] Changing image while text is processing
I don't know if this is just not possible in Ren'py or I didn't even get some basics yet, but I want something like this: scene eileen happy e "Hey there!" e "Sometimes I can change my face{nw}" show eileen sad with dissolve extend " and people think I am sad, while I am actually{nw}" show eileen ha...
- Sun Feb 28, 2021 9:28 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved]Exception: Cannot start an interaction in the middle of an interaction
- Replies: 7
- Views: 285
Re: Exception: Cannot start an interaction in the middle of an interaction
I don't know if I understand you correctly. But maybe something like this works: screen waitforinput(): # include both screens into this one use player_gui use room_gui ... label start: ... while (something): ... # this automatically stops control flow until "Return()" is called within the waitforin...
- Thu Feb 25, 2021 2:48 am
- Forum: Ren'Py Questions and Announcements
- Topic: pygame 2.0.1 / pygame_sdl2 replacement?
- Replies: 5
- Views: 220
Re: pygame 2.0.1 / pygame_sdl2 replacement?
But what can be buggy? I also tested it on a live USB stick of an unaltered Ubuntu 20.04 with the same results regarding the custom cursors. Also the system cursor works fine in Ren'py and doesn't have any issues too.
- Wed Feb 24, 2021 7:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Load time between splashscreen and main menu
- Replies: 5
- Views: 184
Re: Load time between splashscreen and main menu
That was very helpful, thank you very much! 
- Wed Feb 24, 2021 7:08 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Load time between splashscreen and main menu
- Replies: 5
- Views: 184
Re: Load time between splashscreen and main menu
I didn't know that "return" enters the main_menu after the splashscreen label. o.o' Yes, that fixes it, thank you. But what's the logic? (I used another project as a hint for how to handle this, so it's definitely their fault. ^^)
P.S. Thanks for the transition hint too.
P.S. Thanks for the transition hint too.
- Wed Feb 24, 2021 6:59 pm
- Forum: Ren'Py Questions and Announcements
- Topic: pygame 2.0.1 / pygame_sdl2 replacement?
- Replies: 5
- Views: 220
Re: pygame 2.0.1 / pygame_sdl2 replacement?
Just throwing this in out of despair: since Ren'py uses SDL2 for cursors since 7.4.0, I don't have properly rendered custom mouse cursors anymore. Bug report here: https://github.com/renpy/renpy/issues/2572
Maybe someone here can relate and has a clue what might be the cause?
Maybe someone here can relate and has a clue what might be the cause?
- Wed Feb 24, 2021 6:52 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Load time between splashscreen and main menu
- Replies: 5
- Views: 184
[Solved] Load time between splashscreen and main menu
So I use the splashscreen label in the following way: label splashscreen: call screen some_screen # the user can click a button within that screen that then does "Return()" $ renpy.full_restart(transition=Dissolve(0.8)) I don't know why but Ren'py takes a lot of time to load the main menu and that's...
- Sun Feb 21, 2021 4:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Variables in Screens
- Replies: 10
- Views: 781
Re: Variables in Screens
@alex I read this multiple times already, I know that, thanks for pointing out. What I meant was that the screen isn't just randomly redrawn, you can check this with my code example above. But sure, it's not predictable either. My code example was not for showing good programming skills, but how str...
- Sun Feb 21, 2021 10:35 am
- Forum: Ren'Py Questions and Announcements
- Topic: Variables in Screens
- Replies: 10
- Views: 781
Re: Variables in Screens
... screen gameover(): vbox: if reason == 0: $ count += 1 You shouldn't put that logic into screens. Screens are reshown several times for internal purposes, so this part of code will be run several times (since 'reason' is not changed 'count' will grow). Well, I disagree on "You shouldn't put that...
- Sun Feb 21, 2021 4:43 am
- Forum: Ren'Py Questions and Announcements
- Topic: Window vs Frame
- Replies: 4
- Views: 267
Re: Window vs Frame
Also you can just use a "fixed", it automatically stretches itself to the size of its parent. 