CodeBase - Minimap using SetSpriteScissor
Return to the CodeBase listing
Category: Basic 2D
Version: 1.0
Information
Uploaded: 8th Feb 2014 07:41
Modified: 1st Jan 1970 01:00
Author: Zwarteziel
Summary
Minimap using SetSpriteScissor: Generates a map from file-data and uses the SetSpriteScissor-command to only display a portion of it
Full Description
Minimap using SetSpriteScissor: Generate a map from file-data using a single sprite, convert it to a large sprite and use the SetSpriteScissor-command to only display a portion of it, thus creating a mini-map that can be used in a game. The code needs a map-file (in \media\maps) which is included in the CodeBase as a .ZIP-file.
Comments
nice code .. the movement speed is a bit too quick