-
Notifications
You must be signed in to change notification settings - Fork 9
EditorRoom
The Room Editor is where the user can define the Room name, set a background, create objects, add hotspots, define the walkable areas for the characters, mark areas as walkbehinds, change lighting using regions, and more, for a Room. Only one room can be edited at the same time.
By selecting a background on the Display Background
combo box, you can select
which background of a room to display: Main Background, frame 2, 3, 4, 5. With
one background selected, click Change...
button to change the background. If a
background of different size than the previous background is selected, all masks
(hotspot, walkbehind, region and walkable) are erased. If a room has more than
one background, by default, they are animated.
This control allows you to view characters,objects and edges, simultaneously with one of the room masks: hotspots, walkable areas, walk-behinds or regions. Moving a character or object already in the room is as simple as clicking and dragging it.
You can select any element in the room by navigating on the bar using the down arrows, which will reveal the available elements on the chosen category.
Characters, objects can also be select on the room area by clicking on them. To move edges directly on room area, first select the edges layer, and then you will also be able to directly manipulate edges shown in the room area. To select any room mask type of layer, first select the layer you are interested and later use the Select area tool (picker icon on toolbar) to pick the specific element.
Placing a new object
If you want to place a new object, you need to select Objects in the layer menu and right click on the screen where to put the new object and click on "Place New Object Here".
Placing a character
For placing a character not in the room, on it, you need to select the character
in the characters tree on Explore Project, and change it's StartingRoom
property to the current room being edited.
Layer and element Visibility (eye icon)
Each layer can be made visible/hidden by the push of a button. In addition, for the objects/characters/edges layers each element in the layer can also be made visible/hidden by the push of a button. This will only affect the editor, not the actual game.
Layer and element Locking (padlock icon)
Each layer can be locked/unlocked by the push of a button. In addition, for each layer, each element in the layer can also be locked/unlocked by the push of a button. A locked element cannot be moved until it is unlocked, useful to prevent mistakes when designing the room. This will only affect the editor, not the actual game.
The properties control will adapt to which element is selected at the specific layer. If no element is selected or the edges layer is selected, this control will show the current Room properties and events.
The list button switches the tree to show Properties and the lighting bolt switches the tree to show Events. Both can be navigated either in categorical order or alphabetical order.
Positional changes on the properties of an element, say it's (x,y) position, will instantly be updated in the room area, which is useful for pixel positioning things.
Edges are draggable by clicking and holding on them, once their layer is selected. If no edges are shown, you may need to look into the properties of your room and place valid values on the BottomEdgeY, LeftEdgeX, RightEdgeX and TopEdgeY properties of your room.
Right click on the room and click Place New Object Here
to create a new object.
They can be freely positioned in the room, and when one object is selected you
can edit it's properties on the Properties control. While dragging an Object
it's (x,y) position will be shown on screen, which refers to an object sprite
bottom left corner. Locked objects can't be moved.
You need to place the characters on the room first by using the Character Editor. While dragging an Character it's (x,y) position will be shown on screen, which refers to an the current character sprite bottom middle position, similar to a characters foot. Locked characters can't be moved.
AGS offers a simple editor when one of these layers is selected so that you can directly edit these masks in the room area offering a picker, a line tool, a freehand tool, a rectangle tool, and a fill area.
Also available is a way to both export the a mask layer as a bitmap and import a mask layer. These are offered in case you prefer to draw those in your preferred image editor, just make sure that you keep the exported 8bit indexed color palette.
See Also: Room
Getting Started in AGS
Editor
- New Game templates
- Editor Preferences
- General Settings
- Default Setup
- Colours Editor
- Room Editor
- Character Editor
- Cursor Editor
- Dialog Editor
- Font Preview
- GUI Editor
- Inventory Items Editor
- View Editor
- Sprite Manager
- Music and sound
- Voice speech
- Script Modules
- System limits
- Log Panel
- Plugins
- Other Features
Engine
Scripting
- Scripting Tutorial
- Scripting Language
-
Scripting API
- Script API Overview
- Standard Constants
- Standard Enumerated Types
- Standard Types
- Game variables
- Global arrays
- Global event handlers
- repeatedly_execute / repeatedly_execute_always
- Custom dialog options rendering
- Global functions: general
- Global functions: message display
- Global functions: multimedia actions
- Global functions: palette operations
- Global functions: room actions
- Global functions: screen effects
- Global functions: wait
- AudioChannel functions and properties
- AudioClip functions and properties
- Camera functions and properties
- Character functions and properties
- DateTime functions and properties
- Dialog functions and properties
- DialogOptionsRenderingInfo functions and properties
- Dictionary functions and properties
- DrawingSurface functions and properties
- DynamicSprite functions and properties
- File functions and properties
- Game functions and properties
- 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
- Object functions and properties
- Overlay functions and properties
- Parser functions
- Region functions and properties
- Room functions and properties
- Screen functions and properties
- Set functions and properties
- Speech functions and properties
- String functions
- System functions and properties
- TextWindowGUI functions and properties
- ViewFrame functions and properties
- Viewport functions and properties
- Obsolete Script API
- Event Types
- Key code table
- Audio in script
Legal Notice
Getting in touch
Misc