Skip to content

很多场景_More scenarios

Choose a tag to compare

@GSvegetable GSvegetable released this 09 Nov 23:22
· 50 commits to main since this release

v1.3.0 - 多场景微缩世界引擎

本次更新将原本单一的乡村小屋,扩展为 5 个完全独立的像素世界,让组件进化为一套微缩世界引擎。

🗺️ 新增场景系统

通过 data-scene 参数,你可以自由切换场景:

  • village:乡村小屋(默认)
  • street:日本街道(店铺、暖帘、自动售货机)
  • apartment:现代公寓(城市窗景、沙发、落地灯)
  • beach:海边(海面、沙滩、灯塔、帆船)
  • mountain:山间木屋(层叠山脉、针叶林、雪顶)

🛠️ 实验室升级

  • Playground 新增了场景选择器。
  • 可以一边切换场景,一边调整物理和玻璃参数,实时查看效果并生成代码。

📦 文档与兼容性

  • README 和 CHANGELOG 采用折叠优化,保持页面清爽。
  • 100% 向下兼容,原有接入代码不受任何影响。

🇺🇸 Click here to expand English Version (点击展开英文版)

v1.3.0 - Multi-Scene Pixel World Engine

This update expands the original single village scene into 5 fully independent pixel worlds, transforming the component into a miniature world engine.

🗺️ New Scene System
You can now switch between scenes using the data-scene parameter:

  • village: Original Country House (Default)
  • street: Japanese Street (Shops, noren, vending machines)
  • apartment: Modern Apartment (City view, sofa, floor lamp)
  • beach: Seaside (Ocean, sand, lighthouse, sailboat)
  • mountain: Mountain Cabin (Layered mountains, pine forest, snow caps)

🛠️ Playground Upgrade

  • Added a scene selector to the Playground.
  • You can now switch scenes while adjusting physics and glass parameters in real-time.

📦 Docs & Compatibility

  • Optimized README and CHANGELOG with collapsible sections for cleaner reading.
  • 100% backward compatible. Existing integration code requires zero changes.