You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In chapter 40, there is an update to the code of WaveformCollapseBuilder (introduced in chapter 33).
It adds a try limit to the solver loop to avoid an infinite (or at least a very long) loop.
(Not sure, but I think the additional lines to clear spawn_list, rooms, and corridors after making a copy of the map are also part of the fix).
However, this is not mentioned anywhere in the chapter (or in the book), so people will have to power through the following chapters with a level generation that breaks regularly.
The text was updated successfully, but these errors were encountered:
PierreGuyot
changed the title
[Chapter 40] Content does not match the updated code
[Chapter 40] Stealth fix for chapter 33 is not mentioned in the course
Jan 15, 2025
rustrogueliketutorial/chapter-40-doors/src/map_builders/waveform_collapse/mod.rs
Lines 40 to 41 in 33872fe
In chapter 40, there is an update to the code of
WaveformCollapseBuilder
(introduced in chapter 33).It adds a try limit to the solver loop to avoid an infinite (or at least a very long) loop.
(Not sure, but I think the additional lines to clear
spawn_list
,rooms
, andcorridors
after making a copy of the map are also part of the fix).However, this is not mentioned anywhere in the chapter (or in the book), so people will have to power through the following chapters with a level generation that breaks regularly.
The text was updated successfully, but these errors were encountered: