Skip to content

Latest commit

 

History

History
97 lines (71 loc) · 1.47 KB

File metadata and controls

97 lines (71 loc) · 1.47 KB

Map Editor

English | 简体中文

Map Editor Logo

A simple yet powerful tile map editor for creating and editing 2D game maps.

Sceeenshot 2

Features

  • 🎨 Tileset Management

    • Import images and automatically slice into tiles
    • Custom tile size support
    • Preview and select tiles
  • 📝 Layer Operations

    • Multi-layer support
    • Show/hide layers
    • Adjust layer order
    • Clear layer content
  • 🎯 Editing Tools

    • Grid assistance (solid/dashed)
    • Zoom and pan
    • Undo/redo
    • Quick fill
    • Random distribution
    • Eraser tool
  • 💾 Import/Export

    • Export as PNG image
    • Export as JSON format
    • Import JSON for continued editing
  • 🌈 UI Customization

    • Dark/Light theme toggle
    • Chinese/English language switch
    • Responsive layout

Local Development

Requirements

  • Node.js >= 16
  • npm >= 8

Installation

  1. Clone repository
git clone https://github.com/bruceman/map-editor.git
cd map-editor
  1. Install dependencies
npm install
  1. Start development server
npm run dev
  1. Open in browser
http://localhost:5173

Technologies

  • React 19
  • TypeScript
  • Material-UI (MUI)
  • Konva.js
  • Zustand
  • Vite
  • i18n (Internationalization)

Development

  • Build for production
npm run build
  • Code linting
npm run lint

License

MIT