Search found 3094 matches
- Sun Sep 17, 2023 9:48 am
- Forum: Ren'Py Questions and Announcements
- Topic: Default translation[SOLVED]
- Replies: 5
- Views: 1077
Re: Default translation
... It's in Russian in beginning, but when I copy all my files to the new project, it's a mess again. I cannot copy just script.rpy, I copy screen.rpy as well, as I have lots of new stuff there... ... You shouldn't copy all the files, only files with game script. As for screens.rpy - copy/paste onl...
- Sun Sep 17, 2023 6:12 am
- Forum: Ren'Py Questions and Announcements
- Topic: Default translation[SOLVED]
- Replies: 5
- Views: 1077
Re: Default translation
Hi guys. I created a project with English language (I think). In fact default language in scripts of the project is Russian. I want all messages in game, like - "Are you sure you want to quit game?" to be in Russian by default as well. ... Try to set russian language in launcher preferenc...
- Tue Sep 12, 2023 6:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Opening a screen with a move transition [SOLVED]
- Replies: 2
- Views: 768
Re: Opening a screen with a move transition
Try to apply transform to the screen content (like, to your imagemap inside a screen) or put all the content inside a container (fixed, frame, hbox, vbox, etc.) and apply transform to it - viewtopic.php?f=8&t=66826#p561551
- Mon Sep 11, 2023 5:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Jump to Different Label When Pressing Different Key
- Replies: 2
- Views: 770
Re: Jump to Different Label When Pressing Different Key
... Try it like screen qte_1_scr(right_key, time_to_press, fail_label='', win_label=''): # just a mark for test purposes text "qte_1_scr is shown" align (0.5, 0.05) # to force player interact with the screen modal True # hide the screen and jump to fail_label after time is gone # (if fail...
- Mon Sep 04, 2023 2:58 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Transfering focus to the most foreground screen
- Replies: 5
- Views: 7526
Re: Transfering focus to the most foreground screen
... I have made an other recipe book screen, so the player knows what to buy, and I use the... "use" statement to make it appear. ... The 'use' statement allows a screen to include another, so the 'modal' property is working only for outer screen (the screen that is really showing). Try t...
- Sat Aug 26, 2023 11:09 am
- Forum: Ren'Py Questions and Announcements
- Topic: Aligning/anchoring draggables
- Replies: 4
- Views: 1134
Re: Aligning/anchoring draggables
...I tried it like this but the result didn't change... Well, yes... Looks like draggables are positioned onscreen witn anchor(0.0, 0.0). So, to show smaller image in the center of the area of bigger image you need to keep the original size of the draggable and position smaller image with offset. H...
- Sat Aug 26, 2023 2:57 am
- Forum: Ren'Py Questions and Announcements
- Topic: I CLICK IN ONE ITEM BUT ALL ITEMS ARE HIGHLIGHTED ON THE LIST
- Replies: 7
- Views: 534
Re: I CLICK IN ONE ITEM BUT ALL ITEMS ARE HIGHLIGHTED ON THE LIST
Some more about buttons - viewtopic.php?f=8&t=26492#p322596
- Fri Aug 25, 2023 4:39 pm
- Forum: Ren'Py Questions and Announcements
- Topic: I CLICK IN ONE ITEM BUT ALL ITEMS ARE HIGHLIGHTED ON THE LIST
- Replies: 7
- Views: 534
Re: I CLICK IN ONE ITEM BUT ALL ITEMS ARE HIGHLIGHTED ON THE LIST
Could you provide the code for quest selection?
- Thu Aug 24, 2023 3:49 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Aligning/anchoring draggables
- Replies: 4
- Views: 1134
- Sun Aug 20, 2023 4:34 am
- Forum: Ren'Py Questions and Announcements
- Topic: Issues Converting Floats to Integers for Gallery Shooting Mini Game
- Replies: 3
- Views: 293
Re: Issues Converting Floats to Integers for Gallery Shooting Mini Game
... Try to int both values of 'cork_gun_pos' inside 'corkGunTransform' function cork_gun_pos = (int(mousepos[0] - cork_gun_size[0] / 2), int(cork_gun_opos[1])) cork_gun_pos = (int(cork_gun_pos[0]), int(cork_gun_opos[1] + (mousepos[1] - config.screen_height / 2) / 7)) Also, in this line $ cork_gun_t...
- Thu Aug 10, 2023 2:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Closing CDD screen by function
- Replies: 9
- Views: 463
Re: Closing CDD screen by function
You can check the code in '00action_other.rpy' inside a 'renpy/common' folder.m_from_space wrote: ↑Thu Aug 10, 2023 4:43 am Interesting! Does this mean, that Return() just executes "end_interaction()" or something like it?
- Thu Aug 10, 2023 2:27 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Use a transition with python equivalent of call screen
- Replies: 5
- Views: 3800
Re: Use a transition with python equivalent of call screen
I don't understand why the pair of extra brackets at the end though. 'With' is a screen action, but it can be used outside screen, 'cause it's a function. The difference from the ordinary function is that you need to put screen action's parameters inside brackets and add another pair of empty brack...
- Mon Aug 07, 2023 1:56 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Crashing while playing mini-game, click and hold
- Replies: 2
- Views: 500
Re: Crashing while playing mini-game, click and hold
Just comment out this line
Code: Select all
from vec2d import vec2d
- Sat Aug 05, 2023 4:02 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Shooter Minigame Help - Seeking Refactoring/Organization Advice
- Replies: 15
- Views: 2970
Re: Shooter Minigame Help - Basic Randomization
For now you draw a player and a cloud over it (on a foreground). So try to add another cloud before player in render (at the background) and give it a different speed.
- Wed Aug 02, 2023 3:12 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Use a transition with python equivalent of call screen
- Replies: 5
- Views: 3800
Re: Use a transition with python equivalent of call screen
Try it like
Code: Select all
$ With(Dissolve(2.0))() # a pair of extra brackets at the end
$ renpy.call_screen("Overlay", _layer="screens")