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

Messages - Edwin Xie

#361
 :o....Looks........o.....kay.....
#362
General Discussion / Re: Free computer, Ipod
Fri 27/08/2004 20:36:48
You are one of the people who easily fall for tricks like that. I wouldn't even trust this impossibility.
#363
Actually, I think that you don't need goto commands, you can always just type more simple things like GUIOn, SaveGameDialog, RestoreGameDialog show_inventory_window .etc... rather than typing unnecessary script like goto.
#364
AGS Games in Production / Re: King's Quest 2.5
Fri 27/08/2004 20:26:14
Forget whatever I said, sometimes I say stuff I don't mean. Or I am not so sure on.
#365
What about the error???
#366
It looks much like Radiant's King's Quest III but atleast Radiant's isn't VGA
#367
It ends in a semicolon but it mentioned "if"
#368
I don't get it, how is it in interface_click?

Parse error: unexpected "if"
#369
Hey, just to let you know, I modified my the first post of this topic!
#370
General Discussion / Re: Locking topics
Fri 27/08/2004 07:14:25
RAPE?!?!?!?!? :o
#371
Quote from: CoolBlue-Gord10 on Mon 23/08/2004 00:16:17
Thank you, Ashen :) It runs. Edwinxie, how can I script the multiple scores?

How about doing a label that says Mana and exp and to change them use SetLabelText?
#372
I try to use SetCursorMode(6); to set the cursor mode 6 but it stays at 0!
EDIT: I was probably so angry I forgot about elling you guys what I was tying to do!
What I was trying to do:
For some GUIs I want it to be the pointer cursor but for some strange reason it was the walk cursor. That is all I can say, unless you want the script or the GUIs I want to have the pointer icon on:

This script may be familiar to some of you:
Code: ags

CentreGUI(3);
Ã,  if (interface == 3){
Ã,  Ã,  if (button == 8) SetGameSpeed(GetSliderValue(3,8));
Ã,  Ã,  else if (button == 9) SetMusicMasterVolume(GetSliderValue(3,9));
Ã,  Ã,  else if (button == 10) game.text_speed = GetSliderValue(3,10);
Ã,  Ã,  else {
Ã,  Ã,  if (button == 0) SaveGameDialog();
Ã,  Ã,  if (button == 1) RestoreGameDialog();
Ã,  Ã,  if (button == 2) GUIOn(4);
Ã,  Ã,  if (button == 3){
Ã,  Ã,  Ã,  SetCursorMode(6);
Ã,  Ã,  Ã,  RestartGame();
Ã,  Ã,  Ã,  }
Ã,  Ã,  if (button == 4) 
Ã,  Ã,  Display("The Adventures of Bob I [[Made with Adventure Game Studio v2 run-time engine[[Copyright (c) 1999-2004 Chris Jones");
Ã,  Ã,  }
Ã,  if (button == 11){
Ã,  Ã,  InterfaceOff (3);
Ã,  Ã,  InterfaceOn (ICONBAR);
Ã,  Ã,  SetCursorMode (1);
Ã,  Ã,  }
Ã,  }

The other GUI:
Code: ags

if (interface == 4)
Ã,  SetCursorMode(6);
Ã,  SetMouseCursor(6);
Ã,  DisableCursorMode(0);
Ã,  DisableCursorMode(1);
Ã,  DisableCursorMode(2);
Ã,  DisableCursorMode(3);
Ã,  DisableCursorMode(5);
Ã,  {
Ã,  if (button == 0)
Ã,  QuitGame(0);
Ã,  else if (button == 1)
Ã,  GUIOff(4);
Ã,  EnableCursorMode(0);
Ã,  EnableCursorMode(1);
Ã,  EnableCursorMode(2);
Ã,  EnableCursorMode(3);
Ã,  EnableCursorMode(5);
Ã,  SetCursorMode(0);
Ã,  }
#373
Beginners' Technical Questions / Re: Crazy GUI
Thu 26/08/2004 07:31:25
:O I think that may be the main problem why! Then the buttons after will restart the game.... Just wait a second so I can try it
....
....
....
....
....
Oh, wait I need to put in interface on for the icon bar and make the cursor regular....

Yep, works.

EDIT:
While I was posting this you replied so I didn't reply to your message but, if I place CentreGUI (); in the interface code it would center only if I click on the window.
#374
Beginners' Technical Questions / Re: Crazy GUI
Thu 26/08/2004 07:14:05
THanks the pormt reply and here is the script for the GUI

CentreGUI(3);
  if (interface == 3){
    if (button == 8) SetGameSpeed(GetSliderValue(3,8));
    else if (button == 9) SetMusicMasterVolume(GetSliderValue(3,9));
    else if (button == 10) game.text_speed = GetSliderValue(3,10);
    else {
    if (button == 0) SaveGameDialog();
    if (button == 1) RestoreGameDialog();
    if (button == 2) QuitGame(1);
    if (button == 3) SetCursorMode(6);
    RestartGame();
    if (button == 4)
    Display("The Adventures of Bob I [[Made with Adventure Game Studio v2 run-time engine[[Copyright (c) 1999-2004 Chris Jones");
    }
  if (button == 11){
    GUIOff (3);
    SetDefaultCursor();
    }
  }
#375
Beginners' Technical Questions / Crazy GUI
Thu 26/08/2004 07:08:03
In the gui script for game there was a script for a button that closes the gui:

if (button == 11) InterfaceOff (3);

Makes the player to to room 100 (the screen where it says load/play/quit). What is wrong with that (button 11 is the button where it closes the window and Interface (or gui) 3 is the controls gui window)?
#376
General Discussion / Re: Anvil Studio
Thu 26/08/2004 05:14:04
Sorry. By the way, I found a reliable music making program.
#377
And um, the setup is for setting the settings anyone wants but uses safe resolution. Anything other might not be good.
#378
I don't know but the brackets look like they are misplaced.
#379
General Discussion / Re: Crazy eBay auctions
Thu 26/08/2004 03:20:23
SMF spam blocked by CleanTalk