Commit Graph

22 Commits

Author SHA1 Message Date
c911f3ccab Implemented terrain tile collider generation. 2022-03-04 12:24:37 +01:00
5567c7da33 Now the isometric mesher's walls get properly y sorted. 2022-03-03 17:57:59 +01:00
324611fc46 Prototype implementation, that makes walls actually work with godot's y sort. It does need tweaks. 2022-03-03 13:22:52 +01:00
6f3eb79f32 Fix placing meshes. Y sorting still doesn't work with them though. 2022-03-03 09:33:34 +01:00
f9fff0162f An another stab at getting y sort to work with walls. 2022-03-03 00:17:40 +01:00
5c6ae3309b Now the job will be able to use the new stored meshes. 2022-03-02 15:22:36 +01:00
b63eed39f9 Added wall mesh transform properties to the world and chunk. Also cleanups the the ChannelFlags enum and added FLAG_CHANNEL_WALL_HOLE to it. 2022-02-26 17:24:45 +01:00
b30c1b9153 Added a new flags default channel. Also added flags enum for it. 2022-02-26 14:56:04 +01:00
f722a9ea6b Remove unused values from the build flags enum. 2022-02-24 17:04:35 +01:00
bac9329808 Lots of cleanups. 2022-02-24 16:55:14 +01:00
7f68d5f794 Changed voxel scale to cell size x and y. 2022-02-24 15:50:47 +01:00
91ffd8d1c3 Now chunks use canvas items. This makes positions work on both rendering backends. 2022-02-24 13:02:01 +01:00
4b3e7accd4 Add some notes. 2022-02-24 12:45:21 +01:00
fb9bace145 Reimplemented world_transform_changed event in chunks. This fixes chunk poitions, but only in gles3. It turns out that the transform parameter of canvas render_mesh is not implemented in gles2. 2022-02-24 12:44:02 +01:00
d47a87934b Added convenience method for just allocating one mesh and switched to it everywhere. Now meshes are actually visible. 2022-02-24 09:40:21 +01:00
2a778660c9 Initial drawing setup. 2022-02-24 09:24:41 +01:00
193b5dee93 More cleanups. 2022-02-23 22:05:33 +01:00
467e862b08 Now the world inherits from Navigation2D. 2022-02-23 20:01:38 +01:00
208d21cd40 Initial 2d conversion step. 2022-02-23 19:38:06 +01:00
da473b0794 Removed the default isolevel channels. 2022-02-23 18:35:34 +01:00
6c60ca107a Replace Terrain to Terrain2D everywhere. 2022-02-22 11:42:28 +01:00
419b7fc9a5 Rename the files. 2022-02-22 11:09:36 +01:00