Search found 38 matches

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

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 ...
by Yuvan raj
Thu May 20, 2021 5:10 am
Forum: Ren'Py Questions and Announcements
Topic: Screen inside a viewport shows error. [Solved(should use 'use' statement)]
Replies: 1
Views: 633

Screen inside a viewport shows error. [Solved(should use 'use' statement)]

Hello, I want to show a screen inside a viewport. But I get an error saying 'show' is not a valid keyword argument. Below is the code and below that are my images of what I want to accomplish. screen Green_button(): imagebutton auto "greenbutton_%s" xpos 20 ypos 20 action Show("Yellow...
by Yuvan raj
Fri May 14, 2021 9:17 am
Forum: Ren'Py Questions and Announcements
Topic: How to remove text outline for specific texts?
Replies: 1
Views: 868

How to remove text outline for specific texts?

Hello, I have outlines for the texts in my VN using the code: define gui.text_outlines = [ (2,"#000000",0,0) ] But I want to remove the text outline for some texts which I'm using in a screen. This below is my screen code: screen statusbuttons(): vbox: xalign 0.907 yalign 0.64 text "M...
by Yuvan raj
Tue May 11, 2021 1:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Want my images, videos to appear in a particular size and place on the screen!
Replies: 5
Views: 867

Re: Want my images, videos to appear in a particular size and place on the screen!

How do you show these images? What positional arguments do you provide to them? I typed this code in the options.rpy ################################################-----Layers-----################################################### define config.layers = [ 'master', 'transient', 'viewport' ,'scree...
by Yuvan raj
Tue May 11, 2021 11:27 am
Forum: Ren'Py Questions and Announcements
Topic: Want my images, videos to appear in a particular size and place on the screen!
Replies: 5
Views: 867

Re: Want my images, videos to appear in a particular size and place on the screen!

You can create a separate layer for thise images and clip it to fit your need. https://www.renpy.org/doc/html/config.html?highlight=layer#var-config.layer_clipping https://www.renpy.org/doc/html/config.html?highlight=layer#var-config.layers Thank you for the reply! I did as you comment and It works...
by Yuvan raj
Tue May 11, 2021 3:06 am
Forum: Ren'Py Questions and Announcements
Topic: Want my images, videos to appear in a particular size and place on the screen!
Replies: 5
Views: 867

Want my images, videos to appear in a particular size and place on the screen!

Hello, I'm trying to create a visual novel in which the displayables should only appear on a particular place and size on the screen. Like the picture below, https://i.imgur.com/Zf6WCdq.png?1 I want my images to appear only inside the orange frame. Below and in the sides I want to create imagemaps f...
by Yuvan raj
Fri May 07, 2021 2:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Difference between 'define', $ and 'default' and when to use which?
Replies: 2
Views: 849

Difference between 'define', $ and 'default' and when to use which?

Hello, I'm new to renpy and I'm trying to define variables. But sometimes when I define using $ in the middle of a label, I get an error saying that the variable I'm using the $ for is not defined. But when I use 'default', it works. And there is define too. Where should I use which? Is there any gu...
by Yuvan raj
Fri May 07, 2021 2:47 pm
Forum: Ren'Py Questions and Announcements
Topic: SyntaxError: invalid syntax (<none>, line 1)
Replies: 3
Views: 927

Re: SyntaxError: invalid syntax (<none>, line 1)

What values variables arrow_up(and others) have? They are just text. The images names are 'arrow_down_idle.png' and 'arrow_down_active.png'. The word 'down' is replaced with 'up, left and right'. Also I should have used a different name for the image variable (not Arrow down) This should be the nam...
by Yuvan raj
Fri May 07, 2021 7:00 am
Forum: Ren'Py Questions and Announcements
Topic: SyntaxError: invalid syntax (<none>, line 1)
Replies: 3
Views: 927

SyntaxError: invalid syntax (<none>, line 1)

Hello, I'm trying to declare an image which has an idle and active modes and I'm using a conditionswitch to change the image from idle to active. and vice versa. But I also want the image to be random. The images are 4 different arrows. and each time I want a different random arrow. Like this https:...
by Yuvan raj
Tue May 04, 2021 5:34 am
Forum: Ren'Py Questions and Announcements
Topic: For loop in a label not working!
Replies: 3
Views: 614

For loop in a label not working!

Hello, I created a list of different arrows ($ fightArrowActive = ["arrow_up_active", "arrow_right_active", "arrow_down_active", "arrow_left_active"]). I want to display several different arrows. I have 2 random variables. one decides how many arrows to be dis...
by Yuvan raj
Mon May 03, 2021 2:25 am
Forum: Ren'Py Questions and Announcements
Topic: Being a DIK - brawler type minigame(using arrows to fight) (Very Simple version) code not working, Help!
Replies: 2
Views: 886

Re: Being a DIK - brawler type minigame(using arrows to fight) (Very Simple version) code not working, Help!

Andredron wrote: Wed Apr 28, 2021 5:14 pm 9 post

viewtopic.php?p=488400#p488400
Thank you so much for the reply. Though the game doesn't feel like it uses keys. I playing it using the mouse and key presses didn't do anything
.
by Yuvan raj
Mon May 03, 2021 1:36 am
Forum: Ren'Py Questions and Announcements
Topic: How to change an Image variable in the middle of label?
Replies: 3
Views: 803

Re: How to change an Image variable in the middle of label?

The circle is red 'cause image declaration code runs before the game starts and it doesn't matter where you put this code. The last line in your code is image circle = "red_circle" Try to use ConditionSwitch to make image change depend of variable's value. https://www.renpy.org/doc/html/d...
by Yuvan raj
Sun May 02, 2021 1:39 am
Forum: Ren'Py Questions and Announcements
Topic: How to change an Image variable in the middle of label?
Replies: 3
Views: 803

How to change an Image variable in the middle of label?

Hello, i'm trying to create a game where an image is shown first on the screen, then the player has to select the arrow keys to change the image colour that is assigned for each arrow keys. But I don't know how to declare the image variable. I somehow made i work yesterday but now, I'ts not working....
by Yuvan raj
Wed Apr 28, 2021 12:14 pm
Forum: Ren'Py Questions and Announcements
Topic: Being a DIK - brawler type minigame(using arrows to fight) (Very Simple version) code not working, Help!
Replies: 2
Views: 886

Being a DIK - brawler type minigame(using arrows to fight) (Very Simple version) code not working, Help!

Hello, I'm trying to create a minigame which is similar to Brawler minigame from an adult visual novel called "Being a DIK". If you don't know how the game works, it is simply a boxing game in which you are shown a series of arrows like this https://i.imgur.com/qAtTGzr.png then you must pr...
by Yuvan raj
Tue Feb 23, 2021 12:33 am
Forum: Ren'Py Questions and Announcements
Topic: Changing the opacity of the Dialogue box with a Slider
Replies: 8
Views: 3038

Re: Changing the opacity of the Dialogue box with a Slider

cheonbyeol wrote: Mon Feb 22, 2021 4:34 pm My first guess is that you define the variable rather than defaulting it, so Ren'Py is not updating it
Thank you so much for the reply! Both works I but it won't become fully transparent so I didn't notice it before.