Search found 8 matches

by valery_iwanofu
Sun Nov 20, 2022 9:43 am
Forum: Ren'Py Cookbook
Topic: Description for hovered word
Replies: 1
Views: 921

Description for hovered word

Screenshots: https://github.com/valery-iwanofu/renpy-word-description/raw/master/github-screenshots/long_word.jpg https://github.com/valery-iwanofu/renpy-word-description/raw/master/github-screenshots/tall_word.jpg https://github.com/valery-iwanofu/renpy-word-description/raw/master/github-screensho...
by valery_iwanofu
Wed Sep 07, 2022 8:41 am
Forum: Ren'Py Questions and Announcements
Topic: Override build pattern
Replies: 1
Views: 379

Override build pattern

I want to include dll into to desktop build, but unfortunately, *.dll pattern is hardcoded in 00build.rpy and build.classify('*.dll', 'windows') not working. For now, i have written simple script which can delete pattern from early_base_patterns, but maybe there is a cleaner way to replace build pat...
by valery_iwanofu
Tue Apr 26, 2022 11:19 am
Forum: Ren'Py Questions and Announcements
Topic: Inventory items stackable
Replies: 1
Views: 388

Re: Inventory items stackable

The idea is pretty simple - instead of keep items in list, you can create ItemStack class and group same items in it Here is the code from my project, but feel free to use or adapt it: init python: registered_items = {} def find_item(id): return registered_items[id] class Item: def __init__(self, id...
by valery_iwanofu
Tue Mar 15, 2022 3:19 am
Forum: Ren'Py Cookbook
Topic: HSV color picker
Replies: 0
Views: 2311

HSV color picker

Image

Links:
Github

Usage:

Code: Select all

default color = Color(rgb=(.33, .0, .33))
screen test_color_picker:
    use color_picker(
        VariableSimpleValue('color')
    )
by valery_iwanofu
Tue May 18, 2021 3:37 am
Forum: Ren'Py Questions and Announcements
Topic: Image performance with extra transparent area
Replies: 1
Views: 715

Image performance with extra transparent area

I'm making an ADV game and I have a couple of questions about images with extra transparent area. I'm trying to make interactive objects using the screen system and I found the following options to implement this: imagebutton with focus_mask and screen size image imagebutton: idle 'images/objects/Do...