Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: InCreator on Wed 31/03/2004 06:30:43

Title: A suggestion.
Post by: InCreator on Wed 31/03/2004 06:30:43
How about
1) simply RawDrawArea and/or RawDrawAreaScaled which draw defined area of current game screen...  to make zoom windows, sniper scopes, magnifying glasses, etc?

2) AddInventoryEx(int ITEM,CHARID)? character(x).inv(x) does that, but seems somewhat complicated.

3) A simpler way to disable/enable all cursor modes but one? Like, in main menus as such, only pointer is needed.

4) Some built-in menu in debug mode? Like, keypress opens debug menu?
Title: Re:A suggestion.
Post by: Gilbert on Wed 31/03/2004 07:21:20
2) Can't you just define a function yourself? Like:

function AddInventoryEx(int ITEM, int CHARID) {
 character[CHARID].inv[ITEM]++;
}


3) Like 2, can't you just define a custom function for this?

4) I don't quite understand what you meaned, but I think you can make a GUI yourself that can only pop up when debug mode is on. (Just check the game.debug_mode global parameter).