Most users download it here. Troubleshooting and updates are also handled on Itch.io.
A visual preview editor to help you accurately place images and UI elements on screen in Ren'Py.
This tool allows you to load new images as overlays onto your current scene, making it easy to visualize and adjust their positions without exiting the game.
It's for previewing purposes only;
it doesn't directly alter your code but helps you evaluate asset placement before finalizing your scene.
⚠️ This project is currently in beta and may receive updates based on user feedback.
- Video1 : https://youtu.be/f3nDPWE2CIc
- Video2 : https://youtu.be/MNqknAaeDuE
- ⌨️ Keyboard Shortcuts – Press
Lto open,ESCto close. No reloads needed. - 🛠️ Runs In-Game – Fully integrated into Ren'Py. No external tools required.
- 🖱️ Drag & Track – See real-time coordinates while moving elements.
- 📂 Flexible Loading – Supports both file paths and Ren'Py image objects.
- 🌗 Light/Dark Overlay – Toggle semi-transparent preview background.
- ✨ Image Highlighting – Outlines selected items (with outline shader).
- 🖼️ Multi-Element Support – Add multiple images or UI elements at once.
- 🗑️ Drag to Delete – Remove items by dropping them into the trash bin.
The layout_tool in Ren'Py lets you visually position images or UI elements by dragging them. It temporarily pauses interactions like dialog playback for precise layout adjustments.
- Download or extract the archive.
- Place the
layout-visualizer/folder into yourgame/directory. - Ensure
bin.pngandlayout_tool.rpyare inside this folder.
-
Open the Tool:
- Press
Lduring gameplay to activate,ESCto close. - Adjust UI placement on the semi-transparent preview background.
- Press
-
Add Images:
- Enter an image name or path in the top-right
search barand pressEnter. - Dragging an image displays
real-time coordinates, which can be directly applied to your code. - You can load
images with Ren'Py transform (including animations)applied, ensuring accurate in-game positioning.
- Enter an image name or path in the top-right
-
Remove Images:
- Drag the image to the
trash icon.
- Drag the image to the
If an image is within a container (e.g., frame, vbox, hbox, viewport) or has existing position properties, its final position in the tool might differ due to overlapping layout rules.
To avoid conflicts:
- Remove all position attributes from the image.
- Place the image in a fixed container, which allows absolute positioning without interference.
Example:
screen example_fixed:
fixed:
add "example_image.png" xpos 400 ypos 300In this example, the image will be positioned at xpos 400 and ypos 300 and will not be affected by other layout rules.
🔗 Fen's Outline Shader - itch.io
This tool optionally supports Fen's outline shader. For effects like those in the demo video:
- Download FeniksDev's Outline Shader asset.
- In
layout_tool.rpy, find and uncomment these lines:
# default item_active_trans = glow_outline(12, "#11d427", num_passes=6)
# default item_hover_trans = glow_outline(12, "#f5b5c0", num_passes=3)- If you prefer not to use the outline shader, set them to None:
default item_active_trans = None
default item_hover_trans = NoneIf you later move the layout_tool.rpy file or the bin.png image, update the image path within layout_tool.rpy.
Open the file and check the define bin_img line at the top for the correct path.
- Contributions & Pull Requests: Welcome!
- Issues: Please report any issues. This public version may receive future updates and fixes.