Commit Graph

51 Commits (4c9f6e58153d749af1167e184909a66a13335906)

Author SHA1 Message Date
Martin Felis 4c9f6e5815 Added shrug animation when interaction is not possible. 2024-01-01 17:01:00 +01:00
Martin Felis ce53cdba6a Tree chopping only possible with axe. 2024-01-01 16:07:27 +01:00
Martin Felis b6b11228a5 Added Wood entity, trees drop 1-2 Wood logs when chopped. 2024-01-01 15:56:56 +01:00
Martin Felis 06b808c10d Fixed tile masks, made path smoothing optional. 2023-12-29 17:43:04 +01:00
Martin Felis 7d0e0b23bd Added TileTypeInfo to store tile masks. 2023-12-29 09:26:43 +01:00
Martin Felis cfb731c27e Intermediate commit 2023-12-14 17:27:07 +01:00
Martin Felis a37b028b39 Refactoring now functional 2023-11-15 20:57:25 +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 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 f8819937e1 Some progress in tile streaming prototype 2023-10-05 18:17:48 +02:00
Martin Felis e2bb11380d Made debug UI more readable by using float formatting. 2023-09-26 17:00:25 +02:00
Martin Felis 53b1f7f414 Use instancing for HexTile3D rendering. 2023-08-28 14:03:02 +02:00
Martin Felis 6c0bff1de1 Tweaked DebugStats UI. 2023-08-13 21:08:12 +02:00
Martin Felis 5b6efaebe9 Spawn chests randomly and also mark according tiles as non-walkable. 2023-08-12 12:55:17 +02:00
Martin Felis e759d6d3d5 Fixed world generation artefacts after changing world size. 2023-07-28 22:23:41 +02:00
Martin Felis cfd693938e Minor fixes. 2023-07-16 21:52:09 +02:00
Martin Felis 3f09b3102a FindPath and PathSmoothing somewhat working together. 2023-07-16 20:38:39 +02:00
Martin Felis 2ed41b6236 Pathsmoothing should work now for simple paths... I hope. 2023-07-15 00:39:38 +02:00
Martin Felis efb934c441 Minor cleanup path smoothing and entities scenes. 2023-07-14 18:03:50 +02:00
Martin Felis 42d7658d03 Some effort for path smoothing. 2023-07-09 22:18:25 +02:00
Martin Felis 1397c0a7eb Started working on navigation / editing sandbox. 2023-07-09 00:16:37 +02:00
Martin Felis aaf9c85be7 Moved Player entity in separate scene 2023-07-08 18:57:18 +02:00
Martin Felis 5f3600e0e9 Added debug drawing helper class, navigation planning is only done once instead of every frame. 2023-07-07 17:27:05 +02:00
Martin Felis 8010fb3d87 Generation Textures now shown optionally. 2023-07-07 17:20:07 +02:00
Martin Felis 469402ccef Bumped default map size to 128 2023-07-01 09:47:40 +02:00
Martin Felis 22ad86319d Animated the gold count label. 2023-06-24 16:59:40 +02:00
Martin Felis c982ec783c Vastly improved interactivity, wired up some animations. 2023-06-23 15:39:40 +02:00
Martin Felis 2663b469fc Added axe, and basic animation of player character. 2023-06-22 18:50:52 +02:00
Martin Felis 9896d0896a Added trees 2023-06-22 18:34:39 +02:00
Martin Felis f21db2ac4f Started populating generated islands. 2023-06-11 22:04:22 +02:00
Martin Felis a40d0aa60b Connect TileWorld size with WorldGenerator UI. 2023-06-11 13:28:33 +02:00
Martin Felis ed29cc1288 Properly center StreamContainer at center of camera. 2023-06-11 13:22:13 +02:00
Martin Felis 6afc0f3424 Minor Scene and GUI cleanup. 2023-06-11 12:45:09 +02:00
Martin Felis 4b153bb6b5 Fixed world height and color texture lookup. 2023-06-10 17:29:02 +02:00
Martin Felis 55da2346d3 WIP: still fixing heighmap and colormap mismatch. 2023-05-20 21:36:32 +02:00
Martin Felis e84fddf102 WIP: fixing heighmap and colormap mismatch. 2023-05-20 12:27:30 +02:00
Martin Felis d3a36f438b Getting generated color texture works, now fix the height offset... 2023-05-11 22:26:06 +02:00
Martin Felis 4c92a6c5c3 WIP: HexTile3D coloring based on TileWorld Colormap. 2023-05-05 16:26:33 +02:00
Martin Felis f7dca6ae20 Fixed orientation-then-interaction. 2023-05-01 19:22:14 +02:00
Martin Felis 37d9497379 Cleaned up assets/ folder 2023-04-30 14:17:10 +02:00
Martin Felis 0992976277 Add missing gold bar assets 2023-04-30 13:41:38 +02:00
Martin Felis 8d439e518b Gold bars are now spawned from chests. 2023-04-28 14:27:25 +02:00
Martin Felis 1597903d13 Added ClickableComponent. Not sure what to do with it, though... 2023-04-28 14:20:52 +02:00
Martin Felis 3e90e3fad0 Minor improvements? 2023-02-15 20:59:22 +01:00
Martin Felis 3a652ef683 Interaction with Chests! 2023-02-12 21:15:00 +01:00
Martin Felis f3108b13f5 Slight movement improvements. 2023-02-12 16:44:48 +01:00