Skip to main content

On Sale: GamesAssetsToolsTabletopComics
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

Imagebuttons instead of labels?

A topic by CANDY STRIPE created 1 day ago Views: 9 Replies: 2
Viewing posts 1 to 2

Hi, I really love your plugin and plan to use it! I was wondering though, specifically with this bit of code

define left_buttons = [
    (("look"),(530, 430),"left_frame", None),
    (("look"),(1140, 550),"left_door", None),
    (("move"),(1140, 650),"escape", "pnc_flags.get('door_unlocked') == True"), # Condition. The way it's written ensures that the game doesn't throw an error if the "door_unlocked" key isn't in the dictionary
    (("move"),(1720, 540),"to_right", None),
]
define right_buttons = [
    (("look"),(1390, 430), "right_frame", None),
    (("move"),(200, 540), "to_left", None),
]

Is there a way for these to be imagebuttons instead of text with a frame? 

Thank you!

Developer

The example files is a bit misleading, I admit, because it indeed uses image buttons, which I styled to look like text within a frame. The framework looks for image files located in the

gui/pnc/

folder.

I dont know how I missed that! Thank you haha