Trouble using Imagemaps/ImageButtons
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Trouble using Imagemaps/ImageButtons
Hi, I'm new to using Ren'Py and have been testing it out for a while. I've looked at several tutorials and even checked the script files from the tutorial available on Ren'Py when downloaded. I've dealt with a lot of troubleshooting but have managed to get things working. But it appears that I've finally hit a wall, and working with imagemaps/imagebuttons looks to be so simple I'm sorry if I'm asking an easy question. For know imagebuttons was giving me a hard time that I decided to test out using imagemaps but I still have trouble with it. Basically I've just been testing out how to use these functions so I'm not working on a large game. Essentially there's a scene in the game where the player should be able to point and click on the screen (like a map) to get around. Below are the images of the scripts and error messages. I need help figuring this out, your help would be greatly appreciated. Thank you.
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Trouble using Imagemaps/ImageButtons
Try changing "auto" to "ground". Auto is only used when you're automatically generating the filenames - you could also have:
If you had outside_ground.png, outside_hover.png, etc.
Code: Select all
auto "outside_%s.png"
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: Trouble using Imagemaps/ImageButtons
Yes! Thank you very much. This solved my problem. I really appreciate your help
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot]