Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Cosmo on Fri 23/09/2005 07:46:58

Title: help with loom template scripting please?
Post by: Cosmo on Fri 23/09/2005 07:46:58
Im very new to scripting, and seen as I havent finished a game I am using the loom template so most of the confusing stuff is already done for me and I can get onto other areas faster.

I'm having a problem with the icon though, I can get it to show up in the gui when I mouse click the object/hotspot, but I cant get the icon to appear when I mouse over.

I would love some help please :)
Title: Re: help with loom template scripting please?
Post by: strazer on Tue 27/09/2005 23:13:01
I've taken a look at the Loom template.

The mouseover stuff is done from within each room's repeatedly execute. You probably forgot to add your objects/hotspots to the code.
Go to Room Editor, load (double-click) "room 1", press the "i" button and double-click the "Run script" entry under Repeatedly execute. You have to add mouseover script for your stuff in there.

The template is kind of messy since it was made with an older version of AGS that probably didn't support things like custom properties and so on, so you have to script what sprite to display for each object/character/hotspot.
I've just started converting everything to AGS v2.7 and simplifying it so you may just want to wait a few days.
Title: Re: help with loom template scripting please?
Post by: Cosmo on Wed 28/09/2005 04:07:32
Okay :)

I did manage to get it to work, but I'm such a duffer when it comes to scripting I think I will wait.
Title: Re: help with loom template scripting please?
Post by: strazer on Thu 29/09/2005 18:09:50
I think it will take me a while longer because I've noticed that the template isn't completely faithful to (VGA) Loom (no queuing of notes, label displaying notes, colored staff animations and much more).
I will work on it on and off but I'm afraid I can't promise any timeframes, sorry.

Edit:

Btw, I'm not working on this anymore.