Tile Engine (MSTE C32)

Tile-based scrolling for legacy CRM32Pro games.

MSTE is a cross-platform tile-based scroll engine for CRM32Pro SDK projects, designed for layered 2D maps, parallax scrolling and Tiled TMX import.

  • CRM32Pro SDK
  • Tile maps
  • TMX import
  • Parallax scrolling
  • LGPL license
Legacy engine module

MSTE is now a legacy CRM32Pro tile engine for maintaining older 2D games and tools. For new projects, use the CRM64Pro GDK, which includes the modern Scene system, TMX/TSX workflows and EditorC64 resource tooling.

Overview

MSTE started as a scroll engine and evolved into a stable, powerful and easy-to-use tile-based engine for building many kinds of 2D games with CRM32Pro.

It supports layered orthogonal maps, runtime viewport control, independent or grouped scrolling layers, auto-scrolling, custom map data and multiple import/export workflows.

Screenshots

MSTE native test map
MSTE Tiled map
MSTE map format example

Details

Map Structure

  • Top-level map entity composed of one or more layers.
  • Orthogonal view.
  • Any number of layers defined at runtime.
  • Viewport and target surface can be changed at runtime.
  • Layers can be independent or grouped, with standard or parallax scrolling.
  • Auto-scrolling support.

Layers and Cells

  • Layers store cell map data and additional attributes.
  • Any map width and height in cells.
  • Individual cells can use any size.
  • Cells reference tiles from a tileset.
  • Any number of tilesets, each with its own size. Tiles larger than a cell extend upward and to the right.
  • Alpha value attribute from 0, fully transparent, to 255, fully opaque.
  • OnUpdateEnd and OnRenderEnd events for each layer.
  • Optional smooth scrolling for cleaner movement.
  • Custom map classes through C++ inheritance for project-specific data.
  • Optional cell-border rendering for grid debugging.

Tilesets and I/O

  • Tilesets contain CRM32Pro_CTile objects for map layers.
  • Tiles can be stored in external files or inside DPF packages.
  • Native XML-based MSM file format, stored externally or in a DPF package.
  • Import BMP/PNG images into a layer.
  • Export a layer to BMP/PNG.
  • Full support for TMX files from Tiled Qt 0.81 or newer.

Platform and Build

  • Available for Windows.
  • Also compiles on Linux and MacOS X, but make files are not provided.
  • Developed in C++ using the CRM32Pro SDK.

Download

Latest version: v1.10 (15-September-2012)
ChangeLog | Roadmap | LGPL license

Binaries
32-bit binaries for supported operating systems.
Documentation
Documentation and reference guide with detailed information.
Source code
Source code and make files for VS2008+ and GNU C/C++ 4.x.
Previous releases
Get access to all releases repository.