Hi there,
Is there a way to get the size (w, h) of a video file?
renpy.image_size throws an (obvious) error that it works only in images and I can't seem to find an equivalent for video in the docs.
Thanks!
Search found 12 matches
- Sun Jun 16, 2019 10:52 am
- Forum: Ren'Py Questions and Announcements
- Topic: Video Dimensions
- Replies: 0
- Views: 585
- Sat Mar 02, 2019 12:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Reorganize Screens added with use
- Replies: 1
- Views: 280
Re: Reorganize Screens added with use
Found a workable way to do this. Thanks anyway!
- Sat Mar 02, 2019 12:20 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Reorganize Screens added with use
- Replies: 1
- Views: 280
[SOLVED] Reorganize Screens added with use
Hey there, I'm trying my hand at making a card game and I'm representing the hand with following code: screen table: fixed: pos (-310, -435) xysize (1900, 1590) ## HAND DRAW $ i = 0 for card in hand.cards: use card(card, (630 + i * 100, 905)) $ i += 1 screen card(card, pos): style_prefix "card&...
- Sun Feb 11, 2018 8:56 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Show Dialog windows while on a menu
- Replies: 2
- Views: 418
Re: Show Dialog windows while on a menu
Thanks, it worked
- Sat Feb 10, 2018 2:08 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Show Dialog windows while on a menu
- Replies: 2
- Views: 418
[Solved] Show Dialog windows while on a menu
Hi,
Is there a way to do this?
I tried:
But the menu still hides the dialog window.
Thanks in advance
-DB
Is there a way to do this?
I tried:
Code: Select all
label start:
window show
"First line"
menu:
"A":
pass
"B":
pass
"Thrid Line"
return
Thanks in advance
-DB
- Thu Jan 25, 2018 10:05 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] on hide not triggering
- Replies: 3
- Views: 508
Re: on hide not triggering
That solved it. Thanks!
- Thu Jan 25, 2018 1:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] on hide not triggering
- Replies: 3
- Views: 508
[SOLVED] on hide not triggering
Hi, I'm having an issue with the "on hide" from transform for my screens not triggering. I started a new project and just added the following: label start: show screen hide_test_screen pause hide screen hide_test_screen pause return transform hide_test: xalign 0.2 yalign 0.5 on show: linea...
- Mon Oct 30, 2017 4:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: if-like creator-defined statement
- Replies: 2
- Views: 395
Re: if-like creator-defined statement
None whatsoever! I just want to know if is possible to add if created statements using the current renpy system. I already have statements that turn stuff like $ player.delta_stat('speed', 5, with_message = False) into change player speed by 5 no_message much easier to read for other people working ...
- Mon Oct 30, 2017 3:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: if-like creator-defined statement
- Replies: 2
- Views: 395
if-like creator-defined statement
I'm trying to create a statement that work like an if. Say: test who stat vs 30: renpy_block And if the test is True then the block executes. I have no idea if this can even be done, but I'm assuming that register_statement and block='script' are the possible way to go. Unfortunately I haven't found...
- Thu Oct 26, 2017 8:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Window background stuck on loop
- Replies: 2
- Views: 384
Re: Window background stuck on loop
Found the "problem". I think this is intended behavior after checking it out some more. Changing "[show_return]" for $ renpy.say(None, str(show_return), interact=True) solves the problem. So does changing define config.window = "auto" to define config.window = "hid...
- Thu Oct 26, 2017 7:13 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Window background stuck on loop
- Replies: 2
- Views: 384
Window background stuck on loop
Hi there. So I have a small loop to wait while the user chooses from a menu, but whenever I show dialog the background of the say window doesn't disappear after the text is shown. screen test: vbox: xsize 300 xpos 0 ypos 35 spacing 5 for i in xrange(0, 5): frame: textbutton "* " + str(i) a...
- Thu May 19, 2016 12:50 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Question about renpy.show
- Replies: 1
- Views: 261
Question about renpy.show
Hi there! I started working with Ren'py very recently so I'm just learning it. I'm having trouble making a custom location navigation system. Currently I'm defining a very simple function to move between locations as this: def goto(player, location): if location in locations: player.location = locat...