Commit Graph

89 Commits

Author SHA1 Message Date
4e3e9d4bbf Added chunk spawn range, and chunk lod falloff (this is where lod level 0 changes to lod level 1) to the settings, and increased spawn height so mountains are not cut off anymore, and a few small tweaks. Also updated Voxelman to get the lod falloff property. 2020-08-03 19:13:17 +02:00
555d2e1878 Let's not call update_lods() in a loop. This fixes the framerate drops on weaker devices, like phones. Also increase the chunk despawn range by one. 2020-07-28 22:15:29 +02:00
7b5712a996 Make the teleporter work with the dungeon even when it's noit loaded, also fixed and enablen mob spawning in the dungeon. 2020-07-23 00:12:19 +02:00
45534fa29b Update the world generator module to get the generator structure rework, and broken seals module, and the engine. The constant editor crashing is fixed now, it was caused by BiomeBase, because it was inherited from a class in an another module, and apparently that doesn't work. As a bonus the editor also feels a lot snappier now. 2020-07-21 23:02:06 +02:00
f96a66300b Implemented a teleporter, it has a test cube mesh with the brick texture for now, and made the dungeon spawn it. Also work on setting up the dungeon generation. 2020-07-18 22:42:50 +02:00
4084debdad Removed a few now unneeded classes/scenes, and moved some of the around. Small tweaks/fixes and comments. Also updated modules to grab a few smaller fixes/improvements. 2020-07-18 18:30:39 +02:00
ec8e8d0406 Now the level generator won't load planets from a folder, instead they are directly set from the editor, ands tarted porting the dungeon generator from the roguelike project. Also updated the world generator module to get the property type changes, this fixes some of the crashes. 2020-07-18 12:50:17 +02:00
94a90d989c Update the engine and Voxelman to grab the prop related changes. 2020-07-07 18:40:24 +02:00
3cacc01945 Update the game to go with the new modules. 2020-07-06 22:33:56 +02:00
1f52100aaa Update Voxelman, and the engine to the latest and work on getting props to work again. Also brought back the test props. 2020-06-23 20:58:14 +02:00
b587a63f60 Brought back the old VoxelChunk prop spawning implementation. I only made it compile error free for now. 2020-06-23 01:23:35 +02:00
bb955630fc Fix class doesn't exist error. 2020-06-13 15:19:41 +02:00
2dfba2bc97 Update Voxelman to the latest to get the mesher changes. 2020-06-12 19:55:37 +02:00
d4ccb9d743 Update Voxelman and the BS module, because ported the biome generation code to c++. Also now the voxel world only updates lods manually with gdscript. 2020-05-23 22:09:19 +02:00
b4867ec012 Revert the despawn range. 2020-05-23 18:24:25 +02:00
8bf46093e7 Increase the chunk despawn range by one. 2020-05-23 18:13:30 +02:00
c6b4dffc66 Reduced chunk's texture scale to 3. 2020-05-12 16:51:07 +02:00
6ef0a84fbe Renamed the data directory into modules. 2020-04-26 13:36:10 +02:00
37acb59dba Moved materials into the core module aswell. 2020-04-26 13:26:02 +02:00
b0874ebbb6 Renamed voxel_libraries to voxel_library and moved in into the test planet's folder. (Note that the library is at the moment used by World scene, this will be changed later.) 2020-04-26 11:12:20 +02:00
42ab2960cc Moved voxel textures and surfaces into the voxel libraries folder. 2020-04-26 11:09:31 +02:00
fee3ba9137 Grouped the files of my current test planet together, and made the planet loading code use the new folder structure. 2020-04-26 10:59:22 +02:00
162f9c3bd2 Moved around a few folders. 2020-04-26 10:10:07 +02:00
dee366cbf7 Now entities create their own bodies when they are missing. Also update ESS to the latest to get the body-related changes. 2020-04-24 13:48:54 +02:00
1de820dfcc Now the game pretty much supports modding. MainScene will now look through the project opening all files named game_module.tres and in alphabetic order of their resource_path if exist it calls load_module on them. ESS's resourcedb is now created by MainScene, and it's the static type, with id remapping on. Append your resourcedbs into it. See game_module.gd. Also updated HEADS to grab the latest ESS. 2020-04-18 20:58:43 +02:00
dada397e92 Update HEADS to get the new ESS changes. Because of these changes the Entities autoload is now removed, it's code/functionality has been brought into a new bs_entity_spawner resource. 2020-04-18 14:35:28 +02:00
b776f0cf2f Update HEADS, to grab the latest voxelman. Also smaller doc-related fixes to the other modules. 2020-04-18 02:55:13 +02:00
b15c97b099 Update HEADS. Removed the air block, as it's no longer needed. 2020-04-17 00:39:46 +02:00
68157fa433 Update Voxelman to the latest. 2020-04-06 14:53:27 +02:00
590238216c Update Voxelman to the latest. 2020-04-06 14:40:14 +02:00
c992c0e545 Update to the latest Voxelman. 2020-04-06 01:12:07 +02:00
156d24bee7 Update Voxelman to the latest to grab the new improvements. 2020-04-05 02:27:39 +02:00
768af776e4 Update every module, to get the prop refactors. 2020-04-04 17:29:23 +02:00
7b763a8f8b Remove nonexistent function call. 2020-04-03 00:44:03 +02:00
8b53d559b6 Update every module, to grab recent improvements/fixes. Update everything to work with the latest Voxelman. 2020-04-02 21:40:08 +02:00
33ea27207e Fix running the game. 2020-03-31 13:43:01 +02:00
df960a8ce5 Make chunk lod selection linear. 2020-03-30 23:33:15 +02:00
874891cbe9 Removed lod code from TVVoxelChunk as it got ported to Voxelman. Update HEADS to get the new version. 2020-03-30 19:48:41 +02:00
29e61139a8 Update Voxelman to grab the mesh storage generalization. This simplifies the lod code a bit. 2020-03-30 18:35:52 +02:00
7c9b916a61 Ported bake_mesh_array_uv and bake_mesh_array_uv into VoxelChunk. 2020-03-30 14:58:57 +02:00
e16524ff9d Chunks should start at lod level 0. 2020-03-30 01:38:14 +02:00
205abe67a7 Fully implemented lod. Lod level 1 just drops the uv2 channel, lod level 2 merges together the meshes, lod level 3 drops the uv channel by sampling the textures into vertex color. Updated HEADS to grab a voxelman change. Also temporarily disabled threaded chunk builds because I introduced (or made manifest) a crash. 2020-03-30 01:22:25 +02:00
066c43b48a Started implementing lod for the world. The current idea is for Lod level 1 to not use uv2. For lod level 2+ the meshes will be combined and the texture mapping will be converted to only vertex colors, and these will be simplified. Also update the modules to get all the new features needed. 2020-03-29 21:30:40 +02:00
0c99bd0d35 Update HEADS, and remove the code that got ported to Voxelman. 2020-03-15 19:36:35 +01:00
16d4c9ae2e Update to the latest Voxelman, to get the VoxelChunk->VoxelChunk,VoxelChunkDefault refactor. 2020-03-12 23:26:19 +01:00
ae0d64a069 Few small fixes/cleanups. Also updated heads to get an uninitialized variable fix from ESS. This fixed player spawning issues. 2020-03-12 13:50:14 +01:00
c00ae9b9bb Implemented mana. Also updated HEADS, as ESS had lots of changes for EntityResources so this can work. 2020-03-11 16:38:01 +01:00
704aa85e93 This is part of the debug code aswell. 2020-03-10 12:16:41 +01:00
2717880233 text code for the mesh simplifier. It is commented out. 2020-03-10 10:59:16 +01:00
ce8290329b Update Voxelman to the latest to grab the improvements. 2020-03-06 21:32:52 +01:00