-
Notifications
You must be signed in to change notification settings - Fork 0
Templates
When you choose "Start a new game" in the initial "Welcome to AGS" dialog box, a window appears with various templates that you can base your game off.
AGS comes with a few standard templates:
- Empty Game (...which is what it says)
- Tumbleweed (9-Verb)
- Sierra-style
- BASS (two click handler) (like Beneath a Steel Sky)
- Verbcoin
...but you can create your own too.
NOTE: the previously available "Default" template is now known as "Sierra-style", which also contains updated graphics.
The templates are normally located in "Templates" folder withing AGS Editor directory. If the folder is empty, that could happen if AGS Editor installation went wrong, or you have run from an incomplete package. What you may try:
- Reinstall AGS (preferably downloading an official release),
- Download templates (see below).
- Copy "Templates" folder from any other versions of AGS if you have them on your computer, but make sure these versions are not newer than the one you're going to use. Also in this case you have to be ready to possibly update the game scripts as templates may be using deprecated script commands.
If you've downloaded a game template from the internet, you should find
a file with a .AGT
extension. This is the AGS Template File, and you
just need to copy it into the "Templates" folder within the AGS Editor
directory.
A game template is basically just an archive containing all of the game source files, which are then extracted into the new folder when the user creates a new game. It is similar to you just zipping up your game folder and sending it to a friend - except that this way looks far more professional.
To create a template, first of all you create a game as normal in the editor. Once you have everything set up how you want it, select "Make template from this game" on the File menu. This will prompt you for a name for the template (this is what will appear under its icon in the "Start New Game" dialog box), and then it will go away and compile the template for you.
The template game takes the following files from your game folder: Core
game files (GAME.AGF
, ACSPRSET.SPR
), all script and room files, all
sound and music files, all fonts, game icons, and all .TXT
files (to
allow you to include a README.TXT
or whatever).
If you include a template.ico file in your game folder when you make
the template, then it will be used as the icon in the Start New Game
dialog box. Otherwise, the icon will be taken from user.ico
(if
present), or if not it will get the default AGS icon.
You can also include a template.txt
file in your game folder. If you
do, then its contents will be displayed to the user in a messagebox
after they create a new game based on the template. You could use this
to explain briefly about any key aspects of the template, or it could
tell them to read your README file. This file should be quite small,
its entire contents need to fit into a standard message box, so keep
it below 255 characters.
NOTE: Do not simply make a template out of a half-finished game. If you want to make a template, you should start a game from scratch and make your changes - the user probably doesn't want to already have a semi-completed game when they use your template. Rather, game templates are about different types of game controls, gameplay mechanics you want to share.
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