Spawn List not updated after Waveform Builder

Open
#151 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
game-dev

Research direction

Start by reading the WaveformCollapseBuilder build function and random_builder, focusing on when build_data.spawn_list is cleared and whether it is rebuilt afterward. Done looks like Waveform-generated maps have a populated spawn list and the player no longer spawns in walls.

Written by the indexing model from the issue text.

Description

At the end of WaveformCollapseBuilder's build function, build_data.spawn_list.clear(); is called, but there are no more metabuilders added in random_builder to redo the spawnlist, leading to empty maps and the player spawning in walls when using the Waveform method.

Dominant language
Rust
Stars
968
Forks
166
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from amethyst/rustrogueliketutorial

All issues in amethyst/rustrogueliketutorial

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.