Skip to content
项目

关于

IsoCity:城市建设模拟游戏。

游戏与模拟器

这些数字如何统计

可以做什么

  • Isometric Rendering Engine: Rendering with HTML5 Canvas (CanvasIsometricGrid) capable of handling complex depth sorting, layer management, and both image and canvas sprites.
  • Traffic System: Autonomous vehicles including cars, trains, planes, buses, and seaplanes.
  • Trains, bridges, buses, barges, and more: Vehicles will navigate throughout your city and respect traffic lights.
  • Pedestrian System: Pathfinding and crowd simulation for city inhabitants.

实测星标增长

24小时
0
7天
+2
15天
+6
1个月
+21

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

IsoCity & IsoCoaster

Open-source isometric city and theme park builder built with NextJS, TypeScript, and HTML5 Canvas.

IsoCity IsoCoaster
City builder with trains, planes, cars, and pedestrians
iso-city.com
Theme park builder with roller coasters, rides, and guests
iso-coaster.com

Made with Cursor.

Features

  • Isometric Rendering Engine: Rendering with HTML5 Canvas (CanvasIsometricGrid) capable of handling complex depth sorting, layer management, and both image and canvas sprites.
  • Dynamic Simulation:
    • Traffic System: Autonomous vehicles including cars, trains, planes, buses, and seaplanes.
    • Trains, bridges, buses, barges, and more: Vehicles will navigate throughout your city and respect traffic lights.
    • Pedestrian System: Pathfinding and crowd simulation for city inhabitants.
    • Economy & Resources: Resource management, zoning (Residential, Commercial, Industrial), and city growth logic.
  • Interactive Grid: Tile-based placement system for buildings, roads, rail, parks, utilities, and more.
  • State Management: Save and load functionality for multiple cities.
  • Responsive Design: Mobile-friendly interface with touch friendly controls, drawers, and toolbars.

Tech Stack

  • Framework: Next.js 16
  • Language: TypeScript
  • Graphics: HTML5 Canvas (No external game engine libraries; pure native implementation).
  • Icons: Lucide React icons.

Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • npm

Installation

  1. Clone the repository

    git clone https://github.com/amilich/isometric-city.git
    cd isometric-city
    
  2. Install dependencies

    npm install
    
  3. Run the development server

    npm run dev
    
  4. Open the game Visit http://localhost:3000 to play IsoCity. Visit http://localhost:3000/coaster for IsoCoaster.

Contributing

Contributions, bug reports, and feature requests are welcome.

License

Distributed under the MIT License. See LICENSE for more information.

探索相关项目

加载中…