Commit Graph

29 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
afac386180 Only disable build step limit when not in editor. ALso update Voxelman to the latest to grab a fix. 2020-03-04 21:02:02 +01:00
fc46791887 Smaller improvements for the initial world generation. 2020-03-04 19:47:31 +01:00
f2ac08f7bc Now mobs actually won't move/fall when outside of the loaded and meshed area. Fix to mob spawning coordinates in simple biome. Also update Voxelman to grab the is_position_walkable fix. 2020-03-04 18:42:49 +01:00
69666f37c6 Fix editor freeze on loading saved chunks. 2020-02-26 12:19:55 +01:00
84668b4153 Grab the latest Voxelman, and small amounts of test code. 2020-02-26 01:16:19 +01:00
c77dfd8350 Removed a few more now unused classes, and reorganized the Voxelman folder. 2020-02-13 14:06:56 +01:00