Search found 899 matches

by Kia
Tue May 05, 2020 4:27 pm
Forum: Ren'Py Questions and Announcements
Topic: How does ATL Circular Motion works?
Replies: 3
Views: 224

Re: How does ATL Circular Motion works?

well, I haven't found an easy fix, but I'm a programmer, I'm sure I can make a function or something to calculate the value
by Kia
Tue Apr 28, 2020 7:46 am
Forum: Ren'Py Questions and Announcements
Topic: How does ATL Circular Motion works?
Replies: 3
Views: 224

How does ATL Circular Motion works?

I have a rotation that have either 0, 90, 180 or 270 rotation: transform pipes_rotate(r): rotate_pad False ease .2 rotate r when it circles back to 0 it rotates backwards to 0, I'm wondering if this: https://www.renpy.org/doc/html/atl.html#circular-motion can help me achieve a full rotation instead?...
by Kia
Mon Apr 06, 2020 3:25 am
Forum: Ren'Py Questions and Announcements
Topic: can you test if this is a bug or just my PC please?
Replies: 3
Views: 187

Re: can you test if this is a bug or just my PC please?

I don't get any change on mouse hover either. thank you ^^ Not sure what you were aiming for tbh You could try using the If() action rather than the inline conditional just wanted to make sure this problem isn't from my computer, I handle these cases inside functions. but thanks for checking and su...
by Kia
Sun Apr 05, 2020 5:56 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] A way to advance through the scenes playing a minigame?
Replies: 4
Views: 170

Re: A way to advance through the scenes playing a minigame?

easy, put something like this inside your minigame

Code: Select all

modal True
timer .5 repeat True action If(points > 100, Return())
a return inside a modal screen does the same thing as if the player have clicked
by Kia
Sun Apr 05, 2020 5:17 am
Forum: Ren'Py Questions and Announcements
Topic: can you test if this is a bug or just my PC please?
Replies: 3
Views: 187

can you test if this is a bug or just my PC please?

I've found that using another screen as template for buttons mixed with conditional action will disable the action whether the condition is True or False. screen scr222: frame: background "#fff4" text "123" screen scr122: default tsts = 1 button: background None hover_background "#333" use scr222 if...
by Kia
Mon Mar 30, 2020 12:22 pm
Forum: We are a Free Project looking for Partners
Topic: Looking for... anything! Really, anything! (Please read!)
Replies: 8
Views: 603

Re: Looking for... anything! Really, anything! (Please read!)

You can always pay through cryptocurrencies like bitcoin, they allow you to pay anyone anywhere in the world. And those whom accept usually provide very cheap labor.
by Kia
Fri Mar 27, 2020 2:44 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Preventing one specific object of a list from showing
Replies: 8
Views: 167

Re: [Solved] Preventing one specific object of a list from showing

just to be clear "pass" is usually used with "else"

Code: Select all

        if obj == ignored_obj:
            pass
	else:
		do something
I should've spent few more second to write that part in my first answer. sorry
by Kia
Fri Mar 27, 2020 11:33 am
Forum: Ren'Py Questions and Announcements
Topic: I want screens with the same tag to show at the same time
Replies: 4
Views: 196

Re: I want screens with the same tag to show at the same time

You can't, that's exactly the purpose of taged screens: To replace the screens with the same time
You can have multiple buttons on the same screen instead

Code: Select all

screen items_screen(items):
	for i in items:
		frame:
		xalign i.x yalign i.y
		imagebutton:
			idle i.idle
			action i.act
by Kia
Fri Mar 27, 2020 11:25 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Preventing one specific object of a list from showing
Replies: 8
Views: 167

Re: Preventing one specific object of a list from showing

pass should do the job

Code: Select all

        if obj == ignored_obj:
            pass
by Kia
Tue Mar 17, 2020 1:46 am
Forum: Ren'Py Questions and Announcements
Topic: aligning a box to the right on a screen
Replies: 1
Views: 190

Re: aligning a box to the right on a screen

put your xalign on the top container: screen chat_message_received(msg="", nick=None, avatar=None, photo=None): hbox: xalign 1.0 frame: background "#8CFF6A" vbox: text nick color "#000000" size 35 xalign 1.0 text msg color "#000000" size 27 xalign 1.0 xmaximum 385 add avatar
by Kia
Mon Mar 02, 2020 2:33 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Unlocking Gallery image.
Replies: 1
Views: 308

Re: Unlocking Gallery image.

it should be easy to add a new method to the class to unlock an image if you define the image before appending it def unlock(self): self.is_locked = False you can also use my gallery, it gives you full control over locking and unlocking if you're willing to write a line every time an image is unlock...
by Kia
Mon Mar 02, 2020 2:21 am
Forum: Ren'Py Questions and Announcements
Topic: LayeredImage / ConditionSwitch in menu (screen language)
Replies: 1
Views: 271

Re: LayeredImage / ConditionSwitch in menu (screen language)

it should be simple and doesn't need a layered image, not in a screen.

Code: Select all

default img = "shirt"
add "{}.png".format(img)
button:
    text "next"
    action SetScreenVariable("img", "pants")
you can expand the code to loop through a list and return an item, the result should be the same
by Kia
Mon Mar 02, 2020 2:16 am
Forum: Ren'Py Questions and Announcements
Topic: Define, Default, Classes, Lists
Replies: 2
Views: 246

Re: Define, Default, Classes, Lists

you can't use a 'default' in a 'define'. if I'm not mistaking, 'defined' variables are assigned when the game is launched and 'default' variables are assigned when a new game is started. one simply comes before the other. you can re assign your values right after the start label if you want them to ...
by Kia
Mon Mar 02, 2020 2:00 am
Forum: Ren'Py Questions and Announcements
Topic: Having the namebox next to the textbox and resize and change the position of the textbox (Solved)
Replies: 2
Views: 190

Re: Having the namebox next to the textbox and resize and change the position of the textbox

the simple solution is using an hbox hbox: if who is not None: text who id "who" text what id "what" this of course leaves the space under the name unusable. for a harder solution you can use string formatting but you'll lose the option to change the text style of the name and dialogue.
by Kia
Wed Feb 26, 2020 7:59 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] LayeredImage - get list of currently shown attributes
Replies: 6
Views: 244

Re: LayeredImage - get list of currently shown attributes

it's the same thing, either you give the information to an layered image then extracting it or accessing it directly, you're reading the same data