Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: gabrielsab on Sat 24/02/2007 14:47:21

Title: Cursor down to one help
Post by: gabrielsab on Sat 24/02/2007 14:47:21
Hi all, I have made a virtual tour of my home with movie and rooms only as I have moved house and wanted something to remember it by. Is it possable to cut out all but a pointer arrow in the cursor layout? I have hotspots that when the cursor moves over it it gives a different cursor to move forward or left or back and so on and I have no use for the other four main cursors ie walk to, look at, interact, talk to I just need a pointer.

Thanks
GK
Title: Re: Cursor down to one help
Post by: Scorpiorus on Sat 24/02/2007 15:12:19
You cannot delete them, but then don't just use them if you don't need to.

If you mean the player will still be able to circle through them with the right mouse button, then to prevent this comment-out the respective script code line in the on_mouse_click() function of the main global script:


function on_mouse_click(MouseButton button) {
Ã,  // called when a mouse button is clicked. button is either LEFT or RIGHT
Ã,  if (IsGamePaused() == 1) {
Ã,  Ã,  // Game is paused, so do nothing (ie. don't allow mouse click)
Ã,  }
Ã,  else if (button == eMouseLeft) {
Ã,  Ã,  ProcessClick(mouse.x, mouse.y, mouse.Mode );
Ã,  }
Ã,  else {Ã,  Ã, // right-click, so cycle cursor
//Ã,  mouse.SelectNextMode();
Ã,  }
}