Search found 31 matches

by galadain
Sun Jun 27, 2021 11:34 am
Forum: Ren'Py Questions and Announcements
Topic: Calling Multiple Screens
Replies: 4
Views: 833

Re: Calling Multiple Screens

Almost like a waterfall. At first the user has five button options to pick from. Then four and so on. They are only allowed three choices to get the correct combination. So if their choices are 5 to 1 and in round 1 the choose 4, then in round 2 their choices are 5, 3-1.
by galadain
Sat Jun 26, 2021 10:31 pm
Forum: Ren'Py Questions and Announcements
Topic: Calling Multiple Screens
Replies: 4
Views: 833

Re: Calling Multiple Screens

Maybe this will clarify a bit. I know I can do it this way by jumping to labels then calling new screens each time. label game1_p1_start: call screen game1_p1 screen game1_p1(): imagemap: ground "game1_p1_start.png" hotspot (33, 210, 226, 93) action Jump ("game1_p1_5") hotspot (33, 318, 222, 98) act...
by galadain
Sat Jun 26, 2021 12:07 am
Forum: Ren'Py Questions and Announcements
Topic: Calling Multiple Screens
Replies: 4
Views: 833

Calling Multiple Screens

I'd like to setup a imagemap where selecting a button calls a new screen for another image map. screen game1_p1(): imagemap: ground "game1_p1_start.png" hotspot (33, 210, 226, 93) action Call ("game1_p1_5") hotspot (33, 318, 222, 98) action Call ("game1_p1_4") screen game1_p1_5(): imagemap: ground "...
by galadain
Sat Jun 19, 2021 12:03 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Audio Controls in Movies
Replies: 12
Views: 1743

Re: Audio Controls in Movies

Changed my code to make it identical to yours and it's working now. Thanks!
by galadain
Fri Jun 18, 2021 9:54 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Audio Controls in Movies
Replies: 12
Views: 1743

Re: Audio Controls in Movies

Correct. I can hear the sound as if I was playing the .webm in a normal Windows media player. However, none of the Ren'py volume options, including the custom one you suggested I create, control the volume for the movie. I'm curious I've I'm putting this code in the correct place. label _("My_movie ...
by galadain
Fri Jun 18, 2021 7:19 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Audio Controls in Movies
Replies: 12
Views: 1743

Re: Audio Controls in Movies

Tried it with three different movies. Still no audio control with new or existing channels image mov1 = Movie(channel="my_movie_channel", play="mov1.webm") image mov2 = Movie(channel="my_movie_channel", play="mov2.webm") image mov3 = Movie(channel="my_movie_channel", play="mov3.webm") scene mov1 wit...
by galadain
Thu Jun 17, 2021 4:59 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Audio Controls in Movies
Replies: 12
Views: 1743

Re: Audio Controls in Movies

Here's my code: Preferences label _("My_movie Volume") hbox: bar value MixerValue("my_mixer") textbutton "0.5" action Function(preferences.set_volume,"my_mixer", 0.5) textbutton "1.0" action Function(preferences.set_volume,"my_mixer", 1.0) Script $ renpy.music.register_channel("my_movie_channel", mi...
by galadain
Wed Jun 16, 2021 5:30 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Audio Controls in Movies
Replies: 12
Views: 1743

Re: Audio Controls in Movies

Sorry I didn't reply sooner. Is there a way to accomplish this using the existing audio channels/controls instead of creating a new one?
by galadain
Sun May 30, 2021 4:05 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Audio Controls in Movies
Replies: 12
Views: 1743

Re: Audio Controls in Movies

Okay. So I tried to make the following changes to control the movie playback sound with the normal Ren'Py voice channel controls. image fight_scn1 = Movie(channel=voice.channel, play="fight_scn1.webm") image fight_scn1 = Movie(channel=voice, play="fight_scn1.webm") Neither option works. Please advise.
by galadain
Thu May 27, 2021 7:38 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Audio Controls in Movies
Replies: 12
Views: 1743

[SOLVED] Audio Controls in Movies

I'm playing movies playing movies by first defining it like this: image fight_scn1 = Movie(play="fight_scn1.webm") And then calling the movie with: scene fight_scn1 I need the movie to play while the user is clicking through text. This code works perfect for what I want. The problem is the standard ...
by galadain
Tue Apr 27, 2021 1:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Multiple Random Numbers
Replies: 1
Views: 300

Multiple Random Numbers

I get how to use renpy.random.randint(1, 5) to create a random number between 1 and 5. How do I use it multiple times to roll a different (can be repeating) number each time? For example, if I do... $ rand_roll = renpy.random.randint(1, 5) MC "[rand_roll]" $ rand_roll = renpy.random.randint(1, 5) MC...
by galadain
Thu Apr 08, 2021 3:11 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Main Menu Slideshow
Replies: 2
Views: 380

Re: Main Menu Slideshow

Documentation can be a bit daunting. Figured it out by creating a custom_atl.rpy file with the following: image mainmenu_bg: "mmbg_null.png" with dissolve 2.0 "mmbg_1.png" with dissolve 2.0 "mmbg_2.png" with dissolve 2.0 "mmbg_3.png" with dissolve 2.0 "mmbg_4.png" with dissolve 2.0 "mmbg_3.png" with...
by galadain
Wed Apr 07, 2021 1:42 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Main Menu Slideshow
Replies: 2
Views: 380

[SOLVED] Main Menu Slideshow

I like to have a rotating slideshow of images for the main menu background vs a single static image. Maybe have each background on the screen for a few seconds then switch to the next background. Any suggestions on how to accomplish this?
by galadain
Mon Oct 19, 2020 12:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Card Flip
Replies: 8
Views: 678

Re: Card Flip

This works for flipping the card in the middle of the screen image flipcard: "back.png" xalign 0.5 yalign 0.5 linear 1 xzoom 0.1 "front.png" xalign 0.5 yalign 0.5 linear 1 xzoom 1.0 However, when I try to move the card to the right it no longer flips directly on the y-axis. "back.png" xalign 0.75 ya...
by galadain
Fri Oct 16, 2020 9:53 am
Forum: Ren'Py Questions and Announcements
Topic: Card Flip
Replies: 8
Views: 678

Re: Card Flip

I definitely want a front and back to the card. Starts out on the back then flips to the front. I was unable to find a video or tutorial about ATL blocks. The documentation shows what lines can go into an ATL block (like xzoom) but doesn't really show and example of a block.