Search found 109 matches
- Sun Oct 28, 2018 10:44 pm
- Forum: Ren'Py Cookbook
- Topic: Alternate Quick/Auto Load/Save screen
- Replies: 0
- Views: 948
Alternate Quick/Auto Load/Save screen
As seen in the screenshot, this changes the Quick / Auto slots from two pages to one. It overrides the default Load/Save screen, however the behaviour on the normal Load/Save pages is not changed. Inspired by Hitman 2016: http://videogameinterfaces.com/content/ui/io-interactive/hitman/main-menu/hitm...
- Fri Oct 26, 2018 3:50 pm
- Forum: Ren'Py Cookbook
- Topic: Encyclopaedia / Bestiary Framework
- Replies: 112
- Views: 37196
Re: Encyclopaedia / Bestiary Framework
define config.hyperlink_handlers = { "set_entry": set_enc_entry_from_text_anchor, } init -1500 python: def set_enc_entry_from_text_anchor(value): p = value.split('->') enc = getattr(store, p[0]) entry = getattr(store, p[1]) enc.SetEntry(entry)() init python: my_enc = Encyclopaedia() entry_one = Enc...
- Tue Oct 09, 2018 10:59 pm
- Forum: Ren'Py Cookbook
- Topic: [CODE] Glossary Screen Implementation
- Replies: 14
- Views: 3565
Re: [CODE] Glossary Screen Implementation
While you're free to build and use whatever you want, I think everything you need has already been accomplished with the Encylopaedia Framework I developed a while ago: https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=25204 https://renpy-encyclopaedia.readthedocs.io/en/latest/index.html Thank...
- Sun Oct 07, 2018 1:15 pm
- Forum: Ren'Py Cookbook
- Topic: [CODE] Glossary Screen Implementation
- Replies: 14
- Views: 3565
Re: [CODE] Glossary Screen Implementation
While you're free to build and use whatever you want, I think everything you need has already been accomplished with the Encylopaedia Framework I developed a while ago:
viewtopic.php?f=51&t=25204
https://renpy-encyclopaedia.readthedocs ... index.html
viewtopic.php?f=51&t=25204
https://renpy-encyclopaedia.readthedocs ... index.html
- Wed Sep 12, 2018 7:10 am
- Forum: Ren'Py Cookbook
- Topic: Encyclopaedia / Bestiary Framework
- Replies: 112
- Views: 37196
Re: Encyclopaedia / Bestiary Framework
You're creating the encyclopaedia twice. Once in an init block, once in a python block. If the code in the python block isn't inside a label, it won't be run. The entry is inside the python block, and so isn't run either. Thus the encyclopaedia is empty.
- Tue Sep 11, 2018 8:43 am
- Forum: Ren'Py Cookbook
- Topic: Encyclopaedia / Bestiary Framework
- Replies: 112
- Views: 37196
Re: Encyclopaedia / Bestiary Framework
In this case, what you want is: textbutton _("Encyclopedia") action ShowMenu("encyclopaedia_list", your_new_encyclopaedia) After creating entries I tried to make a button to open the Encyplopedia. I inserted the Encyclopedia button at the start menu. The documentation says it needs two arguments, bu...
- Wed Aug 22, 2018 10:27 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Drawing in Ren'Py
- Replies: 29
- Views: 6105
- Mon Aug 20, 2018 11:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Drawing in Ren'Py
- Replies: 29
- Views: 6105
Re: Drawing in Ren'Py
I've added the ability to draw straight lines so that it's easier to draw Gundams. I know how important that is to the kids. Go forth, and draw the polygonal shapes of your dreams.
- Sat Aug 18, 2018 10:24 am
- Forum: Ren'Py Questions and Announcements
- Topic: Drawing in Ren'Py
- Replies: 29
- Views: 6105
Re: Drawing in Ren'Py
Here's an quick example that won't melt your CPU. Won't leave spaces between pixels if you draw quickly, either.
https://github.com/jsfehler/renpy-freehand-draw
https://github.com/jsfehler/renpy-freehand-draw
- Sun Aug 12, 2018 1:40 pm
- Forum: Ren'Py Cookbook
- Topic: Encyclopaedia / Bestiary Framework
- Replies: 112
- Views: 37196
Re: Encyclopaedia / Bestiary Framework
gui.rpy isn't present, this is why you're getting that error. gui.rpy is a default file when creating a new Ren'Py project, so most likely you created the project on an old version of Ren'Py before the new gui was introduced, and haven't updated the project to use the new gui. What happens when you ...
- Sat Aug 11, 2018 8:36 pm
- Forum: Ren'Py Cookbook
- Topic: Encyclopaedia / Bestiary Framework
- Replies: 112
- Views: 37196
Re: Encyclopaedia / Bestiary Framework
I need an actual example game that crashes, all files and directories. I have no other way to reproduce the exact conditions in your environment that lead to the crash.
- Sat Aug 11, 2018 4:59 pm
- Forum: Ren'Py Cookbook
- Topic: Encyclopaedia / Bestiary Framework
- Replies: 112
- Views: 37196
Re: Encyclopaedia / Bestiary Framework
No, I have not made any customization of gui.rpy, I started a brand new project in v.6.99.14 and import files. It gave me errors so I started a new project in v.7.01 and imported the files just to test it and got same errors. Probably is something I am doing wrong, but I can not figure it out. Can ...
- Thu Aug 09, 2018 8:51 pm
- Forum: Ren'Py Cookbook
- Topic: Encyclopaedia / Bestiary Framework
- Replies: 112
- Views: 37196
Re: Encyclopaedia / Bestiary Framework
If you have same error, then I have to ask the same question: Have you made any customizations to the default gui.rpy file?
- Fri Jul 27, 2018 2:03 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Creating a file at a certain moment of the story
- Replies: 3
- Views: 364
Re: [SOLVED]Creating a file at a certain moment of the story
You don't need f.close() at the end. The "with open" statement will close the file at the end of the block.
Should work just fine.
Code: Select all
python:
with open("noteSaveMe.txt", "w") as f:
f.write(" Save me")
- Thu Jul 05, 2018 7:10 pm
- Forum: Development of Ren'Py
- Topic: RPMT
- Replies: 7
- Views: 1789
Re: RPMT
In terms of what makes a good plugin, looking at the cookbook there's generally 3 types of posts: - Tutorials - Code snippets / Examples - Additions / New functionality The difference between an example and new functionality can be vague sometimes, but what seems logical is to define a plugin as an ...