Commit Graph

50 Commits

Author SHA1 Message Date
Relintai 3d38c6e5ef Updated the readme. 2023-01-09 21:02:15 +01:00
Relintai 04f382e23d Work on fixing compile. 2023-01-09 20:06:10 +01:00
Relintai 60c28df4a9 Work on fixing compile. 2023-01-09 14:10:32 +01:00
Relintai 38e4bb3203 Work on fixing compile. 2023-01-09 01:17:02 +01:00
Relintai e06657b0cb Updated register_types.h and cpp to the current godot 4 style. 2023-01-08 15:55:33 +01:00
Relintai a45822b635 Fix Prop2dDataSprite's serialization. 2022-02-26 00:03:59 +01:00
Relintai 2efb03b6d2 Clean up Prop2DSceneInstance. 2022-02-25 23:57:33 +01:00
Relintai 4eb6cf82de Initial cleanup and logic update for Prop2DInstance, and Prop2DInstanceMerger. 2022-02-25 23:50:40 +01:00
Relintai 38a3678422 Moved the prop convert button to the canvas editor. Also changed it's style. 2022-02-25 22:43:34 +01:00
Relintai 3c9ae1a391 Updated the serialization logic in all of the PropDataEntries. 2022-02-25 13:54:14 +01:00
Relintai 8c4540a2a6 Update Prop2DDataLight. 2022-02-25 10:38:48 +01:00
Relintai 69b1015221 Added Prop2DDataSprite to the build. 2022-02-25 09:20:48 +01:00
Relintai 7a0be14d51 Updated the virtual method bindings in PropDataEntry. 2022-02-25 09:14:57 +01:00
Relintai 9ad81dd1a9 Added PropDataSprite. 2022-02-24 23:25:52 +01:00
Relintai 4b876aad7b Improved the prop serialization api. And added Node2D and CanvasItem serialization to DataEntry. 2022-02-24 23:25:39 +01:00
Relintai ce69529ceb Turn off lights for the TiledWall. 2022-02-23 15:36:34 +01:00
Relintai 1c3c556d98 Removed the test light code. 2022-02-23 15:27:16 +01:00
Relintai 94341db45e Added a property for the mesh transform. Maybe later I'll make a ui that helps setting it up as isometric. 2022-02-23 15:24:19 +01:00
Relintai 35c0e33df2 Added a mesh transform property to TiledWall2D. It's not bound yet, as I'm thinking about how to do it. It can be used to create isometric meshes. Also reworked editor click selection, now that the meshes are not just the same size as the rect. 2022-02-23 13:05:58 +01:00
Relintai 06cd0a9a9e Now tiled wall is editable in the editor with the rect selection thing. 2022-02-23 10:04:52 +01:00
Relintai 11ead96592 Re-implement material support in TiledWall2D. 2022-02-23 09:46:07 +01:00
Relintai 40f65c843f Added pixels_per_nit property to the prop mesher. Uses the value set in the Prop2DCache singleton by default. Made the light calculation scale with it, so now light are defined in pixels aswell. 2022-02-23 09:38:07 +01:00
Relintai 37b2ab5b5e Added default_pixels_per_unit property to the Prop2DCache singleton. 2022-02-23 09:36:45 +01:00
Relintai 5e12fc6525 Make 2d tiled walls pixel perfect, just like the engine expects. 2022-02-23 08:59:52 +01:00
Relintai b9b151414a Also remove multiple material support from TiledWall2D. 2022-02-23 08:39:01 +01:00
Relintai 4b8edd9567 More cleanups. 2022-02-23 08:33:23 +01:00
Relintai ef202ae590 Cleanups. 2022-02-23 08:28:12 +01:00
Relintai 030eee10f3 Removed multiple materials from the PropCache singleton. 2022-02-23 08:23:16 +01:00
Relintai cca967333d Removed multiple material support from the MaterialCache. Multiple material support was built for lods, and it's not needed here. 2022-02-23 02:34:15 +01:00
Relintai 3cde50a5c5 Cleanups. 2022-02-23 01:56:12 +01:00
Relintai 9cd631a36c More cleanups to the mesher. 2022-02-23 01:52:18 +01:00
Relintai 9ae6cd5a0b Remvoe some of the normal and uv2 related getters and setters from the mesher. 2022-02-23 01:44:54 +01:00
Relintai 10f58baf27 Flip the generated uvs. 2022-02-23 01:19:02 +01:00
Relintai b02e73d17a Test setup for baked lights. 2022-02-23 00:22:25 +01:00
Relintai 8eaa94f0dc Look for terraman 2d instead of just terraman. 2022-02-23 00:15:25 +01:00
Relintai 875f338a88 Notes. 2022-02-23 00:08:29 +01:00
Relintai 56a786800b Remove normals and uv2 from the final mesh in Prop2DMesher's build_mesh. I haven't removed them internally yet. 2022-02-23 00:05:16 +01:00
Relintai 3cb79bfffb Initial working prototype for TiledWall2D. 2022-02-22 23:38:45 +01:00
Relintai da8922e123 Started reworking TiledWall. 2022-02-22 21:41:09 +01:00
Relintai 828863d638 Added a Transform2D property to PropDataEntry, and also changed the processor api to use Transform2Ds. I did not yet remove the 3D transforms, as it would break too much code right now. 2022-02-22 19:05:10 +01:00
Relintai bb6f76dbf0 Removed job steps, as 2d will not need lods. 2022-02-22 14:27:39 +01:00
Relintai 1b5d2102bc Fix a 2D2D. 2022-02-21 22:13:52 +01:00
Relintai 104549adcc Add 2D postfix to the classes. 2022-02-21 22:12:25 +01:00
Relintai 79366df39e Update the include guards. 2022-02-21 22:07:03 +01:00
Relintai 9c076cb694 Add 2d to the file names. 2022-02-21 22:02:46 +01:00
Relintai b95db8d786 Started over. Added everythong from the props module again. 2022-02-21 17:09:00 +01:00
Relintai 6f802fcf68 Postfix every class with 2D. 2021-11-24 14:00:16 +01:00
Relintai ee35479d38 Postfixed every file with 2d. And changed include guards. 2021-11-23 18:19:01 +01:00
Relintai 4ba39e4438 Fix compile. 2021-11-23 17:11:38 +01:00
Relintai 0bb9bb898c Initial commit. 2021-11-23 16:53:47 +01:00