Commit Graph

1382 Commits

Author SHA1 Message Date
12e7618cd3 Now the dungeons will delete themselves when their teleporter goes out of range in the world. (The world is disabled while in a dungeon, so they won't despawn while the player is inside.) 2021-08-28 00:29:24 +02:00
d4cb1684ca Updated Terraman to get the new chunk_added and chunk_removed signals. 2021-08-28 00:28:05 +02:00
c6ae7518c0 Deactivate / activate the world on teleporting to a dungeon. 2021-08-28 00:09:05 +02:00
5dc0ed2daf Updated terraman. So now the world can be deactivated. 2021-08-28 00:08:41 +02:00
9a8d658643 Now dungeons and teleporters get spawned in the world. They use placeholder graphics for now. 2021-08-27 23:07:58 +02:00
4b5f6253db The dungeon will now spawn plugs. 2021-08-27 19:30:27 +02:00
d6ba00be37 Updated the engine. 2021-08-27 19:29:45 +02:00
d96dbd078f Updated the props module to get the fix for PropInstanceMerger when the prop only has TiledWalls. 2021-08-27 19:28:55 +02:00
99bab47f9f Implemented room overlap checks for the building. It's only 2d for now. 2021-08-27 01:05:03 +02:00
78c08c4f28 Re-generate room points for all the test rooms, and also re-export them to props. 2021-08-26 20:54:10 +02:00
a74fdac778 Updated the props module so copy_from will also copy over the is_room and room_points properties. 2021-08-26 20:53:16 +02:00
bb6109e1f7 Updated the engine. 2021-08-26 12:11:02 +02:00
7ee9a14b01 Small changes to the test dungeon. 2021-08-26 00:18:39 +02:00
4f02de36d9 Material cache support for the character. 2021-08-26 00:15:30 +02:00
44a2507f4c Updated the ess module to get material cache support. Also updated the props module to get a small improvement to material cache initialization. 2021-08-26 00:14:45 +02:00
5dafcde663 Updated the props module. I added collision layer and mask properties to PropInstance and TiledWall. 2021-08-25 22:55:52 +02:00
c9202cf325 Updated the props module to get the collision shape fix for PropinstanceMerger. 2021-08-25 20:39:03 +02:00
022ba329b2 Update the props module to get a crash fix. 2021-08-25 17:25:37 +02:00
98d212dfb8 Updated the engine aswell. 2021-08-25 01:26:47 +02:00
d4442db6fd updated the props module. I fixed a race condition when spawning lots of PropInstanceMergers for the first time. 2021-08-25 01:21:38 +02:00
1d5fff0f06 Figured out room transforms. 2021-08-25 01:03:27 +02:00
2b2d175a66 Initial Building implementation. The room transforms are still broken, will figure them out later. 2021-08-24 21:10:32 +02:00
3af4845a7a Updated the engine. 2021-08-22 00:28:14 +02:00
1b492b863f Added more test rooms and started working on the dungeon class. 2021-08-20 23:53:09 +02:00
7b79378c11 Updated the props module to get collision support for prop based TiledWalls. 2021-08-18 21:20:08 +02:00
861676531b Exported the test rooms into props. 2021-08-18 19:02:32 +02:00
efd0a54d8c Updated the props module again to get TiledWall prop serialization support, and PropInstance and propInstanceMerger support. Now PropInstanceMerger will also properly merge the texture in a different thread. 2021-08-18 19:02:25 +02:00
65fba11bcd Remade the test rooms with TiledWalls. Also committing the rest of the test stuff I made during the last few days to test the portal system. 2021-08-18 17:54:43 +02:00
82c9c627b7 Updated the engine, and the props module to get the TiledWall. 2021-08-18 17:44:56 +02:00
aedf100cee Update the props module. Now portals are saved into props aswell. 2021-08-14 19:02:55 +02:00
93d455909c Updated the props module and the engine. The props module will now build a bit more optimized hulls for the rooms. 2021-08-14 18:39:16 +02:00
8ed08c7852 Updated the mesh_data_resource module. Set the default portal culling mode for MeshDataInsances to PORTAL_MODE_GLOBAL. This disables portal culling for them by default. This change will be reverted once the portal culling system will be able to handle custom GeometryInstances, or I figure out a temporary workaround. 2021-08-14 17:01:37 +02:00
e7c5c01941 Updated the mesh_data_resource module. Now MeshDataInstance is inherited from VisualInstance. Also updated the mesh_utils module. Fixed 2 issues with remove_doubles and remove_doubles_interpolate_normals. And updated the props module. Added a new tool to generate the convex hull for rooms (even if they are in a scene on their own. For example to serialize them into props.). Also work on PropData's support for portals. 2021-08-14 14:41:42 +02:00
883c69d9fb Updated the engine. 2021-08-14 14:36:50 +02:00
f83e53b0a1 Added a test room to help with implementing portal and room support to the prop system. 2021-08-12 20:53:13 +02:00
db225630cc Update the props module and the mesh data resource module so both MeshDataInstance and PropInstanceMerger can be moved even with moving their parents. 2021-08-12 20:26:45 +02:00
e2ace10105 Update the props module again to grab a small optimization. 2021-08-12 19:31:09 +02:00
5528d485b9 Update the props module again. Now auto lods will properly be turned off when there are no or only one mesh is in PropInstanceMerger. 2021-08-12 19:25:14 +02:00
9173d84c40 Also update the engine. 2021-08-12 18:51:46 +02:00
583fadae70 Updated the props module to get the automatic lod change support to PropInstanceMerger. 2021-08-12 18:47:07 +02:00
0356b1e81e After a lot of thinking I created/added a parteon and ko-fi link in case someone want to support me doing all of this insanity. 2021-08-12 16:49:27 +02:00
70a1ebef4c Updated the props module. Now when the scene to prop conversion tool re-converts props the editor will pick up the changes without a restart. 2021-08-11 20:36:24 +02:00
60e7d4af78 Updated the props module, I reimplemented vertex color lights + rao for PropInstanceMerger. Also updated mesh_utils, MeshMerger did not use vector write proxies. 2021-08-11 19:20:26 +02:00
9386627682 Updated the engine. 2021-08-11 19:16:48 +02:00
94681037ff Added a few more small test prop scenes. 2021-08-10 19:10:01 +02:00
364dea8159 Disabled the mesh data resource editor addon. 2021-08-10 19:09:40 +02:00
ab78c3287a Updated the props module to get the new working version of PropInstanceMerger. Updated the mesh_data_resource module to get the MeshDataInstance rework. Updated mesh_utils module now it makes sure to not set zero length arrays/vectors into the built mesh arrays. And updated terraman, I fixed an inefficiency in the mesher. 2021-08-10 19:09:24 +02:00
a6eba13afa Updated the engine. 2021-08-10 19:04:05 +02:00
c16bb42ea1 Updated the props module to get the PropCache singleton rework. Set up the project settings for it. 2021-08-09 22:13:18 +02:00
0fa7176c83 Updated the engine. 2021-08-09 22:05:32 +02:00