Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Point'n'Click Plug-In for Ren'Py

Framework for adding interactable point'n'click elements into Ren'Py games · By Devil Spiδεr

Cool plugin but help?

A topic by Dragonheart4444 created Jul 21, 2024 Views: 139 Replies: 2
Viewing posts 1 to 2

I tried to put it into a test script and jump to the page by adding a label, and jumping works, but then when my game tries to load the unchanged file, it says "NameError: name 'None_buttons' is not defined" Any ideas? 

Developer

The reason why it throws an error is because the current_room variable is set to None and that there’s no list of buttons called None_buttons

To be a little technical, the plugin tries to load buttons by looking at the current_room variable, adds _buttons to its value and tries to load the string result as a variable.

If you have a list of buttons (in the correct format) that ends in _buttons (ie. bedroom_buttons), the current_room variable must be updated to “bedroom” before jumping into the pnc_loop label.

Thanks for the help. I couldn't figure out how I broke it so I just put in the files anew and it's fine. If I have the issue again I can refer back to here though. Awesome plugin, thanks!