Search found 835 matches

by gas
Fri Feb 16, 2024 5:10 pm
Forum: Ren'Py Questions and Announcements
Topic: limit nvl window to top half of the screen?
Replies: 1
Views: 138

Re: limit nvl window to top half of the screen?

The NVL format follow industry standards, so it's up to the coder to fit whatever text in the window.
You can reduce the size of the NVL window, but your extra text will be lost anyway just beyond it.
So, the easier solution: write less text (or reduce it in size by a tag for that sentence).
by gas
Fri Feb 16, 2024 4:58 pm
Forum: Ren'Py Questions and Announcements
Topic: Parameter 'old_widget' is not known by ATL Transform. | Problem with fade transition?
Replies: 2
Views: 176

Re: Parameter 'old_widget' is not known by ATL Transform. | Problem with fade transition?

As above. To correctly read the error log, read the full traceback backward. Renpy report the exception, then what operation was trying to complete, then the context, from bottom to top. In both examples, it halted while processing a 'with fade' statement (due how the code is executed, sometime the ...
by gas
Fri Feb 16, 2024 4:34 pm
Forum: Ren'Py Questions and Announcements
Topic: Utilizing the MultipleTransition properly
Replies: 1
Views: 228

Re: Utilizing the MultipleTransition properly

You're messing up tags a bit, so the entire thing look too complex for such an easy task. show char mark animated neutral serious show char mark animated neutral smirk As this part repeat quite often, abstract it. show mark serious show mark smirk Now, with a simple 'hide mark' you hide whatever. Th...
by gas
Fri Feb 16, 2024 3:25 pm
Forum: Ren'Py Questions and Announcements
Topic: Submenu based on object array
Replies: 1
Views: 133

Re: Submenu based on object array

Write a screen on purpose. All your issues will be gone. Menu are made for standard VNL branching, and quite limited. Pseudocode: screen whatever(): vbox: for x in listEnemies: $ name = x.name textbutton "[name]" action Return(x) In your script call screen whatever $ goon = _return now &qu...
by gas
Wed Feb 17, 2021 1:08 pm
Forum: Ren'Py Questions and Announcements
Topic: Calling the label on all screens
Replies: 2
Views: 393

Re: Calling the label on all screens

I have a variable label, basically these variables control some aspects within my game. I have a loop that performs an event check, and before the loop I execute the calling of these variables, however during the game, I need to create new variables and find that I have to restart the whole game so...
by gas
Wed Feb 17, 2021 2:23 am
Forum: Ren'Py Questions and Announcements
Topic: Blur shader is anarchist and don't collaborate
Replies: 0
Views: 526

Blur shader is anarchist and don't collaborate

Ok, my attempt was to replicate an AERO interface, using the blur shader to create the glass effect. The thing is made by blurring an area and then draw on an upper layer the semi-transparent window. This. damned_shaders.jpg The blur effect is quite requited to make the text readable on top of the &...
by gas
Wed Feb 17, 2021 2:01 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Getting hover_color from a style
Replies: 6
Views: 494

Re: Getting hover_color from a style

It SHOULD be style.mybutton.hover_text.color
As mybutton is the father of the style chain "mybutton_whatever".
It's hard to explain.
Not sure, but once it was that way.
by gas
Tue Feb 16, 2021 10:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Two methods of rendering custom displayables
Replies: 4
Views: 594

Re: Two methods of rendering custom displayables

I've seen a lot of references to "UDD" but can't find a definition. Is it the same thing as "Creator-Defined Displayable"? ("User-Defined"?) I dunno why, but is the same thing that changed name thru time. Probably as by "user" someone meant the one playing th...
by gas
Tue Feb 16, 2021 9:47 pm
Forum: Ren'Py Questions and Announcements
Topic: What is an "interaction"?
Replies: 13
Views: 1900

Re: What is an "interaction"?

Hello! To be exactly precise, but just for academic as probably nothing change at your level, the INTERACTION is the time renpy spend to elaborate something between an user input and the next request of an user input. Is not the user interaction, is the Renpy one (so, probably "reaction" c...
by gas
Tue Feb 16, 2021 3:12 am
Forum: Ren'Py Questions and Announcements
Topic: Crop text to fit size of button
Replies: 3
Views: 434

Re: Crop text to fit size of button

The core for textbutton is just a default button, then a text child on top of it. The text layer don't have any binded parameter on size. All style parameters are in fact sent to the button-father, and you have to specifically use a text_ parameter to intervene to the child. And such damned child do...
by gas
Tue Feb 16, 2021 2:43 am
Forum: Ren'Py Questions and Announcements
Topic: Text scrolling/ dialogue sounds, per word
Replies: 31
Views: 7592

Re: Text scrolling/ dialogue sounds, per word

Snek wrote: Sat Feb 13, 2021 11:13 pm Sorry for necro, but I've found this code and sadly, on 7.3.5, it doesn't seem to work well.
You did nothing wrong, but since 2016 stuff changed a lot - now text is tied to voicing and auto-voicing tags and not speaking you can now create your own tags... This code will never work anymore.
by gas
Tue Feb 16, 2021 2:06 am
Forum: Ren'Py Questions and Announcements
Topic: Two methods of rendering custom displayables
Replies: 4
Views: 594

Re: Two methods of rendering custom displayables

The subject is debatable as we must understand the code logic applied by the core designer. To my understanding of the thing, the second was implemented to open for users the chance of having both a generic Displayable that control the behaviour of the object, and a child of it (the rendered image),...
by gas
Tue Feb 16, 2021 1:55 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]imagebutton generators, for whatsapp emulator
Replies: 5
Views: 835

Re: imagebutton generators, for whatsapp emulator

yeah, one of the things that crossed my mind is using classes but i dont have much experience with objects i have used them before but i always get stuck sooner or later, i just prefer avoiding them, ill try with what you said and see what comes up Good luck. Once you get a grasp on the concept, yo...
by gas
Tue Feb 16, 2021 1:08 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]imagebutton generators, for whatsapp emulator
Replies: 5
Views: 835

Re: imagebutton generators, for whatsapp emulator

You must take a breath, take a tea, take a nap, look at Buddha for one hour, look at a cat two hours and then realize the drama. You must use Classes. You don't know how they work? Time to study. They are usefull whatever engine/language you'll ever use. Create all the relative objects and add them ...
by gas
Mon Feb 15, 2021 11:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Attribute Error: 'tuple' object has no attribute 'img' [Solved]
Replies: 2
Views: 497

Re: Attribute Error: 'tuple' object has no attribute 'img'

Is the way you're creating the object that doesn't work. Create the object and then add it to the list. The way you're doing you're not appending an object, but a tuple made of such values (that obviously don't have parameters). default milkshake = giftItem(**params) $ giftList.append(milkshake) Ple...