Search found 37 matches

by Yuvan raj
Wed Nov 16, 2022 11:03 am
Forum: Ren'Py Questions and Announcements
Topic: Each image inside image statement should dissolve in and dissolve out [Solved]
Replies: 2
Views: 204

Re: Each image inside image statement should dissolve in and dissolve out

You can just use transition Dissolve: image fire_effect: "fire_1.png" with Dissolve(0.5) 0.5 "fire_2.png" with Dissolve(0.5) 0.5 "fire_3.png" with Dissolve(0.5) 0.5 repeat Thank you! I had a faint memory of using 'with dissolve' for 'show' and 'hide' inside the script so made a dumb mistake. I just...
by Yuvan raj
Fri Nov 11, 2022 9:32 am
Forum: Ren'Py Questions and Announcements
Topic: Each image inside image statement should dissolve in and dissolve out [Solved]
Replies: 2
Views: 204

Each image inside image statement should dissolve in and dissolve out [Solved]

Hello wonderful people, I'm using image statement to cycle through few images and I want each of those images to dissolve in and dissolve out. I'm using it in main menu screen. Below is my code. init: transform basic_fade: on show: alpha 0.0 linear 1.0 alpha 1.0 on hide: linear 1.0 alpha 0.0 image f...
by Yuvan raj
Wed Jul 20, 2022 6:44 am
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton that acts as the ESCAPE key
Replies: 1
Views: 217

Imagebutton that acts as the ESCAPE key

Hello, in my game the player can name the save file. I managed to include an 'OK' button so that the touch screen players can use it. But I don't know how to include the button so that the player may cancel this naming. Clicking 'ESCAPE' button on the keyboard does this but can I make an imagebutton...
by Yuvan raj
Tue Oct 12, 2021 1:52 pm
Forum: Ren'Py Questions and Announcements
Topic: Multiple inputs from User in a single page.
Replies: 2
Views: 312

Multiple inputs from User in a single page.

Hello guys, I want to receive inputs(like their name) from the user. I already know how to get a single input. This is my code to get the input from the user. This is the code in script.rpy $ player_name = renpy.input("What's your first name?") $ player_name = player_name.strip() if player_name == "...
by Yuvan raj
Sun Sep 19, 2021 8:14 am
Forum: Ren'Py Questions and Announcements
Topic: Transitions stopped working
Replies: 4
Views: 721

Re: Transitions stopped working

Hi everyone. If this is the wrong forum to post this please move it to the correct one. Now... I was trying to add music and SFX into my game and for some reason my image transitions stopped working. They were working perfectly fine up into when I added the music. I've since removed all the music a...
by Yuvan raj
Wed Jul 21, 2021 9:42 am
Forum: Ren'Py Questions and Announcements
Topic: In a Screen, Calling a Label having variables changes the main game.[Solved]
Replies: 2
Views: 685

Re: In a Screen, Calling a Label having variables changes the main game.

... You could make a function to reset some variables and run it for close button. Something like init python: def reset_some_vars(): # all neccessary variables should be listed below as global ones global steve_character_imagebutton, diana_character_imagebutton, stacy_character_imagebutton, robin_...
by Yuvan raj
Wed Jul 21, 2021 4:39 am
Forum: Ren'Py Questions and Announcements
Topic: In a Screen, Calling a Label having variables changes the main game.[Solved]
Replies: 2
Views: 685

In a Screen, Calling a Label having variables changes the main game.[Solved]

Hello guys, I have some buttons(used to see stats) on the side of the screen. https://i.imgur.com/8rtr1BN.png?1 When I click one of the button. A big screen shows up with stats and so on. There is a close button in this screen. https://i.imgur.com/JW2HqyQ.png?1 When I click on the close button It hi...
by Yuvan raj
Thu Jul 08, 2021 9:40 am
Forum: Ren'Py Questions and Announcements
Topic: How to create OUTLINE for frame statement with custom background solid color?
Replies: 1
Views: 616

How to create OUTLINE for frame statement with custom background solid color?

Hello guys, I'm using frames in my screen. The default frame is a black box with orange outline. For one frame I want blue box with orange outline. This is the code I'm using. frame: xalign 0.5 ysize 280 vbox: imagebutton: ... And this is the result: https://i.imgur.com/AakYFKj.png I changed the fra...
by Yuvan raj
Tue Jun 01, 2021 1:37 am
Forum: Ren'Py Questions and Announcements
Topic: How to Change the viewport SCROLLBAR Width? [Solved]
Replies: 2
Views: 424

Re: How to Change the viewport SCROLLBAR Width?

Try it like viewport: scrollbars "vertical" vscrollbar_xsize 50 #<--- mousewheel True draggable True xalign 0.5 You can use style inspector (hit shift + i while hovering mouse pointer over an element of GUI) to see style properties you can adjust. This might be useful too - https://lemmasoft.renai....
by Yuvan raj
Mon May 31, 2021 3:58 pm
Forum: Ren'Py Questions and Announcements
Topic: How to Change the viewport SCROLLBAR Width? [Solved]
Replies: 2
Views: 424

How to Change the viewport SCROLLBAR Width? [Solved]

Hello, I'm a noob in renpy. I created this viewport and the vertical scrollbar on the side is very thin. I also plan on releasing the finished game on android and I have experience playing games in which the scrollbar was too thin that i could select it. This is my screen with viewport. https://i.im...
by Yuvan raj
Fri May 28, 2021 2:31 am
Forum: Ren'Py Questions and Announcements
Topic: modal True except one screen
Replies: 2
Views: 455

Re: modal True except one screen

One way I can think of is putting the menu on the right in its own screen, then having the menu screen inside the other one with use This is how it works for the navigation menu (for exemple, save and load screens both use the navigation menu). It would look like this: screen somemenu(): textbutton...
by Yuvan raj
Thu May 27, 2021 12:07 pm
Forum: Ren'Py Questions and Announcements
Topic: modal True except one screen
Replies: 2
Views: 455

modal True except one screen

Hello, I'm using a modal True statement on a screen so that the game won't proceed and other buttons won't be clicked. But I want to make an exception to the modal True statement. I want the screen containing the buttons 'my stats, characters stats, skip time, etc' to be clickable. This is what my g...
by Yuvan raj
Sun May 23, 2021 7:58 am
Forum: Ren'Py Questions and Announcements
Topic: Viewport vertical length very long. How to reduce?( Using images with zoom statement inside)
Replies: 6
Views: 668

Re: Viewport vertical scrolling area very long.

Try to declare all images, like image button_1_idle: "images/status_images/characters/1 character.png" zoom 0.35 and use those images for imagebuttons imagebutton idle 'button_1_idle': Declared all the images event the close button but still getting the same results. :( image close_idle: "images/gu...
by Yuvan raj
Sun May 23, 2021 6:22 am
Forum: Ren'Py Questions and Announcements
Topic: Viewport vertical length very long. How to reduce?( Using images with zoom statement inside)
Replies: 6
Views: 668

Re: Viewport vertical scrolling area very long.

This is the code for close-button, and wat about all other images inside a viewport? Also, try to play with the size of the frame frame: background Solid("#5a5c5c") xpos 20 ypos 18 xmaximum 1468 xminimum 1468 ymaximum 1045 yminimum 1045 (check the part with 'area' in sample code - https://www.renpy...
by Yuvan raj
Sun May 23, 2021 4:08 am
Forum: Ren'Py Questions and Announcements
Topic: Viewport vertical length very long. How to reduce?( Using images with zoom statement inside)
Replies: 6
Views: 668

Viewport vertical length very long. How to reduce?( Using images with zoom statement inside)

Hello, my viewport scrolling area is too long! The Thumb is very small and it just goes down so long. I have attached a picture of my problem and the code I use. I only want to show these 7 pictures now and maximum 15 pictures later. How to make my viewport to only go down till my last element that ...