Commit Graph

16 Commits

Author SHA1 Message Date
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