Commit Graph

75 Commits

Author SHA1 Message Date
e9ade41995 Small cleanups and updated Voxelman to the latest, to get the prop job fixes. 2020-10-06 19:26:13 +02:00
3e687befd0 Update Voxelman to the latest. 2020-10-06 00:09:25 +02:00
24d0573c13 The voxel scale is 2 now, and the texture scale is 3. 2020-10-01 13:47:58 +02:00
a76f474758 The texture scale for the world is now 2. 2020-09-27 05:17:20 +02:00
97710f2b56 Updated Voxelman to get the blocky mesher changes. Now the second mesher in the VoxelChunk is a blocky mesher. 2020-08-26 00:20:35 +02:00
29177a4f83 Update voxelman to get the mesher channel customizations. Added an another mesher to TVVoxelChunk, it's using the alt type and isolevel channels (if they are not allocated it won't do anything). 2020-08-21 20:18:16 +02:00
819371fd73 Now the mob level will be also be set properly to match player's on load. 2020-08-03 22:05:35 +02:00
adad0c0778 Now spawned mobs will match the player's level. (For testing.) 2020-08-03 21:51:09 +02:00
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