Search found 108 matches

by Eliont
Sun Feb 28, 2021 12:30 pm
Forum: Ren'Py Questions and Announcements
Topic: Queue movies
Replies: 6
Views: 97

Re: Queue movies

Can not use this command during any video playback, as it fully lock all controls, and i dont know how to get it to work with Movie displayable. Initial idea was about to get duration of webm file without playing it, to show Movie displayable with transition, but move to next video or line of code w...
by Eliont
Sun Feb 28, 2021 12:05 pm
Forum: Ren'Py Questions and Announcements
Topic: Queue movies
Replies: 6
Views: 97

Re: Queue movies

Found renpy.music.get_duration(channel=u'music') Returns the duration of the audio or video file on channel. Returns 0.0 if no file is playing on channel. But can't get it to work - renpy.music.get_playing correctly show file name, renpy.music.get_duration always says 0.0, and renpy.music.play('movi...
by Eliont
Sun Feb 28, 2021 10:00 am
Forum: Ren'Py Questions and Announcements
Topic: Queue movies
Replies: 6
Views: 97

Re: Queue movies

Thanks, though i need to do it without specifying video length, otherwise should be fine.
May be i can try to get video length from pygame.movie.Movie.get_length.

Do you know, is renpy Movie - pygame.movie.Movie, and therefore have get_length() method ?
by Eliont
Sun Feb 28, 2021 8:11 am
Forum: Ren'Py Questions and Announcements
Topic: Queue movies
Replies: 6
Views: 97

Queue movies

Is there any way to queue movies (different files) with transitions between them like queue music works ?

Thanks in advance.
by Eliont
Tue Feb 16, 2021 8:37 am
Forum: Ren'Py Questions and Announcements
Topic: Two methods of rendering custom displayables
Replies: 4
Views: 260

Re: Two methods of rendering custom displayables

Btw, is there somewhere extensive guide for UDD (ever if it paid) ?
Not the "proof of concept" that resides in https://www.renpy.org/doc/html/udd.html
by Eliont
Fri Feb 12, 2021 10:09 am
Forum: Ren'Py Questions and Announcements
Topic: Two methods of rendering custom displayables
Replies: 4
Views: 260

Two methods of rendering custom displayables

Hello and good time of day. What difference between method #1 and method #2 ?: def render(self, width, height, st, at): # 1 render = renpy.Render(self.xsize, self.ysize) render.place(self.sprite) # renpy.redraw(self, 0.0) # 2 # child_render = renpy.render(self.sprite, width, height, st, at) # self.w...
by Eliont
Fri Jan 22, 2021 2:39 pm
Forum: Development of Ren'Py
Topic: [7.3.5] How to lock FPS / refresh rate to 60
Replies: 0
Views: 555

[7.3.5] How to lock FPS / refresh rate to 60

Hello and good time of day.

When client system has screen refresh rate higher the 60 it breaks minigame written using CDD.
How to lock renpy fps ?

preferences.gl_framerate = 60 does not have effect

Thanks in advance.
by Eliont
Wed Sep 23, 2020 9:54 am
Forum: Ren'Py Questions and Announcements
Topic: Protect files from unpackers
Replies: 10
Views: 754

Protect files from unpackers

Hello and good time of day.

Still no way to protect archived game files from unpacking by UnRen or similar tools?

Thanks in advance.
by Eliont
Mon Aug 31, 2020 4:15 am
Forum: Ren'Py Questions and Announcements
Topic: Crash when supply args to screen and screen have action to show another screen with transition
Replies: 2
Views: 229

Re: Crash when supply args to screen and screen have action to show another screen with transition

I t just call to label with debug setup, to not mess up with general code.
Same situation without it.
by Eliont
Mon Aug 31, 2020 2:33 am
Forum: Ren'Py Questions and Announcements
Topic: Crash when supply args to screen and screen have action to show another screen with transition
Replies: 2
Views: 229

Crash when supply args to screen and screen have action to show another screen with transition

Hello and good time of day. Have a strange behaviour on 7.4.5.606 screen inv_button: tag inv mousearea: area (800, 0, 600, 70) hovered Show("hero_power", transition=dissolve) unhovered Hide("hero_power", transition=dissolve) This code works. screen inv_button(): tag inv mousearea: area (800, 0, 600,...
by Eliont
Sat Jul 11, 2020 7:59 pm
Forum: Ren'Py Questions and Announcements
Topic: Android - "I/O operation on closed file" when saving game
Replies: 2
Views: 312

Re: Android - "I/O operation on closed file" when saving game

I can't think of anything. Solved now - it's because i used RandomNames = {} with renpy.file("db/RandomNames/RusNames.txt") as file: RandomNames['rus'] = random_names_file.readlines() with renpy.file("db/RandomNames/EngNames.txt") as file: RandomNames['eng'] = random_names_file.readlines() Fixed by...
by Eliont
Mon Jul 06, 2020 5:01 am
Forum: Ren'Py Questions and Announcements
Topic: Android - "I/O operation on closed file" when saving game
Replies: 2
Views: 312

Android - "I/O operation on closed file" when saving game

Hello and good time of day. Why this is happening ? There are no problems with saves on PC or launcher-emulated android, but crashed when installed on real android 7 (Nox App Player or android tablet). Storage permission granted. http://puu.sh/G48Sw/d1bc33d836.jpg While running game code: File "renp...
by Eliont
Fri Jul 03, 2020 8:09 am
Forum: Ren'Py Questions and Announcements
Topic: How to display text in Hindi - हिन्दी
Replies: 5
Views: 419

How to display text in Hindi - हिन्दी

Hello and good time of day.

How ?
Tried 11 different fonts and not a single works - just squares.
by Eliont
Mon Apr 27, 2020 10:05 am
Forum: Ren'Py Questions and Announcements
Topic: RAPT - set to build only universal apk
Replies: 1
Views: 209

RAPT - set to build only universal apk

Hello and good time off day.

Each time when Ren'Py build an apk, it create four of them.

Code: Select all

-armeabi-v7a-release.apk
-universal-release.apk
-arm64-v8a-release.apk
-x86_64-release.apk
How to set it to build only one universal-release apk ?

Thanks in advance.