Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: viktor on Sat 22/05/2004 19:35:22

Title: hotspots
Post by: viktor on Sat 22/05/2004 19:35:22
Now I realy must anoying already.  :(
This question is fairly simple. I need more than 16 hotspots in my room. How do I make more hotspots available. From number 16 the hotspots are all black colored.
Title: Re: hotspots
Post by: .. on Sat 22/05/2004 19:45:29
There was a post posted TODAY in fact asking this as well.. make sure you search before you ask.

But as a wuick answer to your question, you can't.

you do have some choices though. You could see if any of your hotspots could be regions. You could use objects for hotspots that you interact with or you could even use the same hotspot for two different things and use co ordinates to work out which was clicked.
Title: Re: hotspots
Post by: strazer on Sat 22/05/2004 21:01:01
I thought he meant how to use hotspots 17-19 since they all have the same color in the editor.
Title: Re: hotspots
Post by: Scummbuddy on Sat 22/05/2004 21:05:23
viktor, could you tell us as to why you need so many hotspots in your room. we may be able to come up with a workaround
Title: Re: hotspots
Post by: viktor on Sat 22/05/2004 21:08:28
no sweat.
It's all taken care of. I was making a stereo sistem and forgot that I can use items insted of hotspots.  Thanks Scuthbert!!!
Title: Re: hotspots
Post by: .. on Sun 23/05/2004 09:52:30
!!! Yey !!!
Title: Re: hotspots
Post by: Anarcho on Sun 15/08/2004 23:57:00
I have this same problem.  I have reached the limit of hotspots (19), and have more that I would like to do.  It's a large scrolling room, and most of these hotspots are just things that the character can look at and comment on.  I guess I could import more sprites as objects for the background, but that sounds like a big hassle. 

Why the limit on the number of hotspots you can have?!

-Logan
Title: Re: hotspots
Post by: Darth Mandarb on Mon 16/08/2004 00:04:39
I ran into this problem with JP & Cosmo.

My workaround was using scripting to determine where the mouse was.

So if I was using the blue hotspot in two different spots and you clicked 'look' on that hotspot I scripted to check where the mouse was.Ã,  If it was on the left side of the screen ( < 160 ) it would display a certain message.Ã,  But, if the mouse was on the right side ( > 160) it would display a different message.Ã,  To explain further, the couch and the desk both used hotspot 1.Ã,  The desk was on the left side of the screen and the couch on the right. (and it, of course, doesn't have to be divided right down the center.Ã,  You could use to ajoining areas using the same hotspot, just depends on where you click)

This method worked very well.Ã,  You just have to figure out how many 'splits' you need to make.Ã,  On one particular room I split it into quadrants (which makes scripting a little trickier) but it still works fine.