Search found 1912 matches
- Thu Apr 25, 2024 1:34 am
- Forum: Ren'Py Questions and Announcements
- Topic: Should I be using imagemaps or imagebutton for an interactive flowchart (zooming, mouse navigation, etc)
- Replies: 3
- Views: 135
Re: Should I be using imagemaps or imagebutton for an interactive flowchart (zooming, mouse navigation, etc)
Note that I am not particularly offering advice on how to best approach this, because that's a complicated question that I am ill equipped to deal with without your assets or your design goals. Simply to answer your specific question: the way you do it now the hotspots would be in a different place,...
- Thu Apr 25, 2024 1:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: Vbox in screen seems to... move around? [SOLVED!]
- Replies: 2
- Views: 108
Re: Vbox in screen seems to... move around?
If box size is not specified, a box is only as large as it needs to be - i.e., the size of the largest child. While there are many ways to approach organizing your screen, the path of least change for now is probably to specify the xsize of your vbox.
- Tue Apr 23, 2024 12:03 am
- Forum: Ren'Py Questions and Announcements
- Topic: Using imagemaps to create a flowchart, hotspots not working
- Replies: 2
- Views: 164
Re: Using imagemaps to create a flowchart, hotspots not working
A hotspot needs an action to be hoverable (use NullAction() as a placeholder if need be). You also wouldn't be able to see whether your hotspot is since your idle and hover images are the same. imagemap: ground "flowchart_repaired_no_true" idle Solid("#FF09", xysize=(config.scree...
- 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: 224
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...
- 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: 224
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.
- 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: 182
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
- Thu Apr 11, 2024 2:48 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved!] Name Generator generating twice?
- Replies: 5
- Views: 272
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...
- 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: 147
Re: Can't Continue Gameplay After a Screen Closes
Use Return() instead of Hide().
- Wed Apr 10, 2024 8:07 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Screen parameters not clearing properly
- Replies: 2
- Views: 119
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).
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).
- Mon Apr 08, 2024 11:48 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Help on animated counter
- Replies: 4
- Views: 259
Re: Help on animated counter
Nope. It works.
- Sun Apr 07, 2024 9:44 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Alternative display format
- Replies: 3
- Views: 202
Re: Alternative display format
Doesn't auto advance already do this?
- Sun Apr 07, 2024 9:42 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Help on animated counter
- Replies: 4
- Views: 259
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...
- Thu Mar 28, 2024 12:25 am
- Forum: Ren'Py Questions and Announcements
- Topic: Tooltip on mouse cursor and custom UI?
- Replies: 3
- Views: 215
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
- 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: 237
Re: [SOLVED] Dialogue that differs from a menu choice
It's all good, everyone's new at one point. Good luck with your game.
- 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: 278
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 )