Commit Graph

16 Commits (453cfcde000a3c1291af787e1130e3ea6e4674d8)

Author SHA1 Message Date
Martin Felis cfb731c27e Intermediate commit 2023-12-14 17:27:07 +01:00
Martin Felis 2109c6b6ec Moved path planning to world class.
- Tree entities now are obstacles in navigation planning.
 - Once chopped obstacles are removed.
2023-11-18 22:11:34 +01:00
Martin Felis a37b028b39 Refactoring now functional 2023-11-15 20:57:25 +01:00
Martin Felis d2611c6073 Interactions can now end themselves. 2023-11-10 20:22:55 +01:00
Martin Felis 187dac2d85 Interaction now working with streamed entities. Yay! 2023-11-10 16:31:11 +01:00
Martin Felis c59d92618b Tile instancing now working, also fixed navigation bounds. 2023-11-10 11:11:08 +01:00
Martin Felis 4c0a2e7714 Also populate chunks with entities when chunks are being generated. 2023-11-05 21:46:28 +01:00
Martin Felis 928ddd3937 Some improvements on tile instancing. 2023-11-04 19:15:26 +01:00
Martin Felis 0663263bb7 Further cleanup. 2023-11-01 17:59:43 +01:00
Martin Felis 6ca776014b Minor cleanup. 2023-11-01 17:43:47 +01:00
Martin Felis 36be4bc4c8 Refactored map generation and masking.
World now has textures for height and tile types.
2023-11-01 16:02:39 +01:00
Martin Felis a0a3fea598 Chunk based world generation works.
Still missing:
- world population (trees, grass, rocks)
- chunk saving/loading
2023-10-30 22:20:32 +01:00
Martin Felis da09c66cb3 Added SceneTileChunk that is used in WorldView to manage state needed for the visible part of a chunk. 2023-10-23 21:22:53 +02:00
Martin Felis 0ce8a0ddd6 Use Vector2 instead of Tuple<int, int> as identifier for chunks in World.cs.
Means we only have ~ +/-9.000.000 valid coordinates, but that should be enough for now.
2023-10-14 21:54:18 +02:00
Martin Felis 30b70d1d7a Added very basic chunk unloading. 2023-10-08 22:38:35 +02:00
Martin Felis f8819937e1 Some progress in tile streaming prototype 2023-10-05 18:17:48 +02:00