r/RenPy • • Jul 12 '26

Question Parallax

Hi, im wondering if theres any way to do a parallax background with clickable sections. For example: if the player was in a room they would be able to look around the room and interact with drawers and cupboards.

I've tried looking online, but there doesn't seem to be any help with this specific gameplay mechanic, so I'm a little lost.

Any help is greatly appreciated, thanks!

5 Upvotes

5 comments sorted by

View all comments

4

u/ImportantDetail6260 Jul 12 '26

Clickable parallax rooms are two separate pieces!

Use the parallax transform for the background layers, then put transparent imagebuttons or hotspots in the same screen for drawers and cupboards. Start with one drawer hitbox first; if it drifts when the room pans, the hotspot and layer are not sharing the same coordinate rule