My AGS Modules

AStar 0.4

Credits 0.1

Rolling credits

How to use: see the example room script linked below

GotThere 0.5

Use a non-blocking, cancelable walk when interacting with areas

This module provides a single function:

bool WalkFace(int x, int y, CharacterDirection dir)

Use it like this:

function hSomeHotspot_Interact() {
  if (WalkFace(123, 45, eDirectionLeft)) {
    // what happens when the player reaches those coordinates goes in here
  }
}

AGS forums thread

Jigsaw 0.4

Jigsaw screenshot

Generate puzzle pieces from an image and let the player solve it by dragging & dropping

Jigsaw.Setup(int slot, int cols, int rows, int snapDistance, optional xOffset, optional yOffset)

slot: the sprite slot containing the puzzle image
cols, rows: the number of columns and rows of the puzzle grid
snapDistance: the maximum x and y distance in pixels from the correct position where a dropped piece will snap in place

xOffset, yOffset: move the top left corner to an arbitray point on screen

AGS forums thread (for now)

MusicPlayer 0.2