Hotspot/Draggables Editor

The Hotspot/Draggables editor is accessed by clicking on an item in the game profile screen and selecting either "Edit Hotspots" (for images and 360 photos) or "Edit Draggables" (for drag drop puzzles). It is used to position elements on top of the background image that the players can see and interact with either by clicking (for hotspots) or by dragging and dropping (for draggables).

Screenshot showing the hotspot/draggables editor

1. The Toolbar

Paste Copy

  • Copy: Control-C (Window) or Command-C (Mac)
  • Paste: Control-V (Window) or Command-V (Mac)

You can select any number of hotspots, draggables and snap points and click Copy to copy them to the clipboard. You can then press Paste to paste a copy of those objects into the editor area. It is possible to copy and paste between items and even between games.

Undo Redo

  • Undo: Control-Z (Window) or Command-Z (Mac)
  • Redo: Control-Shift-Z (Window) or Command-Shift-Z (Mac)

If you make a mistake you can use Undo to go back to how things where before your last action, hit it multiple times to undo multiple actions. If you decide that you didn't want to Undo you can hit Redo to reapply the change. Once you have saved you can no longer Undo actions made before you saved.

Save

Keyboard Shortcuts:

  • Save: Control-S (Window) or Command-S (Mac)

After making changes you must click Save to save to the server, if you do not Save changes and you close your browser or your computer those changes will be lost.

2. Object Panels

On the left hand side of the screen are the object panels, with panels for Hotspots and (on drag drop puzzle only) Draggables and Snap Points.

Hit the + buttons to create a hotspot or a draggable, this will ask you select an image to use for the new object. You can also create a new snap point.

TIP: If you want an invisible hotspot you can create a fully transparent PNG image file in your photo editor programme

You can reorder hotspots and draggables with your mouse, the ones at the top show over the ones at the bottom if they overlap.

You can select an object by clicking it or use the checkboxes to select multiple objects at once. It is also possible to select objects by clicking on them directly on the canvas.

If you're working with a lot of objects you may wish to temporarily hide some using the eye icon, this won't effect the final result (they don't stay hidden when you save) but can be very useful to reduce clutter while you work. Alternative you can lock an object with the lock icon which will leave it visible but make it impossible to select it when you click on the canvas.

To delete an object use the delete icon.

3. The Canvas

This area of the page shows a representation of the item you're working on. For normal images and drag drop puzzles this will look close to the final result but for 360 photos it will show a flattened out representation of it. With the selection tool selected (the default) you can click on an object within the canvas and drag it with your mouse to change its position. You can also resize an object using the control points (control points) at each corner. Click and drag in an empty area to make a selection box that you can use to select multiple objects. You can also hold down the Shift key when clicking on objects to select multiple.

For more detailed work you can zoom in, either by clicking the zoom in tool and then clicking where you'd like to zoom in or by using your mouse wheel. Once zoomed in you can pan around either by selecting the pan tool or by holding the Alt key and dragging.

4. The Editor Panel

The Editor Panel allows you to edit properties of the currently selected objects. Objects can be selected by either clicking on them in the Canvas or the Object Panels. If you select just one object you'll see the Editor Panel for that object, but if you select multiple objects you'll see a bulk editor panel allowing you to change any common properties that the objects you selected share.

If you'd like to rename the object you have selected then click the edit icon and type in a new name.

Fields shown for all object types

Position: The position of the objects centre in pixels, usually you will change an objects position by dragging it but this field is available to give fine grained control. Additonally, when multiple objects are selected some extra icons are available to to align objects align horizontal horizontally and vertical align vertically as well as distribute them distribute horizontal horizontaly and distribute vertical vertically.

Actions on click/Actions on drop: These set the actions taken when the object is clicked (for hotspots and draggables) or when a draggable is dropped on it (for snap points). This is the core mechanism for making your game react to the player.

Fields shown fo hotspots and draggables

Type: Available only on drag drop puzzles, this field allows you to change the type of object between hotspot (fixed in place) and draggable (can be dragged).

Scale: This allows you to change the scale (size) of the hotspot or draggable as a percentage of the size of the source image. WARNING: The image is still sent to the players at the size you upload, so if you upload large images then use scale to reduce their size it will negatively effect performance and load times. Use with care!

Image: Allows you to change the image used by the hotspot or draggable

Present from start: If this is unticked then the hotspot or draggable will not initially be visible to the players and must be shown using an Action executed in response to some other player interaction.

Fields shown for snap points

Snap distance: This controls how close a player must drag a draggble to this snap point before letting go will mean it snaps to the position of the snap point.

Restrict to only these draggables: If you leave this field blank then any draggable can snap to this snap point, however if you select one or more draggables then only these draggables will snap to it.

Related Articles