TerraCraft/game
Valentin Valls b86038301b
Extend world generation (#51)
* Rework the texture mapping to use human logical indexes (top-down)

* Use a bigger texture

* Add stone blocks with ore

* Rework the generator to also split sectors vertically

* Create a noise module to handle octaves

* Use the new noise class

* Generate underground

* Make the code independant from the size of the section

* Speed up sectorize

* Create a world module for world model and sector

* Use the default world queue to register new sectors

* At start put the player on the summit

* Collide the player with the enclosure

* Add a get_focus_block

* Set sector size to 8

* Improve the world structure for dense maps

* Speed up exposed method

* Tune the visibility distance

* Create a single vertex list per section

* Use constances
2020-05-25 08:53:04 +09:00
..
blocks.py Extend world generation (#51) 2020-05-25 08:53:04 +09:00
config.py Extend world generation (#51) 2020-05-25 08:53:04 +09:00
genworld.py Extend world generation (#51) 2020-05-25 08:53:04 +09:00
graphics.py added HILLS_ON and pep8 compliance 2019-09-08 20:12:33 -06:00
noise.py Extend world generation (#51) 2020-05-25 08:53:04 +09:00
savemanager.py added HILLS_ON and pep8 compliance 2019-09-08 20:12:33 -06:00
scenemanager.py fixed 100 char compliance 2019-09-08 20:41:13 -06:00
scenes.py Extend world generation (#51) 2020-05-25 08:53:04 +09:00
utilities.py Extend world generation (#51) 2020-05-25 08:53:04 +09:00
world.py Extend world generation (#51) 2020-05-25 08:53:04 +09:00