A lightweight 2.5D city-building simulation game based on Three.js and Vue.
Welcome to CubeCity! This is a cartoon-style 2.5D city simulation game where you can build, manage, and expand your very own metropolis. Place buildings, lay down roads, and watch your city grow as you manage resources and expand your territory.

| 界面总览 | 城市一隅 | 离线存储 |
|---|---|---|
![]() | ![]() | ![]() |
游戏主要围绕四种操作模式展开,让你轻松管理城市的方方面面:
🔍 选择模式 (SELECT):
🏗️ 建造模式 (BUILD):
🚚 搬迁模式 (RELOCATE):
💣 拆除模式 (DEMOLISH):
我们计划在未来为游戏增加更多有趣的功能,包括:
This project is licensed under the MIT License.
将项目 Fork 到自己组织下,然后直接通过CNB界面的Game Start!启动游戏。

游戏默认是自动存在在浏览器本地缓存的,但因为CNB启动远程环境的host每次都会变更,导致下次游玩时,存档丢失。所以需要手动将存档备份下来。按照此方法可以实现游戏存档的备份和还原。
在游戏界面打开控制台,输入以下指令:window.localStorage.getItem('gameState'),然后点击复制。将复制的字符串内容自行保存。

输入以下指令:window.localStorage.setItem('gameState', 存档字符串),复制后回车,然后刷新页面,即可读取到存档。