-
Notifications
You must be signed in to change notification settings - Fork 0
Tumbleweed_helper
float Verbs.Distance(int x1, int y1, int x2, int y2);
Returns the distance between two coordinates
int Verbs.Offset(int point1, int point2);
Returns the offset between to two given values.
int Verbs.GetButtonAction(int action);
Returns the connected action of a verb button. The actions for the verb buttons are not "hard-wired" inside the GUI-script, but defined in the function SetButtonAction.
See also: Verbs.SetActionButtons, Verbs.AdjustLanguage
void Verbs.DisableGui();
This functions disables the GUI and hides it.
See also: Verbs.IsGuiDisabled, Verbs.EnableGui
void Verbs.EnableGui();
This function enables the GUI again.
See also: Verbs.IsGuiDisabled, Verbs.DisableGui
bool Verbs.IsGuiDisabled();
Returns true, if the GUI is currently disabled, false otherwise
See also: Verbs.DisableGui
int Verbs.GlobalCondition(int parameter);
Used to check for conditions that are used many times in the script. For example, it's used to check, if the mouse cursor is in the inventory and the mode walk or pickup are selected. Returns 1, if the condition is true and 0 otherwise.
void Verbs.InitGuiLanguage();
This is a helper function to set the correct sprites for the verb GUI.
void Verbs.SetDoubleClickSpeed(int speed)
Defines the double click speed
void Verbs.HandleInvArrows()
Takes care of showing or hiding the inventory scroll sprites.
Getting Started in AGS
Editor Reference
- Music and sound
- Distributing your game
- Backing up your game
- The text parser
- Translations
- Global variables
- Custom Properties
- Plugins
- Lip sync
- New Game templates
- Debugging features
- Auto-number speech files
- Integration with Windows
- Source Control integration
Engine
Scripting
- Scripting tutorial part 1
- Scripting tutorial part 2
- Pointers in AGS
- Calling global functions from local scripts
- The script header
- String formatting
- Multiple Scripts
- Understanding blocking scripts
- Dynamic Arrays
- Extender functions
- Game variables
- Predefined global script functions
- repeatedly_execute (_always)
- Custom dialog options rendering
- Built-in enumerated types
- Script language keywords
- AudioChannel functions and properties
- AudioClip functions and properties
- Character functions and properties
- DateTime functions and properties
- Dialog functions and properties
- DialogOptionsRenderingInfo functions and properties
- DrawingSurface functions and properties
- DynamicSprite functions and properties
- File functions and properties
- Game / Global functions
- GUI functions and properties
- GUI control functions and properties
- GUI Button functions and properties
- GUI InvWindow functions and properties
- GUI Label functions and properties
- GUI List Box functions and properties
- GUI Slider properties
- GUI Text Box functions and properties
- Hotspot functions and properties
- Inventory item functions and properties
- Maths functions and properties
- Mouse functions and properties
- Multimedia functions
- Object functions and properties
- Overlay functions and properties
- Palette functions
- Parser functions
- Region functions and properties
- Room functions
- Screen functions
- Speech functions and properties
- String functions
- System functions and properties
- Text display / Speech functions
- ViewFrame functions and properties
Working on Legacy games
Upgrading from a previous version
- Upgrading to AGS 2.7
- Upgrading to AGS 2.71
- Upgrading to AGS 3.0
- Upgrading to AGS 3.1
- Upgrading to AGS 3.2
- Upgrading to AGS 3.3
- Upgrading to AGS 3.3.5
- Upgrading to AGS 3.4
- Upgrading to AGS 3.4.1
Legal Notice
Getting in touch