Search found 18 matches
- Fri May 26, 2023 2:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to achieve smooth animation transition after player's mouse click
- Replies: 2
- Views: 142
Re: How to achieve smooth animation transition after player's mouse click
After contemplating and consulting some documentation, I realized that implementing this functionality is not as straightforward as I initially thought. I kindly request any suggestions or advice you may have. You can do that using CDD . Pass both animations and duration of the 1st animation to a c...
- Fri May 26, 2023 2:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to achieve smooth animation transition after player's mouse click
- Replies: 2
- Views: 142
How to achieve smooth animation transition after player's mouse click
I previously asked about achieving smooth animation transitions and mentioned the use of the 'group' feature, which can effectively address the transition between two animations. However, after trying it out, I found that using the 'group' feature still doesn't meet my requirements. Currently, I hav...
- Wed May 24, 2023 1:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Regarding the issue of automatic video playback.
- Replies: 2
- Views: 128
- Tue May 23, 2023 11:03 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Regarding the issue of automatic video playback.
- Replies: 2
- Views: 128
[SOLVED]Regarding the issue of automatic video playback.
I would like the second segment to play automatically after the first video finishes. I tried using a timer, but it doesn't ensure a smooth transition between the two videos. Is there a way to seamlessly connect the playback of the two video segments? Here's the effect I want to achieve: Video A is ...
- Thu May 18, 2023 7:39 am
- Forum: Ren'Py Questions and Announcements
- Topic: Has anyone used ChatGPT to write Ren'Py code? Any good suggestions?
- Replies: 5
- Views: 1237
Re: Has anyone used ChatGPT to write Ren'Py code? Any good suggestions?
First of all: ChatGPT is not an expert system. It does not "know" facts or rules. It is a language processing system, whose job is to output sentneces which looks like something a human would say. Never use ChatGPT to procure answers you cannot verify. It can literally send you to prison ...
- Thu May 18, 2023 4:42 am
- Forum: Ren'Py Questions and Announcements
- Topic: Has anyone used ChatGPT to write Ren'Py code? Any good suggestions?
- Replies: 5
- Views: 1237
Has anyone used ChatGPT to write Ren'Py code? Any good suggestions?
After trying it myself, I encountered several issues. While ChatGPT performs well in Python programming, it doesn't adapt well within Ren'Py. Here are the problems I've faced: 1.ChatGPT cannot grasp Ren'Py's programming rules, such as performing computations in places where it's not allowed. 2.Fabri...
- Mon Jun 20, 2022 10:40 am
- Forum: Ren'Py Questions and Announcements
- Topic: Question about new game plus.
- Replies: 2
- Views: 279
Re: Question about new game plus.
Thank you very much!Ocelot wrote: ↑Mon Jun 20, 2022 9:38 am You can use persistent data which is designed to store data outside of game itself:
https://www.renpy.org/doc/html/persistent.html
- Mon Jun 20, 2022 9:19 am
- Forum: Ren'Py Questions and Announcements
- Topic: Question about new game plus.
- Replies: 2
- Views: 279
Question about new game plus.
I want to design a new game content about the new game plus, so I define a global variable value to use as a key. When the game is completed, change this global variable to make the next new game enter the new game plus. But I found that every time I restart a new game, all the values are reset, w...
- Wed Jul 28, 2021 8:57 pm
- Forum: Ren'Py Questions and Announcements
- Topic: High light on unselected options
- Replies: 0
- Views: 2172
High light on unselected options
In the optional branch in the menu. I can control whether the branch appears or not through the if statement, but I want to make a function that highlights which unselected options appear, and removes the highlighting for those selected options. In this way, the player knows which options he has cho...
- Mon Jul 19, 2021 8:47 am
- Forum: Ren'Py Questions and Announcements
- Topic: Can I use animated GIF pictures?
- Replies: 5
- Views: 836
Re: Can I use animated GIF pictures?
images supported: https://www.renpy.org/doc/html/displayables.html#Image You have many options here, either make them a Movie displayable (use webm and masking to simulate transparency) mask If given, this should be the path to a movie file that is used as the alpha channel of this displayable. The...
- Mon Jul 19, 2021 5:37 am
- Forum: Ren'Py Questions and Announcements
- Topic: Can I use animated GIF pictures?
- Replies: 5
- Views: 836
Re: Can I use animated GIF pictures?
No, GIF images are not supported (because it is terribly outdated format). Other animated image formats are not supported, because there wasn't much requests for them at all. (IIRC PyTom considered adding apng support if enough people request it). Instead you can: 1) Animate your images using ATL: ...
- Mon Jul 19, 2021 5:16 am
- Forum: Ren'Py Questions and Announcements
- Topic: Can I use animated GIF pictures?
- Replies: 5
- Views: 836
Can I use animated GIF pictures?
I want to make a simple dynamic scene, like the slightly animated background building in Might & Magic Heroes. Does Renpy support the declaration of Gif images and then display them in the game?(Can dynamic images be displayed correctly?) If I can't use GIF,things will be more troublesome,becaus...
- Thu Jul 15, 2021 8:46 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved]Questions about function(in button action)
- Replies: 5
- Views: 894
Re: Questions about function(in button action)
if you're planning to return something from the function then the interaction will end (the called screen will hide and continue to your current script in labels). https://www.renpy.org/doc/html/screen_actions.html#Function If the function returns a non-None value, the interaction stops and returns...
- Thu Jul 15, 2021 7:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved]Questions about function(in button action)
- Replies: 5
- Views: 894
Re: Questions about function(in button action)
SetVariable("hp", 0) this one throws an error because the SetVariable action is meant for global variables not local variables, in your screen you're passing the hp as a local variable. Use SetLocalVariable instead, its also documented in Renpy Actions section. If I want to use a custom f...
- Thu Jul 15, 2021 7:29 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved]Questions about function(in button action)
- Replies: 5
- Views: 894
Re: Questions about function(in button action)
Thank very much!hell_oh_world wrote: ↑Thu Jul 15, 2021 6:45 am SetVariable("hp", 0)
this one throws an error because the SetVariable action is meant for global variables not local variables, in your screen you're passing the hp as a local variable.
Use SetLocalVariable instead, its also documented in Renpy Actions section.