CodingTrain / CodingTrain/Wave-Function-Collapse
Register only the correct amount of tiles by rotation
- Linguagem predominante
- JavaScript
- Estrelas
- 218
- Forks
- 64
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- javascript
- Domínio
- game-dev
- Tipo de issue
- Funcionalidade
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 25/100