Search found 1909 matches

by philat
Fri Apr 12, 2024 9:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Variable Layered Image/Composite Within an Item Definition
Replies: 5
Views: 141

Re: Variable Layered Image/Composite Within an Item Definition

Eh... I mean, that's a data structure question and basically only you can decide, but if you don't want to change the static item definitions, you could just have a list/dictionary in the screen to keep track (i.e., toppings = {0:[True, False], 1:[False, False]} etc. with True/False switches for eac...
by philat
Fri Apr 12, 2024 8:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Variable Layered Image/Composite Within an Item Definition
Replies: 5
Views: 141

Re: Variable Layered Image/Composite Within an Item Definition

Probably simplest route would be to use a ConditionSwitch or LayeredImage with conditions for the toppings in place of the LiveComposite.
by philat
Fri Apr 12, 2024 8:31 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Accessing the content of say statement inside character callback?
Replies: 2
Views: 126

Re: Accessing the content of say statement inside character callback?

Merely linking because I remember seeing this discussion but did not actually try any of it: viewtopic.php?p=558474
by philat
Thu Apr 11, 2024 2:48 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved!] Name Generator generating twice?
Replies: 5
Views: 223

Re: Name Generator generating twice?

The whole thing seems wildly overengineered, tbh. define mc = DynamicCharacter("mc_name") default names = ["Eisley","Romi","Arianwen","Elvira","Belphoebe","Etol","Aralueni","Morag","Ottoline","Ve...
by philat
Wed Apr 10, 2024 8:08 pm
Forum: Ren'Py Questions and Announcements
Topic: Can't Continue Gameplay After a Screen Closes
Replies: 1
Views: 126

Re: Can't Continue Gameplay After a Screen Closes

Use Return() instead of Hide().
by philat
Wed Apr 10, 2024 8:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Screen parameters not clearing properly
Replies: 2
Views: 90

Re: Screen parameters not clearing properly

https://www.renpy.org/doc/html/screens.html

More documentation on what Ocelot says above. More specifically, anything you want to happen in a screen should be a ScreenAction (e.g., SetVariable rather than directly manipulating a variable).
by philat
Mon Apr 08, 2024 11:48 pm
Forum: Ren'Py Questions and Announcements
Topic: Help on animated counter
Replies: 4
Views: 237

Re: Help on animated counter

Nope. It works.
by philat
Sun Apr 07, 2024 9:44 pm
Forum: Ren'Py Questions and Announcements
Topic: Alternative display format
Replies: 3
Views: 180

Re: Alternative display format

Doesn't auto advance already do this?
by philat
Sun Apr 07, 2024 9:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Help on animated counter
Replies: 4
Views: 237

Re: Help on animated counter

Doesn't look like that would run (for instance, there's no screen variable tickets) but I assume it's down to editing for posting. In any case, here's a simple running counter. default tickets = 0 label start: "Start" $ tickets += 50 show screen running_counter(tickets, 50) pause hide scre...
by philat
Thu Mar 28, 2024 12:25 am
Forum: Ren'Py Questions and Announcements
Topic: Tooltip on mouse cursor and custom UI?
Replies: 3
Views: 187

Re: Tooltip on mouse cursor and custom UI?

Last I checked this still works - or at least should provide guidance towards getting where you want. viewtopic.php?t=47205
by philat
Wed Mar 27, 2024 10:01 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Dialogue that differs from a menu choice
Replies: 4
Views: 214

Re: [SOLVED] Dialogue that differs from a menu choice

It's all good, everyone's new at one point. Good luck with your game.
by philat
Wed Mar 27, 2024 10:00 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Having problems with classes, trying to create turn based combat with random enemies
Replies: 6
Views: 265

Re: Having problems with classes, trying to create turn based combat with random enemies

Honestly, I would simply put the game down and go study a python OOP course. Barring that, at least another working example. (e.g., viewtopic.php?t=59747 )
by philat
Mon Mar 25, 2024 10:31 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Dialogue that differs from a menu choice
Replies: 4
Views: 214

Re: Dialogue that differs from a menu choice

From what I've learned thus far (admittedly not much), the default behavior seems to have the player simply say what the option says verbatim. Not really. In the example in the documentation, "Drink coffee" is the text displayed as a choice. "I drink the coffee, and it's good to the ...
by philat
Fri Mar 22, 2024 7:19 am
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py or Adventure Game Studio for Point-and-Click/VN Hybrid?
Replies: 2
Views: 178

Re: Ren'Py or Adventure Game Studio for Point-and-Click/VN Hybrid?

1. Branching dialogue trees, with the ability to remove options once read, return to previous topics, and have in-game variables dependent upon choices made. 2. Objects in the background/room that can be hidden or shown on command (e.g., character images which would transition to the dialogue view ...
by philat
Sun Mar 03, 2024 7:46 pm
Forum: Ren'Py Questions and Announcements
Topic: I fail at forcing Ren'Py to save the changes in a screen (mid-interaction)
Replies: 7
Views: 304

Re: I fail at forcing Ren'Py to save the changes in a screen (mid-interaction)

First of all, none of that should be in a screen - screens run multiple times for prediction and that will break horrendously. I don't understand what you're trying to do based on your post (in an X/Y Problem sort of way). Can you explain, simply, what you are trying to do? What is the relation betw...