Search found 835 matches

by gas
Thu Dec 17, 2020 1:18 pm
Forum: Ren'Py Questions and Announcements
Topic: How to position an NVL menu?
Replies: 4
Views: 1162

Re: How to position an NVL menu?

You can't set it as the menu can appear inline at any point in the page after previous boxes. So you can't set the vertical alignement. Also, the menu is inside the same vbox that contain lines or a menu (on style sense, it doesn't discriminate between the two types of content). You must change the ...
by gas
Thu Dec 17, 2020 1:02 pm
Forum: Development of Ren'Py
Topic: Possible change?
Replies: 4
Views: 5210

Re: Possible change?

This is one of those things that's a lot more subtle than it appears at first. If I'm understanding what you want... You've totally understood the practical implementations. I think this might make sense, but it's a huge set of changes, and one that I suspect one that doesn't add a lot of value ove...
by gas
Wed Dec 16, 2020 11:49 pm
Forum: Ren'Py Questions and Announcements
Topic: Gradually change image animation speed?
Replies: 4
Views: 1353

Re: Gradually change image animation speed?

You probably want to rotate that fidgetspinner... You should create a function and use the function return as the rotation parameter. https://www.renpy.org/dev-doc/html/atl.html#function-statement Then in your code you can pass a variable to that function to set the rotation speed. Another idea, but...
by gas
Wed Dec 16, 2020 11:37 pm
Forum: Ren'Py Questions and Announcements
Topic: The atl-animation screen is not displayed(without error)
Replies: 1
Views: 392

Re: The atl-animation screen is not displayed(without error)

Probably as the screen is a call, it doesn't have execution time to process two if's and pass to the Return() instead after the first. If(gg.it >= 10, Function(LightAttack.Use, gg, enemy), NullAction()), If(gg.it >= 10, Show("atl_attack", None, enemy)) I think the thing is a bit messy havi...
by gas
Wed Dec 16, 2020 10:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with triggering hotspot event with imagebutton
Replies: 1
Views: 376

Re: Help with triggering hotspot event with imagebutton

Probably to mod something you should first understand how the thing work. The reply is NO, there's no easier way. Renpy is procedural in the script. You cannot inject lines in the procedural execution. Not a Javascript thing, to be precise. The screen is called by a CALL statement, the interaction p...
by gas
Wed Dec 16, 2020 9:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py 7.4.0 Prereleased
Replies: 61
Views: 14415

Re: Ren'Py 7.4.0 Prereleased

It looks like you are missing dll. Try installing missing dll If everything were that simple, this library has been used since Windows Vista and is not supported in 32-bit XP. I have tried several versions with no success. Hey, ME, those geeks want to force the use of such modern, cheap and freak t...
by gas
Mon Dec 07, 2020 3:19 pm
Forum: Ren'Py Questions and Announcements
Topic: How to do a projective transformation/equivalent of CSS matrix3d?
Replies: 8
Views: 662

Re: How to do a projective transformation/equivalent of CSS matrix3d?

I think alpha mask should be intended as focus_mask. https://www.renpy.org/doc/html/style_properties.html#style-property-focus_mask You should pass a displayable/self (but the GPU morphed the pixels later in the pipeline and so goodbye the original alpha channel as focus mask) or a function, to dete...
by gas
Mon Dec 07, 2020 1:57 pm
Forum: Ren'Py Questions and Announcements
Topic: renpy.input for dialogue paths
Replies: 2
Views: 610

Re: renpy.input for dialogue paths

label start: "Where do you want to go?" $ q1 = renpy.input() if q1 == "lab": jump lab "Wrong thing!" return label lab: "You found the secret lab!" Try to compare your code and mine and you'll see a lot of differences. For example, $ is used only when a line c...
by gas
Mon Dec 07, 2020 1:46 pm
Forum: Ren'Py Questions and Announcements
Topic: Problem with loading an image
Replies: 6
Views: 469

Re: Problem with loading an image

As changing the name work, MAYBE a batch app can solve the thing, re-encoding the name reference without changing it and keep the image as it is. I dunno, maybe the reference use a non UTF encoding that make Android unable to parse it. It's just a wild guess, but something I'll try. This if everythi...
by gas
Mon Dec 07, 2020 1:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Inventory system, Yes or No Question [SOLVED]
Replies: 4
Views: 411

Re: Inventory system, Yes or No Question

You must show a screen with parameters. https://www.renpy.org/doc/html/screens.html#screen-statement Instead of using the Confirm: use Show() action to show that screen AND pass the parameters ( inventory, second_inventory, item...) https://www.renpy.org/doc/html/screen_actions.html#Show modal True ...
by gas
Mon Dec 07, 2020 1:05 pm
Forum: Ren'Py Questions and Announcements
Topic: Foreground button image transformation refresh [SOLVED]
Replies: 5
Views: 1154

Re: Foreground button image transformation refresh

I'm not sure, as I'll use another approach (after all, if the arrow don't touch the content, why not simply animate the button itself?), but probably you don't need to set a foreground. A button (not the imagebutton, but 'button') can contain whatever, so more than one reactive image, and one can be...
by gas
Mon Dec 07, 2020 12:53 pm
Forum: Ren'Py Questions and Announcements
Topic: Problem with loading an image
Replies: 6
Views: 469

Re: Problem with loading an image

Activate the hidden extension of your OS. In fact, there's high chances they are not image.jpg but image.jpg.jpg This happen if you MANUALLY set the extensions when you save the image. for example, in GIMP, if you select "export as JPG" the app ALREADY apply ".jpg" and if you'll ...
by gas
Sun Dec 06, 2020 2:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Checking that age of user is legal
Replies: 3
Views: 762

Re: Chcecking that age of user is legal

Not speaking is senseless. You don't have to check if an user is "minor aged" (the concept vary by nation) but you must have the informed consent of the user that he want to continue even if that thing is not for minors. So, if the dad purse you, you can tell the content was behind a conse...
by gas
Sat Dec 05, 2020 8:39 pm
Forum: Ren'Py Questions and Announcements
Topic: define changes and update the default
Replies: 6
Views: 570

Re: define changes and update the default

Sorry, but what exactly force you to use DEFINE?

If the game is not released yet there's no reason to keep define in place of default, that directly solve all of your issues.
by gas
Sat Dec 05, 2020 7:31 pm
Forum: Development of Ren'Py
Topic: Possible change?
Replies: 4
Views: 5210

Re: Possible change?

Hi! Surely there are ways to cheat the engine the way you want. You can also forego the entire main menu. I'm talking the default renpy behaviour and what is able to do out of the box given the standard functions. Anyway, as for your example, the fade belonged to the next interaction. And that's str...