Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - flotilla

#1
Hmm another day another problem.  Sorry for the many posts over the last few days but I am very new to scripting and spend hours looking at code/documentation before posting.

anyway, I have this in my room script

function oWatch_Interact()
{
  cMainChar.Walk(467, 460, eBlock, eWalkableAreas);
  cMainChar.Say ("picked it up");
  oWatch.Visible = false;
  cMainChar.AddInventory (iWatch,  3);
}


function oWatch_Look()
{
  cMainChar.Walk(467, 460, eBlock, eWalkableAreas);
  cMainChar.Say ("aah a watch");
}


when I click on the item and choose look (using a verbcoin) It runs both parts of this code. Always starting with the - function 0Watch_Look() no matter which
verbcoin button I click (look or interact)

so it says "aah a watch" then straight away "picked it up" then picks it up.      Regardless of which button is pressed on the verbcoin

I am using the verbcoin template

thanks in advance
#2
Hi, I would like to have a simple interface with two icons look/interact.  I am using verbcoin that seems to be the closest match to what I want, however I was wondering if there is
a way of using small animated icons on the verbcoin instead of the default two states for the icon eg mouse-on or mouse-off. 

I would like it to run a small animation for example a view instead of the two different images eg open hand/closed hand

any ideas?
#3
Beginners' Technical Questions / gui interface
Thu 17/06/2010 17:36:41
Hi, I would like to make a system in my game similar to Broken sword where as the cursor moves near to a hotspot you get two small icons pop up - look/interact.  Which you can then
click on either of the icons individually


I was wondering if anyone can suggest a good way of doing this.  I have the following ideas but Im not sure which is best to try:


1/ making a GUI with the two icons as buttons with a transparent background that becomes visible when the mouse rolls over the hotspot. I dont
want the game to pause when the GUI pops up though. Also Im not sure how to make the GUI background transparent but the buttons visible


2/ somehow have two icons pop up off the hotspot when the mouse rolls over it.


Ideally I would like to only have to make this thing once and have the click outcomes different depending on which hotspot it is hovering over.

Can anyone suggest a good way of achieving this?


Thanks
#4
Hi, I am looking for a GUI template similar to Beneath a Steel Sky (revolution) style that is compatible with the latest
AGS. I have had a look through a few template pages but cant find one that imports correctly. Can anyone point me in the direction of a working template?

Thanks in advance

Tim
SMF spam blocked by CleanTalk