Search found 108 matches

by Human Bolt Diary
Sun Feb 28, 2021 12:56 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Exception: Cannot start an interaction in the middle of an interaction
Replies: 7
Views: 238

Re: Exception: Cannot start an interaction in the middle of an interaction

This approach will never work. Using a while loop inside ren'py to wait for user input is never a good idea. Here's what you do: label roomLoop: "roomLoop before" while True: pause "roomLoop after" Get rid of this completely. Call your gui screen instead of showing it. Then return from the interacti...
by Human Bolt Diary
Sun Feb 14, 2021 12:09 pm
Forum: Completed Games
Topic: Speed Metal Vimana [Free][Action][Comedy][Super Robots]
Replies: 0
Views: 782

Speed Metal Vimana [Free][Action][Comedy][Super Robots]

Pouring rain. Unpaid bills. A clandestine drug war. The order comes in, the car engine roars. The mission starts. Follow freelance mercenaries Mars and Shiva on their latest mission into the depths of the city. Will they survive? Can they survive? Should they survive? The only way to know is to hunk...
by Human Bolt Diary
Mon Aug 10, 2020 4:37 pm
Forum: Ren'Py Questions and Announcements
Topic: Is Digitally Signing EXE Required?
Replies: 10
Views: 488

Re: Is Digitally Signing EXE Required?

Have you tried creating a shortcut to your executable and changing the icon in the shortcut? If that doesn't trigger Windows Defender, it seems like a cheap compromise.
by Human Bolt Diary
Wed Jul 01, 2020 12:23 am
Forum: Ren'Py Cookbook
Topic: Simple Choice logging system
Replies: 4
Views: 790

Re: Simple Choice logging system (don't need to define 1000 variables)

I would advise not to use this. On a surface level, this implementation is just a wrapper over python's list. It does not add or modify any functionality, but anyone using it will be unable to benefit from all the python list tutorials available online. If you really want this sort of implementation...
by Human Bolt Diary
Fri Jan 31, 2020 11:47 pm
Forum: Ren'Py Cookbook
Topic: Encyclopaedia / Bestiary Framework
Replies: 104
Views: 27530

Re: Encyclopaedia / Bestiary Framework

Do you mean switching the screen used by one Encyclopaedia, or switching which Encyclopaedia you're using? Switching the entry screen used by one Encyclopaedia can be done by changing the Encyclopaedia's entry_screen attribute. Changing which encyclopaedia you're sending to the list screen depends e...
by Human Bolt Diary
Tue Jan 28, 2020 12:20 am
Forum: Ren'Py Cookbook
Topic: Encyclopaedia / Bestiary Framework
Replies: 104
Views: 27530

Re: Encyclopaedia / Bestiary Framework

If the entries change too, it sounds like you need two separate Encyclopaedas, each pointing to a different screen. "encyclopaedia_entry" is just a default screen I've included. Any screen that takes an Encyclopaedia as an argument is valid. If only the layout changes, you could probably override th...
by Human Bolt Diary
Mon Jan 20, 2020 1:27 am
Forum: Ren'Py Cookbook
Topic: Encyclopaedia / Bestiary Framework
Replies: 104
Views: 27530

Re: Encyclopaedia / Bestiary Framework

v2.4 of the Encyclopaedia Framework has been released. Download is available at: https://github.com/jsfehler/renpy-encyclopaedia/releases/tag/v2.4 EncEntryTemplate was added in this release. Documentation at: https://renpy-encyclopaedia.readthedocs.io/en/latest/templates.html A small wrapper around ...
by Human Bolt Diary
Mon Jan 20, 2020 1:16 am
Forum: Ren'Py Cookbook
Topic: Encyclopaedia / Bestiary Framework
Replies: 104
Views: 27530

Re: Encyclopaedia / Bestiary Framework

You can't really access variable names in python. You could hack together a solution using the inspect module, but it's not a good idea. The most efficient solution is to reference your entries by their number. Your second best is to add a tag to every entry, like: jupiter = EncEntry( parent=perso, ...
by Human Bolt Diary
Wed Nov 27, 2019 11:59 pm
Forum: Ren'Py Cookbook
Topic: Encyclopaedia / Bestiary Framework
Replies: 104
Views: 27530

Re: Encyclopaedia / Bestiary Framework

Your EncEntry doesn't have a parent Encyclopaedia set.

EncEntry allows a null value for parent, but will then crash. I'll make parent a required argument in the future, since I can't think of a reason you'd want an EncEntry not associated to an Encyclopaedia.
by Human Bolt Diary
Mon Nov 25, 2019 12:29 am
Forum: Ren'Py Cookbook
Topic: Encyclopaedia / Bestiary Framework
Replies: 104
Views: 27530

Re: Encyclopaedia / Bestiary Framework

Your error is: text "{} Complete".format(enc.labels.percentage_unlocked) AttributeError: 'unicode' object has no attribute 'labels' This is telling you that the value you provided to `enc` is text, when it should be an Encyclopaedia. imagebutton: idle "gui/button/button-Encyclopedia.png" hover "gui/...
by Human Bolt Diary
Sat Nov 02, 2019 9:42 am
Forum: Ren'Py Cookbook
Topic: Encyclopaedia / Bestiary Framework
Replies: 104
Views: 27530

Re: Encyclopaedia / Bestiary Framework

Thanks for the update. I am still however having the problem of "Enc has no value" To illiterate I don't need most of the text as I just want a simple list with buttons to read extra text for shit in the game. Like the notes section of a cellphone. If I could find anything else I'd use it but it's ...
by Human Bolt Diary
Sat Nov 02, 2019 9:31 am
Forum: Ren'Py Cookbook
Topic: Encyclopaedia / Bestiary Framework
Replies: 104
Views: 27530

Re: Encyclopaedia / Bestiary Framework

I've released version 2.3. The Encyclopaedia now takes the optional argument `tint_locked_image`. If set to False, EncEntries without a specified locked_image will not use a tinted version of the image, instead just using the image. This is mainly for times when a Displayable is used for the image ...
by Human Bolt Diary
Sun Sep 29, 2019 9:45 pm
Forum: Ren'Py Cookbook
Topic: Encyclopaedia / Bestiary Framework
Replies: 104
Views: 27530

Re: Encyclopaedia / Bestiary Framework

I've released version 2.3. The Encyclopaedia now takes the optional argument `tint_locked_image`. If set to False, EncEntries without a specified locked_image will not use a tinted version of the image, instead just using the image. This is mainly for times when a Displayable is used for the image a...
by Human Bolt Diary
Fri Jun 28, 2019 7:09 am
Forum: Ren'Py Cookbook
Topic: Random Music Generator
Replies: 3
Views: 820

Re: Random Music Generator

No need for all those if statements: # Music notes define notes = [ "images/a4.mp3", "images/a-4.mp3", "images/b4.mp3", "images/c4.mp3", "images/c-4.mp3", "images/d4.mp3", "images/d-4.mp3", "images/e4.mp3", "images/f4.mp3", "images/f-4.mp3", "images/g4.mp3", "images/g-4.mp3", ] # The game starts her...