Search found 96 matches

by ChesStrategy
Sat Jan 17, 2015 12:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Conceptual questions regarding Ren'Py engine
Replies: 1
Views: 473

Conceptual questions regarding Ren'Py engine

Hi all, I've been digging through the renpy code on github, and I understand some of it. But I'm hoping someone is willing to fill in some knowledge gaps that I have. Hopefully, this will help me accelerate on my project. Questions 1. I'm partially assuming that renpy has a 'main game loop' like mos...
by ChesStrategy
Fri Jan 16, 2015 7:48 pm
Forum: Ren'Py Questions and Announcements
Topic: Is this feasible? Get list of displayables under mouse
Replies: 3
Views: 468

Re: Is this feasible? Get list of displayables under mouse

Thanks Xela; One more quick question; if two displayables A and B are overlapping each other in Container C in the scenario above; if I click somewhere in the overlap area; how does the click event propagate in renpy to each displayable's event function? C ->B->A, C ->A->B, A->B->C, B->A->C? Or in s...
by ChesStrategy
Fri Jan 16, 2015 4:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Is this feasible? Get list of displayables under mouse
Replies: 3
Views: 468

Is this feasible? Get list of displayables under mouse

Hi all, If I have a container with many displayables inside at arbitrary positions; is there a way to get the list of displayables that whose bounds contain the mouse's current x, y coord? And then in the container's event function (planning on making and CDD or UDD) return the list of displayables ...
by ChesStrategy
Thu Jan 15, 2015 12:35 pm
Forum: Ren'Py Questions and Announcements
Topic: Exception: Drag expects a child
Replies: 5
Views: 844

Re: Exception: Drag expects a child

Xela, I'll take your advice and try using the Drag and Draggroup python classes directly then. Can you direct me to an example within a tutorial, wiki, or here on the forums that uses a displayable with renpy.Render() to create a screen? Or, if I'm misunderstanding how renpy.render() works; does it ...
by ChesStrategy
Wed Jan 14, 2015 9:35 pm
Forum: Ren'Py Questions and Announcements
Topic: Exception: Drag expects a child
Replies: 5
Views: 844

Re: Exception: Drag expects a child

I guess I must be missing something about the creating the drag object. PyTom mentioned in an older post (possibly outdated) that if we use the UI object and create a drag that way (i.e ui.drag() ), we don't need to supply the first argument? Anyways, here was the post I was referring to: http://lem...
by ChesStrategy
Wed Jan 14, 2015 7:16 pm
Forum: Ren'Py Questions and Announcements
Topic: Exception: Drag expects a child
Replies: 5
Views: 844

Exception: Drag expects a child

Hi, new to ren'Py and a beginner on Python. I've followed most of the tutorials and wiki and have been able to get stuff I wanted working. However, I'm still trying to figure out how drag and drop works; preferably sticking with python code instead of the screen language. I've stripped down my code ...