Image Mapping Question [Solved]

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
Beveque
Newbie
Posts: 19
Joined: Mon Jan 23, 2012 2:04 pm
Projects: Sparrow ~Beautiful Fate~
Organization: Songbird Media
Contact:

Image Mapping Question [Solved]

#1 Post by Beveque »

I'm trying to get the main menu to be image mapped, but in Photoshop it only gives me two numbers for coordinates, where Ren'Py requires four. I'm not sure how to find all four coordinate numbers?
Last edited by Beveque on Tue Jan 31, 2012 1:48 am, edited 1 time in total.
work in progress ,,
Sparrow ~Beautiful Fate~ [GxB, Otome]
------------
Songbird Media Blog

HigurashiKira
Miko-Class Veteran
Posts: 832
Joined: Mon Nov 01, 2010 9:10 pm
Contact:

Re: Image Mapping Question

#2 Post by HigurashiKira »

Photoshop should have all 4 numbers if you use the slice tool to select your button locations
Image
Renpy takes the numbers in this order:
(Width, Height, X Coordinate, Y coordinate)
I have moved to a new account. Please contact me here from now on. T/Y~

Beveque
Newbie
Posts: 19
Joined: Mon Jan 23, 2012 2:04 pm
Projects: Sparrow ~Beautiful Fate~
Organization: Songbird Media
Contact:

Re: Image Mapping Question

#3 Post by Beveque »

Thank you!
work in progress ,,
Sparrow ~Beautiful Fate~ [GxB, Otome]
------------
Songbird Media Blog

Post Reply

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot]