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 - A-Hed

#1
Ok, what I want is to make the script for a label that works like the @OVERHOTSPOT@ and Iv'e run into a problem.



I get the error when I put this script in the repeatedly_execute section:

Code: ags
function repeatedly_execute() {
  // put anything you want to happen every game cycle here
  if (Game.GetLocationName(mouse.x, mouse.y) != "") {
    Names_Label.Text = Game.GetLocationName(mouse.x, mouse.y);
  }
  if (Game.GetLocationName(mouse.x, mouse.y) == "") {
    Names_Label.Text = "Nothing of interest";
  }
}


Is there a work around or am I just not clever enough? :P Im not a scripter, so please reply as simple as possible. ;)

Thanks!

/A-Hed
#2
Hello!

Im totally new on scripting in 2.7 and am in need of help.

This is the problem: I am trying to get a gui button, Optionsbutton, in the upper gui menu to animate when the mousecursor is over it. The button needs a view for animating and thats where the problem is. I can get the button to animate either way and there doesn't seem to be a way to script it easily like using MouseOverGui.

Any help will be appreciated, this may be very simple.

Thanks!

/A-Hed
#3
Ok, this is my first post in any of technical threads. I was wondering if it is possible to script so that my maincharacter is walking one step at a time without stopping in the middle of any of the steps depending on where I clicked for him to walk.

For example: if I want the character to walk to the other side of a table then this script should calculate so that he comes as close as possible to the point where I clicked without him stopping during a step (unless if he must turn to some direction and continue walking).

Is this possible to script? If it isnt, is there another way around this problem?
#4
Critics' Lounge / Maincharacter 1880's style
Mon 24/05/2004 13:43:14
Hi!

Im making a new game and it takes place in the 1880's-1890's London. I have a little trouble with the maincharacters view, he doesn't look the same on the sideview as he does on the front- and diagonal-views. If you have any suggestions don't hesitate to ask.



Any help would very appriciative!

EDIT: Added sideburns infront of the ears
Ã,  Ã,  Ã,  Ã,  Ã, Fixed his nose
Ã,  Ã,  Ã,  Ã,  Ã, Fixed the collar
Ã,  Ã,  Ã,  Ã,  Ã, Changed the hair color on the views with the back turned and filled some gray hair
Ã,  Ã,  Ã,  Ã,  Ã, Added more contrast in both face and hands
Ã,  Ã,  Ã,  Ã,  Ã, Fixed hands shadows and colors
Ã,  Ã,  Ã,  Ã,  Ã, Fixed buttons and outlines
         Fixed sideviews arms and the arms shading

(I meant that the sideburns were infront of the ears, just that I wrote the opposite :P)
#5
Critics' Lounge / Theme music
Sun 23/05/2004 15:38:20
Hi!

This is my first message here on the AGS-forum and I am doing this new game that I have trouble coming up with a name for. Anyway, I was wondering what you all think about this theme for the intro to my game, to help you get the image: It's taking place in London in the 1880's-1890's (aswell as some other games I have seen here) and it will have some Sherlock Holmes feeling to it with quite much seriosity, mystery and brutal murders.

Anyway, let me hear what you think.

www.xtreem.nu/jonas/theme.ogg
SMF spam blocked by CleanTalk