CodingTrain / CodingTrain/Wave-Function-Collapse
Register only the correct amount of tiles by rotation
- 主要語言
- JavaScript
- 星號
- 218
- 分支
- 64
- PR 合併指標
- 30 天內沒有已合併 PR
描述
In this branch of my fork https://github.com/MrAmericanMike/Wave-Function-Collapse/tree/better-tile-initialization
I created an "addTile" function. Basically what it does is push a new tile to the tiles array and if rotation is greater than 1 it will grab the last tile from the tiles array and push it as a new tile rotated 90º. (Notice we always rotate 90º as we are using the last tile from the array.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
Start by comparing the repository with the better-tile-initialization branch in the linked fork, focusing on the addTile function and the tiles array described in the issue. Trace how rotation values register tiles, then verify that the resulting array contains only the intended number of rotated tiles.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- game-dev
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100