Solved: Unable to hide or move a hotspot

Support and discussions about KeyGuard Studio Professional for AdventureMaker.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Solved: Unable to hide or move a hotspot

Postby reneuend » Tue May 15, 2012 11:36 pm

background image: room with no door
hotspot(1): door
hotspot(2): transparent
-Advanced Tab/Script:
action.loadapicture hotspot(1), ""
KGS Polygon(1): around the doorway

Intended action: when the user clicks on the door, it disappears.

I've tested using Action.Message "test" in place of the loadapicture command and it worked fine, but for some reason, KGS doesn't work manipulating hotspots. Has someone tried this?
Last edited by reneuend on Fri May 18, 2012 7:28 pm, edited 1 time in total.
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2686
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Postby ShadowHunter » Fri May 18, 2012 2:25 pm

Hello reneuend,

When using KeyGuard you need the KeyGuard commands to manipulate hotspots since the background and hotspots are merged to one image to allow rendering of text and hint icons on top.

You should use:

MakeHotSpotTransparent Action.GetHotSpotNumber

See the help document 11.8.11

Please let me know if this solves the issue.

With best regards,

ShAdOwHuNtEr
User avatar
ShadowHunter
Forum Admin and Games Page admin
 
Posts: 1304
Joined: Fri Jun 06, 2003 10:37 pm
Location: Belgium

Postby reneuend » Fri May 18, 2012 3:52 pm

great! thanks!

That fixed it! Nice...Now I can build my first KGS tutorial. I just need a capture software that displays the cursor and an inventory object when you drag it.
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2686
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Postby ShadowHunter » Fri May 25, 2012 2:17 pm

Hi reneuend,

Looking forward to see the first tutorial, I hope people will see how easy and powerful KeyGuard has become. I wish I had more time to create some YouTube clips aswell... good to have you arround :D

BTW: I'm pretty sure Camtasia captures the cursor (option)

With best regards,

ShAdOwHuNtEr
User avatar
ShadowHunter
Forum Admin and Games Page admin
 
Posts: 1304
Joined: Fri Jun 06, 2003 10:37 pm
Location: Belgium


Return to KeyGuard Studio Professional

Who is online

Users browsing this forum: No registered users and 2 guests

cron