SUPERCART
Three.js 网页版卡丁车竞速
⚠ 模块加载失败
你是直接双击打开的 index.html,浏览器的安全策略(CORS)会拦截 ES Module 的加载。
两种解决方法,任选其一:
① 双击打开同目录下的 mario-cart-standalone.html
(单文件版,Three.js 已内联,无需服务器、无需联网,推荐)
② 在本目录起一个静态服务器
cd mario-cart && python3 -m http.server 8080
然后浏览器访问 http://localhost:8080/index.html