noita-tools
noita-tools copied to clipboard
EPIC – Add biome info
Add handling of data/biome/_biomes_all.xml
, the creation of rooms, and migrate lua functions for all biomes in that list, and figure out a good way to display this data without porting Noita's engine into the browser.
Notable notes:
-
RegisterSpawnFunction: (hex: number, functionToRun: function) => void;
Uses the images indata/wang_tiles/${biome}.png
to generate items on those cords (the coords look like they are a square of 10 pixels?, this needs testing) - The creation of the levels is somewhere in the exe, so much digging is needed.
- Since the data jsons are getting large, I think splitting them all and deferring loading is needed now (this will likely at least triple the amount of data sent to the browser)
I think kaliuresis already has a biome display feature for his noita orb atlas site. Unless you're looking for something more detailed, this should shoot some pointers: https://github.com/kaliuresis/noa