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

#321
Hmm, I might be interested in this. I don't know if I can do art but I can give it a try.
#322
General Discussion / Re: Gmail
Sun 05/09/2004 04:26:53
NAME: Edwin Xie
E-MAIL: edwinxie2003@yahoo.com

I guess the e-mail should be self explanatory but anyhoo, lets include the name.
#323
Hmm...I don't know...it doesn't sound useful to me...... :-\
#324
Maybe making a new dialog GUI?
#325
actually, that is fake. If you look closely, all the forum's files use php but that one is htm so that means that CJ modified the htm file to make it look like that. bah, whatever he said:
Quote from: AGA on Thu 02/09/2004 23:45:13
CJ was known as CJ when the Newsbots thread originally happened. All CJ did was do a 'save as' of all the thread's pages and stick them together, which caused us to see what he saw when he loaded the page...
#326
Ok, questions to ask:
I want the status bar to change to "something" when I move over a button on the GUIs. How can I do that?

On the inventory GUI (its a custom GUI), when you click on the select button my cursor changes to the walk icon. What can I do to fix that? I haven't modified any script on the inventory GUI. And...would it help if I showed you the script?
Function show_inventory_window
Code: ags

function show_inventory_window () {
  // This demonstrates both types of inventory window - the first part is how to
  // show the built-in inventory window, the second part uses the custom one.
  // Un-comment one section or the other below.
  
/*  
// ** DEFAULT INVENTORY WINDOW
  InventoryScreen();
*/  
  // ** CUSTOM INVENTORY WINDOW
  GUIOn (INVENTORY);  
  // switch to the Use cursor (to select items with)
  SetCursorMode (MODE_USE);
  // But, override the appearance to look like the arrow
  SetMouseCursor (6);
}

Function interface_click
Code: ags

function interface_click(int interface, int button) {
  if (interface == ICONBAR) {
    if (button == 4) {  // show inventory
      show_inventory_window();
    }
    else if (button == 5) {   // game controls
      InterfaceOff(1);
      SetCursorMode(6);
      InterfaceOn(3);
    } 
    else if (button == 6)    // save game
      SaveGameDialog();
    else if (button == 7)   // load game
      RestoreGameDialog();
    else if (button == 8)   // quit
      GUIOn(4);
    else if (button == 9)    // about
      Display("The Adventures of Bob I [[Made with Adventure Game Studio v2 run-time engine[[Copyright (c) 1999-2004 Chris Jones");
  }  // end if interface ICONBAR

  if (interface == INVENTORY) {
    // They clicked a button on the Inventory GUI
    
    if (button == 1) {
      // They pressed SELECT, so switch to the Get cursor
      SetCursorMode (MODE_USE);
      // But, override the appearance to look like the arrow
      SetMouseCursor (6);
    }
    
    if (button == 2) {
      // They pressed LOOK, so switch to that mode
      SetActiveInventory(-1);
      SetCursorMode(MODE_LOOK);  
    }
    if (button == 3) {
      // They pressed the OK button, close the GUI
      GUIOff (INVENTORY);
      SetDefaultCursor();
    }

    if ((button == 4) && (game.top_inv_item < game.num_inv_items - game.num_inv_displayed)) {
      // scroll down
      game.top_inv_item = game.top_inv_item + game.items_per_line;
    }
    if ((button == 5) && (game.top_inv_item > 0)){
      // scroll up
      game.top_inv_item = game.top_inv_item - game.items_per_line;
    }
  }
  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);
    }
  }
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);
  }
}
#327
Thanks, when I did
if (IsGUIOn(3) || IsGUIOn(4)) {
Ã,  Ã,  SetLabelText(STATUSBARGUI_NAME_HERE, LABEL_NUMBER_HERE, " ");
Ã,  Ã,  SetMouseCursor(6);
Ã,  Ã, 
}
else SetDefaultCursor();

there was a parse error on "else". Notice that it is slightly different to your script.
#328
Oh, wait, sorry i didn't give enough details. I wanted the status bar label to change to "   " (nothing) if GUI 3 or 4 were open.
#329
Quote from: Ishmael on Mon 16/08/2004 19:45:02
A first-aid you could try is to rename the game exe file to "ac2game.dat", making sure the extension changes, and copying the "acwin.exe" file from the AGS archive to the folder and running it.


Hmm, how do you rename App2.exe to ac2game.dat?
#330
Let's say I want the label to change to "  " (nothing) when GUI 3 and 4 are clicked. How do I do that?
#331
I ran Night of the Hermit on XP...it worked fine but the fade in/out was too slow.
#332
Quote from: TikiTikiMan on Thu 02/09/2004 23:41:28
Er...Farlander...

CJ's nick on the forums isn't CJ.Ã,  As I'm sure you are aware of, it is 'Pumaman.'Ã,  Therefore, wouldn't it seem odd if it said you were logged in a 'CJ'?

Teehee, tis funny to try out, however.Ã,  I feel....like I COULD TAKE ON THE WORLD!

TikiTikiMan, CJ's original nick is "CJ" but he changed his temporary nick to "Pumaman".
#333
General Discussion / Re: Forum Font
Sat 04/09/2004 19:52:20
Ever since I defragmented my disk it started doing that but.....
Quote from: auhsor on Mon 30/08/2004 04:43:51
If your using Internet Explorer, check: View>Text Size
In Firefox the options are also in the View menu.

Thanks.
#334
Hmm, then it would only change to cursor 6 if your mouse moves over the GUI
#335
Do you even have a graphic card? Cause you need one for games. And uh, bah, whatever barbarian said.
#336
General Discussion / Forum Font
Mon 30/08/2004 02:22:44
Currently the forum font has changed but.....those GIANT letters are just annoying to me. Is it only me or does it happen to all of you?
#337
So, we're going to ask CJ for an updated Help file?
#338
General Discussion / Re: movie scripts
Sun 29/08/2004 03:18:55
What about Windows Movie Maker? ;D
#339
General Discussion / Re: Free computer, Ipod
Sun 29/08/2004 03:10:14
#340
I finished everything but defragmenter
SMF spam blocked by CleanTalk