Search found 831 matches

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

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

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

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

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 the game, and "creator" the one that's doi...
by gas
Tue Feb 16, 2021 9:47 pm
Forum: Ren'Py Questions and Announcements
Topic: What is an "interaction"?
Replies: 13
Views: 533

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" could have ...
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: 222

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

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

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

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

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

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...
by gas
Mon Dec 28, 2020 4:10 am
Forum: Ren'Py Questions and Announcements
Topic: Protect files from unpackers
Replies: 10
Views: 1048

Re: Protect files from unpackers

In my opinion, honestly, it would be better, instead of raping your brains over a plan to protect God knows what, it would be better to take up additional chips that will decorate your project. I would take an example from the developers of the witcher, minecraft, this war of mine - yes, we do not ...
by gas
Mon Dec 28, 2020 12:49 am
Forum: Ren'Py Questions and Announcements
Topic: Need help with the code for mini game Battle
Replies: 6
Views: 482

Re: Need help with the code for mini game Battle

All right. 24hr starting... now :).
EDIT: PM sent.
by gas
Sun Dec 27, 2020 11:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Need help with the code for mini game Battle
Replies: 6
Views: 482

Re: Need help with the code for mini game Battle

You should consider, for a better implementation and speeding up people workflow, to send the actual exported pictures you want to use. Not everyone can freely open and manipulate .psd.
by gas
Sun Dec 27, 2020 9:51 pm
Forum: Ren'Py Questions and Announcements
Topic: Python code item and Load/Save bug
Replies: 9
Views: 535

Re: Python code item and Load/Save bug

When you create objects, use a 'default' statement instead of the init space. default player = Player("Derp", 100, 50) This simple change make the objects parsed by the save system. That's true for whatever object (like list of items and so on) you're planning to use. And that's all. As for doubling...