arx-tools / arx-level-generator

A node.js library for creating maps for the video game Arx Fatalis
MIT License
6 stars 0 forks source link

add a polygon to the ArxMap during finalization when there are no polygons #15

Closed meszaros-lajos-gyorgy closed 3 months ago

meszaros-lajos-gyorgy commented 3 months ago

If you generate a map with no polygons, then the generated map will crash the map: image

In this case an empty 100×100 quad should be added below the player's feed with the missing texture and a warning should be shown in the console during generation.

meszaros-lajos-gyorgy commented 3 months ago

Implemented in 885da5480ea71fe32e6f50edae686eb74923d4e2