hotspot issues [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
User avatar
namastaii
Eileen-Class Veteran
Posts: 1350
Joined: Mon Feb 02, 2015 8:35 pm
Projects: Template Maker for Ren'Py, What Life
Github: lunalucid
Skype: Discord: lunalucid#1991
Soundcloud: LunaLucidMusic
itch: lunalucid
Location: USA
Contact:

hotspot issues [solved]

#1 Post by namastaii »

Finding exact hotspots for your imagemap stuff is a pain. Is there ANY way to make it easier? It sucks because you can't see what you're doing. Even though I may have a general idea of the x and y points, I can't seem to get the hovering png for the quick menu I'm making to show up or find the hotspots

LIke there has to be a better way lol
Last edited by namastaii on Wed Oct 07, 2015 6:16 pm, edited 1 time in total.

User avatar
Zetsubou
Miko-Class Veteran
Posts: 522
Joined: Wed Mar 05, 2014 1:00 am
Completed: See my signature
Github: koroshiya
itch: zetsuboushita
Contact:

Re: hotspot issues

#2 Post by Zetsubou »

Personally, I open the images I'm using in GIMP, then use the selection tool to get the area I want.
GIMP displays the coordinate and the size, so I immediately have the four arguments for the hotspot location.
In the case of elements lined up one after the other, I'd then drag the far side of the selection box over to the next item and thus have a box starting at the end of the first element, once again giving the four arguments.

Photoshop isn't as good for this purpose, IMO. The selection tool doesn't give you the coordinates, and you can't manipulate the bounds of an existing selection.
Finished games
-My games: Sickness, Wander No More, Max Massacre, Humanity Must Perish, Tomboys Need Love Too, Sable's Grimoire, My Heart Grows Fonder, Man And Elf, A Dragon's Treasure, An Adventurer's Gallantry
-Commissions: No One But You, Written In The Sky, Diamond Rose, To Libertad, Catch Canvas, Love Ribbon, Happy Campers, Wolf Tails

Working on:
Sable's Grimoire 2

https://zetsubou.games

User avatar
Jae
Regular
Posts: 192
Joined: Sun Sep 13, 2015 5:41 pm
Projects: Pokémon Academy Life
Location: New York, NY
Contact:

Re: hotspot issues

#3 Post by Jae »

Open the dev console, use image location picker, select the file in question, select the area in question.

Coordinates are automatically copied so you can paste it directly into your script.

User avatar
namastaii
Eileen-Class Veteran
Posts: 1350
Joined: Mon Feb 02, 2015 8:35 pm
Projects: Template Maker for Ren'Py, What Life
Github: lunalucid
Skype: Discord: lunalucid#1991
Soundcloud: LunaLucidMusic
itch: lunalucid
Location: USA
Contact:

Re: hotspot issues

#4 Post by namastaii »

Thank you. I was actually using Gimp so I'll have to look at that later
I love photoshop but my free trial or whatever ended forever ago so meh..

philat
Eileen-Class Veteran
Posts: 1900
Joined: Wed Dec 04, 2013 12:33 pm
Contact:

Re: hotspot issues

#5 Post by philat »

http://lemmasoft.renai.us/forums/viewto ... 52&t=31723

I've never used it myself but it seemed to be helpful to others, so just linking as an fyi to check it out.

User avatar
namastaii
Eileen-Class Veteran
Posts: 1350
Joined: Mon Feb 02, 2015 8:35 pm
Projects: Template Maker for Ren'Py, What Life
Github: lunalucid
Skype: Discord: lunalucid#1991
Soundcloud: LunaLucidMusic
itch: lunalucid
Location: USA
Contact:

Re: hotspot issues

#6 Post by namastaii »

I did figure it out just so you all know. Thanks for your input :)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Semrush [Bot]