Commit Graph

58 Commits (a74145fc57f982a51c08e06f810f68d3af2a95d7)

Author SHA1 Message Date
Martin Felis 7bdda54112 Extremely simple building (placement of workbenches). 2024-01-04 16:41:26 +01:00
Martin Felis ee859886f0 Added CollectibleComponent and refactored GoldBar, Wood and Axe. 2024-01-04 15:45:26 +01:00
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 bfd5eef2f5 Mass reformatting. 2023-11-18 22:32:57 +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 fcc2fdb8d3 Fixed missing ToolAttachment 2023-11-13 20:10:05 +01:00
Martin Felis 71162f9420 Minor cleanup. 2023-11-11 10:58:35 +01:00
Martin Felis 187dac2d85 Interaction now working with streamed entities. Yay! 2023-11-10 16:31:11 +01:00
Martin Felis b968f9b3b2 Navigation with plange angle targets now functional again. 2023-11-10 12:22:17 +01:00
Martin Felis c59d92618b Tile instancing now working, also fixed navigation bounds. 2023-11-10 11:11:08 +01:00
Martin Felis 0160e72eec Fixed angle stuttering when reaching target. 2023-11-01 12:33:04 +01:00
Martin Felis d918da6fd6 Somewhat improved GroundMotionComponent. Still buggy, though. 2023-10-27 23:00:54 +02:00
Martin Felis 39f20c8e01 Some improvements with path smoothing and interactions. 2023-08-28 18:22:28 +02:00
Martin Felis 3f09b3102a FindPath and PathSmoothing somewhat working together. 2023-07-16 20:38:39 +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 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 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 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 c982ec783c Vastly improved interactivity, wired up some animations. 2023-06-23 15:39:40 +02:00
Martin Felis 6b12be3594 Tweaked spread of gold bars. 2023-06-22 18:35:20 +02:00
Martin Felis e84fddf102 WIP: fixing heighmap and colormap mismatch. 2023-05-20 12:27:30 +02:00
Martin Felis 1ae17ed63b Pathplanning now ignores grid. 2023-05-03 12:10:01 +02:00
Martin Felis 3ebf6d76d8 Player collides now with chest. 2023-05-03 12:09:18 +02:00
Martin Felis 55c81d125a GoldBars no more pickable. 2023-05-03 12:01:30 +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 716654a6fd NavigationComponent can handle position and orientation targets. 2023-02-12 16:30:56 +01:00
Martin Felis 14e5d47d91 Initial Chest interaction setup. 2023-01-04 22:49:00 +01:00
Martin Felis e3098c65a3 Simple navigation now working but feels shitty. Keep it for now. 2023-01-04 21:29:42 +01:00
Martin Felis c7349f4cee WIP added navigation component, worked on ground motion component, added hexcell line to and distance functions. 2023-01-03 17:58:07 +01:00
Martin Felis 3ed113dd41 Tweaking GroundMotionComponent 2022-12-31 18:36:52 +01:00
Martin Felis 385ed55505 Started refactoring entity movement and structure. 2022-12-28 21:57:34 +01:00
Martin Felis 041d580550 Noise based map generation, movement component uses height. 2022-12-28 16:22:53 +01:00