- Tanner Helland (dot) Com - http://www.tannerhelland.com -

Game Map Editor (Tile-Based) in VB6

Posted By Tanner On December 24, 2008 @ 4:19 pm In Game Code | Comments Disabled

Who doesn’t love a classic tile-based game?  VB6 seems to be especially popular for tile games, so I’ve put together a simple tile-based map editor for any aspiring game creators out there.

The demo is pretty self-explanatory – click on the tile bar at the top (with either the left or right mouse button) to select a tile, then click on the large center window to draw that tile onto the map.  Scrolling and zoom are fully implemented, as are saving and loading map files.  I’ve also written the engine using both StretchBlt and PaintPicture, and you can use the combo box on the left to specify a painting method.

The included tile set isn't anything ground-breaking, but it provides a good demo of how the system can work


Article printed from Tanner Helland (dot) Com: http://www.tannerhelland.com

URL to article: http://www.tannerhelland.com/328/tile-based-editor/

All text copyright © 2008 Tanner Helland. To reduce paper and ink usage, all comments, images, and videos have been suppressed on this printing.