Search found 109 matches
- Wed Jul 04, 2018 11:03 pm
- Forum: Development of Ren'Py
- Topic: RPMT
- Replies: 7
- Views: 1789
Re: RPMT
A package manager would be a fairly large amount of work. While it would be interesting to download packages and be able to manage versions, I don't see enough people making and updatings add-ons to make it really necessary. As far as imports or a specific plugin system, it's largely unnecessary due...
- Sun May 27, 2018 5:52 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Opening the Save screen from a prompt
- Replies: 1
- Views: 694
Opening the Save screen from a prompt
I'd like to implement a prompt asking the player if they want to save. Using ShowMenu("save") as the Yes action hasn't worked. The save occurs with the prompt still present. Loading essentially traps the player at the prompt. Alternatively, I've tried to have the Yes action send the player to anothe...
- Fri May 11, 2018 8:37 pm
- Forum: Ren'Py Cookbook
- Topic: Another Rock Paper Scissors game
- Replies: 4
- Views: 2834
Re: Another Rock Paper Scissors game
You can simplify the decision checks by replacing the nested if statements with dictionaries. This will also make it easier to implement more options (Rock, paper, scissors, lizard, spock, etc) The following is untested, but should give you the general idea: label results: rock_vs = { "rock": "tie",...
- Sat Apr 07, 2018 5:52 pm
- Forum: Ren'Py Cookbook
- Topic: Shooter / Shmup / Shoot 'em Up prototype
- Replies: 1
- Views: 2460
Shooter / Shmup / Shoot 'em Up prototype
Attached is a demo for a shooter style plugin which I currently don't have time to work on. Use it however you please. The source code is available at: https://github.com/jsfehler/renpy-shooter This prototype covers movement, weapons, an example of an enemy, enemy groups, and very basic overlap dete...
- Sun Mar 11, 2018 10:44 pm
- Forum: Ren'Py Cookbook
- Topic: Encyclopaedia / Bestiary Framework
- Replies: 112
- Views: 37196
Re: Encyclopaedia / Bestiary Framework
I can't reproduce this with a fresh project on 6.99.14.1. Have you made any customizations to the default gui.rpy file? Can you provide a minimum example game where the error occurs? Just tried to install this, but I got this error: I'm sorry, but an uncaught exception occurred. While running game c...
- Sun Dec 24, 2017 1:18 pm
- Forum: Ren'Py Cookbook
- Topic: A Tooltip whose x/y position follows the mouse's.
- Replies: 10
- Views: 5478
A Tooltip whose x/y position follows the mouse's.
Download files and demo files at: https://github.com/jsfehler/renpy-mouse-tooltip/ Basic Usage A MouseTooltip can be created with any type of Displayable as the default value. It can then be placed onto a screen using the add statement. Like a normal Tooltip, changing the value is done through the A...
- Sun Dec 10, 2017 10:11 am
- Forum: Ren'Py Cookbook
- Topic: Encyclopaedia / Bestiary Framework
- Replies: 112
- Views: 37196
Re: Encyclopaedia / Bestiary Framework
Thank you so much for this framework! I'm not sure if you've seen this already, or whether it can help you adjust the framework, but PyTom recently made a post about making a Codex/Wiki screen using Ren'Py's new GUI. The tutorial and coding can be found here. There's no plans for Wiki-esque links i...
- Sun Dec 03, 2017 9:43 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Displaying content of a RevertableSet()
- Replies: 13
- Views: 4905
Re: Displaying content of a RevertableSet()
Python has variable dumps. I showed you dir(), there's also vars(), globals(), and locals().
You can also easily create a container with named keys:
https://pymotw.com/2/collections/namedtuple.html
You can also easily create a container with named keys:
https://pymotw.com/2/collections/namedtuple.html
- Sun Dec 03, 2017 5:59 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Displaying content of a RevertableSet()
- Replies: 13
- Views: 4905
Re: Displaying content of a RevertableSet()
You say you want the items as they are in the list, and that's exactly what you're getting. What your desired data format shows isn't the items in the list. It shows 2 attributes of every Item instance in the backpack set, inside a nested list. In that case, what you want is something like: item_lis...
- Sun Dec 03, 2017 5:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Displaying content of a RevertableSet()
- Replies: 13
- Views: 4905
Re: Displaying content of a RevertableSet()
What you're seeing is a complete print out of what's in the set you called "backpack".
It's showing you the Item objects in your set. So it already works.
Is there a particular piece of information you're looking for?
It's showing you the Item objects in your set. So it already works.
Is there a particular piece of information you're looking for?
- Sun Dec 03, 2017 12:49 am
- Forum: Ren'Py Questions and Announcements
- Topic: [solved] invalid syntax for style properties in live composite
- Replies: 2
- Views: 606
Re: invalid syntax for style properties in live composite
yanchor 1.0 isn't valid syntax, you want something like yanchor=1.0. https://github.com/renpy/renpy/blob/7f2b53ec9acb314900fa2c62289058ea7703b946/renpy/display/layout.py#L255 The documentation is a bit vague and doesn't describe exactly what **properties should be, but if I had to guess I'd say it s...
- Sat Nov 25, 2017 9:14 pm
- Forum: Ren'Py Cookbook
- Topic: Encyclopaedia / Bestiary Framework
- Replies: 112
- Views: 37196
Re: Encyclopaedia / Bestiary Framework
In response to a lot of the difficulties people were having, I've been working on a version 2 of the Encyclopaedia Framework. I've kept most of the core concepts similar, but this is a hard break for quite a bit of the behaviour. Overall, it should be much more user-friendly and easier to customize....
- Thu Nov 23, 2017 9:26 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Stopping Python functions from "recalculating" in rollback-replays.
- Replies: 7
- Views: 630
Re: Stopping Python functions from "recalculating" in rollback-replays.
As Errilhl suggested, you should be using:
https://www.renpy.org/doc/html/other.html#renpy-random
Which is a rollback safe implementation of python's random module.
https://www.renpy.org/doc/html/other.html#renpy-random
Which is a rollback safe implementation of python's random module.
- Mon Nov 20, 2017 10:54 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [solved] SideImage... seriously, how can this be so complicated?
- Replies: 7
- Views: 672
Re: [solved] SideImage... seriously, how can this be so complicated?
The documentation has a 100% working example. Of course, you need to provide your own images. If you feel the documentation did not describe Side Images in a way you found understandable, I encourage you to edit the docs with your own description and submit it as a Pull Request. Or, if you're less c...
- Thu Nov 16, 2017 11:15 pm
- Forum: Development of Ren'Py
- Topic: Using Ren'Py, and frustrations... which might be possible to fix?
- Replies: 5
- Views: 1005
Re: Using Ren'Py, and frustrations... which might be possible to fix?
I can try to address these points, but to be honest this doesn't seem like very constructive criticism at the moment. 1. What do you mean by markup, specifically? Is there a specific syntax you're looking for? What would you want to see implemented? What does the before and after look like? 2. Can y...