Search found 111 matches
- Wed Dec 26, 2018 4:17 pm
- Forum: Ren'Py Cookbook
- Topic: Encyclopaedia / Bestiary Framework
- Replies: 118
- Views: 55255
Re: Encyclopaedia / Bestiary Framework
Hi, I have a few questions 1) Can I use the hyperlink to jump from one entry to another? Like for example "George Washington is the President of the USA", and the the "USA" is a hyperlink to another entry about USA. 2) Can the entry buttons in the index show more than one line? ...
- Sun Dec 16, 2018 4:42 pm
- Forum: Ren'Py Cookbook
- Topic: Encyclopaedia / Bestiary Framework
- Replies: 118
- Views: 55255
Re: Encyclopaedia / Bestiary Framework
Incidentally, I implemented natural sorting in this framework–-the biggest thing is ignoring the/a/an at the start of a string, so e.g. "The Beatles" subject would be sorted as if it starts with B, not T. Shall I do a pull request on github or something similar? PRs are welcome. Just make...
- Sun Oct 28, 2018 10:44 pm
- Forum: Ren'Py Cookbook
- Topic: Alternate Quick/Auto Load/Save screen
- Replies: 0
- Views: 1151
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: 118
- Views: 55255
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...
- Tue Oct 09, 2018 10:59 pm
- Forum: Ren'Py Cookbook
- Topic: [CODE] Glossary Screen Implementation
- Replies: 16
- Views: 8253
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 T...
- Sun Oct 07, 2018 1:15 pm
- Forum: Ren'Py Cookbook
- Topic: [CODE] Glossary Screen Implementation
- Replies: 16
- Views: 8253
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: 118
- Views: 55255
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: 118
- Views: 55255
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 nee...
- Wed Aug 22, 2018 10:27 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Drawing in Ren'Py
- Replies: 30
- Views: 8758
- Mon Aug 20, 2018 11:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Drawing in Ren'Py
- Replies: 30
- Views: 8758
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: 30
- Views: 8758
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: 118
- Views: 55255
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: 118
- Views: 55255
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: 118
- Views: 55255
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: 118
- Views: 55255
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?