To give you an ad-free browsing experience, this website is completely funded by donations. If you use the information in this article to solve a problem, entertain yourself, or otherwise improve your life, please consider a small donation to help pay for server costs. Many thanks, and enjoy the site!

Game Code

Game Map Editor (Tile-Based) in VB6

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.

Download Code (117 kb)

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

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

 

BSD License
All source code in the above zip file has been released under a BSD License.

 

Related articles:

Discussion (Oldest Comments Displayed First)

Be the first to comment on “Game Map Editor (Tile-Based) in VB6”

Post a comment

Feel free to use any of these tags in your comment: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>