Commit Graph

129 Commits (39f20c8e015723eb728f3d58dc052c4285be39e3)

Author SHA1 Message Date
Martin Felis 39f20c8e01 Some improvements with path smoothing and interactions. 2023-08-28 18:22:28 +02:00
Martin Felis d61ef6ba45 Prepared UnitTest for StreamContainer. 2023-08-28 14:48:54 +02:00
Martin Felis 53b1f7f414 Use instancing for HexTile3D rendering. 2023-08-28 14:03:02 +02:00
Martin Felis 36306b9e01 Some editor changes... 2023-08-28 14:01:23 +02:00
Martin Felis 64e7db9800 Formatting of Game.cs. 2023-08-28 14:01:09 +02:00
Martin Felis 76a7abf22f Minor cleanup in HexTile3D. 2023-08-28 13:59:39 +02:00
Martin Felis 136de4e246 Tweaked export presets. 2023-08-28 13:58:40 +02:00
Martin Felis 232caf2e8b Added NavigationComponent::CheckSweptTriangleCellCollision(). 2023-08-13 22:03:10 +02:00
Martin Felis 0cbff2a298 Minor style cleanup. 2023-08-13 21:20:45 +02:00
Martin Felis cc54b66d55 Added HexGrid::GetCellsForLine(). 2023-08-13 21:18:46 +02:00
Martin Felis 4839bfcb00 Minor style cleanup. 2023-08-13 21:09:41 +02:00
Martin Felis 6c0bff1de1 Tweaked DebugStats UI. 2023-08-13 21:08:12 +02:00
Martin Felis d963c90912 Minor improvement of the NavigationTest scene. 2023-08-12 18:16:45 +02:00
Martin Felis 0ee11e358c Added additional missing equality operators for HexCell. 2023-08-12 15:20:30 +02:00
Martin Felis 3b73480845 HexGrid::SetBounds by default uses AxialCoords which fixes all tests. 2023-08-12 14:28:01 +02:00
Martin Felis 10afa67d85 Better equality operator for HexCell. 2023-08-12 14:27:30 +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 87f7af88f8 Navigation: filtering out invalid start and end points. 2023-07-28 22:22:19 +02:00
Martin Felis b17531e504 Better heuristics to avoid full grid searches. 2023-07-17 22:58:15 +02:00
Martin Felis 667403b334 Better conversion between texture and offset coords. 2023-07-16 22:00:17 +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 f56a5bcaa7 Started working on path finding in HexGrid.cs. 2023-07-15 21:50:38 +02:00
Martin Felis c068663c3c Made rocks and player not pickable. Also reverted ItemAttractor radius to a higher value. 2023-07-15 01:00:58 +02:00
Martin Felis a87ed744f2 Should have been added ages ago. 2023-07-15 00:54:10 +02:00
Martin Felis 2ed41b6236 Pathsmoothing should work now for simple paths... I hope. 2023-07-15 00:39:38 +02:00
Martin Felis d1f59643f0 DebugGeometry has now proper material for better rendering. 2023-07-14 18:19:26 +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 bb64d92fbd Some minor project updates. 2023-07-07 17:27:37 +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 30ef0a3d3e Showing default HexTile3D geometry. MultiMeshInstance has to wait... 2023-07-07 17:20:56 +02:00
Martin Felis 8010fb3d87 Generation Textures now shown optionally. 2023-07-07 17:20:07 +02:00
Martin Felis 469391c7ed Further refactoring for MultiMeshInstance drawing 2023-07-07 16:54:37 +02:00
Martin Felis 56ae5869e8 Started drafting path smoothing algorithm 2023-07-01 09:50:41 +02:00
Martin Felis 0db9a54c52 Removed android build folder 2023-07-01 09:50:24 +02:00
Martin Felis 519754da61 Node references replaced by types (update 3.5.2?) 2023-07-01 09:48:30 +02:00
Martin Felis 469402ccef Bumped default map size to 128 2023-07-01 09:47:40 +02:00
Martin Felis 7070a2de74 Using MultiMeshInstance for the 3D tiles 2023-07-01 09:47:23 +02:00
Martin Felis c8921bfb7b Navigation now grid based again. 2023-06-29 23:07:29 +02:00
Martin Felis adaf5292fb Improved animations and canceling of interactions. 2023-06-27 22:26:22 +02:00
Martin Felis 2e7f30e214 Improved interactions.
- Interactions can now be stopped by both participating Entities.
- Player animation now controlled by AnimationTree.
2023-06-26 22:34:48 +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 6b12be3594 Tweaked spread of gold bars. 2023-06-22 18:35:20 +02:00
Martin Felis af0fb54f23 Reverted HexTile3D scale to 1 such that no HexTile borders are visible. 2023-06-22 18:35:05 +02:00