Search found 38 matches

by Yuvan raj
Mon Jun 05, 2023 12:25 pm
Forum: Ren'Py Questions and Announcements
Topic: could not resolve com.android.tools.build:gradle:4.0.1
Replies: 1
Views: 181

could not resolve com.android.tools.build:gradle:4.0.1

Hello guys, I've spent the whole day trying to build an android application. After several errors I finally got the Build package option. But when I click on it, it takes some time for processing then says "Error The build seems to have failed". And I also get the below log in my atom edit...
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: 303

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 ...
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: 303

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: 277

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: 370

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...
by Yuvan raj
Sun Sep 19, 2021 8:14 am
Forum: Ren'Py Questions and Announcements
Topic: Transitions stopped working
Replies: 4
Views: 1057

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: 747

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: 747

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: 661

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: 509

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://lemmas...
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: 509

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: 515

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: 515

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: 791

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: ...
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: 791

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:/...