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.
I have a problem with the imagemap. In fact, i don't understand how find the points coordinates and in which order we must enter them.
I searched in the forum but i didnt find.
PS : Sorry if my english isn't correct, i'm french ><
- Eileen-Class Veteran
- Posts: 1265
- Joined: Fri Aug 31, 2007 7:02 am
- Projects: 0 completed game. Still haven't made any meaningfully completed games...
Then place the X1,Y1,X2,Y2 into the four numbers(eg.([X1], [Y1], [X2] ,[Y2], "Start Game")
One way to find coordinates is to use MS Paint and place the cursor(represented by the black arrow in this example) on a point of the image. The coordinates will be shown in the lower right corner of the window(red circle)Zearth wrote:In fact, i don't understand how find the points coordinates and in which order we must enter them.
The manual is here:http://www.renpy.org/wiki/renpy/doc/ref ... y.imagemaprenpy manual wrote:hotspots - A list of tuples defining the hotspots in this image map. Each tuple has the format (x0, y0, x1, y1, result). (x0, y0) gives the coordinates of the upper-left corner of the hotspot, (x1, y1) gives the lower-right corner, and result gives the value returned from this function if the mouse is clicked in the hotspot.
Then place the X1,Y1,X2,Y2 into the four numbers(eg.([X1], [Y1], [X2] ,[Y2], "Start Game"),