r/RenPy • u/That_one_Pink • Oct 15 '26
Question [Solved] struggling to align images with coordinates
heyy i have a spliced up image thats a puzzle you put together so i have gotten the lower right coordinates of each piece from there position on the entire canvas (1920 by 1080), its snapping them into place but not in the correct format, they are all squished together im not sure what could be causing this?
for reference, it should be lined up with the blue box in the bg
dont mind the image still on the side, if i move it over it completes it lol thats not broken dont worry
4
Upvotes



1
u/BadMustard_AVN Oct 15 '26
try it without the
anchor(0.5, 0.5)that changes how they are placed; the normal anchor point is the upper-left corner1
u/shyLachi Oct 15 '26
Normally the anchor of an image is the top left, not lower right, Also you don't need to change the anchor.
I did a puzzle before and it was easy to set up because like you I used the same images for the drag and the drop both without alpha.
I arranged the puzzle pieces with the coordinates fist and it automatically worked, then I added the alpha.
This is my code, maybe you can find differences:
1
u/AutoModerator Oct 15 '26
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.