Commit Graph

148 Commits

Author SHA1 Message Date
ffe566b0ac Removed parent_positions from WorldGenBaseResources, and also removed the setup() method. I'ts better this way, as they are resources, and now they can be reused (even though the gui itself doesn't support it). Spawning code is also simpler. 2022-08-04 20:05:19 +02:00
345aa62ed4 Now the dungeon spawner also uses local coordinates. 2022-08-04 19:58:27 +02:00
0ae9d239a4 Reworked how spawn positions work in the world_generator addon. Now all resources have ovverridable methods, and all of them are collected based on those. Also now the spawner works in local space. 2022-08-04 19:40:21 +02:00
337dcdaa49 Now dungeons won't get spawned randomly by the zone, instead they are spawned by a new subzone class. 2022-07-31 19:41:12 +02:00
f0b6dfa434 Updated the engine. I added Vector2i, Vector3i, Rect2i, PoolVector2i, PoolVector3i, and StringName support for variants. Also smaller improvements, and backports. 2022-03-22 02:14:33 +01:00
5407ec44ce Fill the liquid isolevel channel with the water isolevel. 2022-03-09 19:13:38 +01:00
194d611f27 Cleaned up the test continent. 2022-03-09 19:10:42 +01:00
b0dbbe94dd Make the zone transition a bit smoother. 2022-03-09 19:09:06 +01:00
c5f1ec4384 Now the forest is generated by the test zone. 2022-03-09 19:03:37 +01:00
3fc2096b27 Fix typo. 2022-03-09 18:50:44 +01:00
ec0ab8fe02 Added a h separator to the test continent's properties. 2022-03-09 18:50:11 +01:00
2923ee154a The test continent won't set surface types anymore. 2022-03-09 18:17:20 +01:00
67addb8e9d Now the default surface's id is customizable in the ocean base world. 2022-03-09 18:16:05 +01:00
d7e133e446 Managed to figure out a way to make the new continent code work. Also made it the default. 2022-03-09 18:08:23 +01:00
45f5631763 Restored the old world generation algorithm. Also committing some experiments. 2022-03-09 10:36:11 +01:00
62990d5c9c Fix the ocean appearing even when the terrain height is greater than the water level. 2022-03-09 10:35:39 +01:00
5e907a9267 Cleanups to the test continent, and disabled the current generation algorithm in it. It will be moved around. 2022-03-08 21:00:11 +01:00
d252a2e977 Set up a base ocean layer for the world. 2022-03-08 18:21:59 +01:00
6d4f0fe089 Added tool keyword to the dungeon teleporters, so they can be spawned in to the editor without errors. 2022-02-19 10:51:59 +01:00
64c39c4444 Added a new WorldGenRaycast class, and now world generator will use this instead of a stack and stack index to make the data available to the generation methods. Also added local uv to it. 2022-02-19 10:41:33 +01:00
f4c05de692 Increase the minimum size of the smoothed terrain below the teleporter by one. 2022-02-13 18:20:33 +01:00
3e88eaaa11 Fixed dungeon spawner spawn locations both in the test dungeon and in the world. Also now in the world the generator creates a little plateau for them. 2022-02-13 17:52:33 +01:00
df071af39c Now the dungeon teleporters switch between 2 materials for hover / normal states. This way only the hovered one will light up, instead of all. Also reworked them to use mesh data resources. 2022-02-13 15:52:19 +01:00
7aee50c2ea Also moved the vman dungeon script. 2022-02-13 15:12:27 +01:00
eeff6412d9 Moved the dungeon teleporter scripts. 2022-02-13 15:12:00 +01:00
94f322cbd2 Moved the dungeon script from under world to scripts. 2022-02-13 15:11:22 +01:00
b131b94211 Rename the dungeon script in scripts. 2022-02-13 15:10:46 +01:00
926922572f Moved the world_generator folder under scripts. 2022-02-12 20:06:13 +01:00
04b43919bb Moved the ingame basic player ui elements into a new subfolder. 2022-02-12 19:45:36 +01:00
232aae5726 Updated the modules to the latest. I changed the Terra and Terraman class prefixes to Terrain. 2022-02-08 14:44:37 +01:00
1a509a9751 Added a description and a dependencies property to game module. 2022-01-26 17:46:44 +01:00
36f7565cc6 Merged spell_script_gd and aura_script. 2022-01-12 19:35:37 +01:00
9d0feb2379 Fix method call. 2022-01-12 19:30:22 +01:00
197dbcc1e3 aura_script now inherits from gs_spell_script. Also updated spell script's handle_effect, to the new style. 2022-01-12 19:14:10 +01:00
7d57bbbd56 aura_script.gd now overrides the proper (new) methods. 2022-01-12 17:43:58 +01:00
2a08f5de05 Updated ESS, to get the Aura and Spell merge. Still a few smaller isuues linger around. They will be fixed in a few hours. 2022-01-12 15:55:18 +01:00
2d5e17b5be Fix more issues after the aura property renames. Also updated ESS to get property grouping improvements. 2022-01-12 12:06:00 +01:00
b70976e98b Update aura script.gd. 2022-01-12 11:29:20 +01:00
da3109f98f Also remove the MainTPlanetGenerator. 2021-12-27 16:55:51 +01:00
9fad900a51 The world generator now will look up the a spawner node, and get the starting coordinates from it. 2021-12-27 03:50:11 +01:00
0c96328005 Ported the current world generator to the new addon. Now the world in-game uses the new world generator's resource to generate the terrain. 2021-12-26 21:14:41 +01:00
a643072963 Fixed missing VoxelWorld class error. 2021-12-19 14:20:47 +01:00
fcf4e520e9 Now the generated terrain and dungeons are actually seeded. 2021-08-29 19:38:58 +02:00
6b36577aa3 Spawn mobs into the dungeons. 2021-08-28 00:55:59 +02:00
9a8d658643 Now dungeons and teleporters get spawned in the world. They use placeholder graphics for now. 2021-08-27 23:07:58 +02:00
4b5f6253db The dungeon will now spawn plugs. 2021-08-27 19:30:27 +02:00
99bab47f9f Implemented room overlap checks for the building. It's only 2d for now. 2021-08-27 01:05:03 +02:00
1d5fff0f06 Figured out room transforms. 2021-08-25 01:03:27 +02:00
2b2d175a66 Initial Building implementation. The room transforms are still broken, will figure them out later. 2021-08-24 21:10:32 +02:00
1b492b863f Added more test rooms and started working on the dungeon class. 2021-08-20 23:53:09 +02:00