Skip to content
This repository was archived by the owner on May 1, 2026. It is now read-only.

ewinters-ca-spark/Map-Editor

Repository files navigation

Map Editor 1.1 (VB6) - 2D floor plans -> 3D walkthrough

Map Editor 1.1 is an old school project (circa 2000-2003) written in Visual Basic 6: a small "level editor" designed to draw house floor plans (walls, floors, ceilings), convert/preview them in 3D, walk around inside them, and place textured 3D objects (props/furniture).

Looking back, it's the kind of project that feels both naive and wildly ambitious for the early 2000s: no modern engines, no ready-made editors-just curiosity, late nights, and a lot of trial and error.

What it can do (quick overview)

  • 2D grid-based editing: create walls, floors, and ceilings as separate elements.
  • Textures and materials: tile textures over surfaces and tweak visual properties (including transparency and a "fake reflection" effect via sphere mapping).
  • 3D preview / walkthrough: generate the 3D scene and explore it with a camera.
  • 3D objects: add external models (supports DirectX .x and 3D Studio .3ds) with textures.
  • Path recording: the codebase includes UI/data structures to record/manage a walkthrough path.

Behind the scenes (early-2000s tech)

The 3D side is powered by:

  • TrueVision3D DX8 (engine + related components like movie/sound)
  • Microsoft DirectX 8 (VB type library: dx8vb.dll)

In short: VB6 drives the UI and the editor logic, while TrueVision3D/DirectX 8 handles the 3D scene (meshes, textures, materials, collision picking).

Repository layout

  • Map Editor.vbp: main project (Map Editor 1.1).
  • Editor_Configurazione_Map_Editor.vbp: separate configuration tool.
  • Map_Editor.frm, Form_*.frm, Module1.bas, Cls*.cls: VB6 sources.
  • Maps/, Textures/, Objects/, Images/, Sound/, Records/: sample assets (maps, textures, models, audio, recordings).

Running / building (honest note)

This repo is published mainly for historical/preservation purposes.

Because it's an early-2000s VB6 project, building/running it today may require:

  • a VB6 setup (often easiest in a period-appropriate VM),
  • legacy VB6 dependencies/OCXs,
  • DirectX 8 for VB and the TrueVision3D DLLs.

If you manage to launch it, you've already won-that's exactly the kind of "software archaeology" this repo aims to keep alive.

Credits

Originally created as a school graduation project (2000-2003).

License

Currently, no license is declared. If you want people to reuse it on GitHub, a permissive license (e.g. MIT) is a common choice; otherwise you can keep it as an archival upload with all rights reserved.

Releases

No releases published

Packages

 
 
 

Contributors