Commit Graph

33 Commits

Author SHA1 Message Date
6062255177 Updated the engine to the latest. Also removed "as" casts after get_node_or_null-s, as now when they return null you get an error. 2021-09-22 00:11:19 +02:00
4f7cb3c904 Fixed networked movement. 2021-08-31 01:57:32 +02:00
288eaabe18 Updated ESS to get the Entity controller property rework. 2021-08-30 20:18:29 +02:00
e6d21cbb8a Remove the nameplate if the entity gets controlled by the player and it wasn't before. 2021-08-30 17:45:40 +02:00
67b3ce48f5 Work on fixing networking. 2021-08-30 00:35:27 +02:00
f8803b99ab Fix update_visibility in PlayerGDBase. Also fix spawn_for in the entity spawner. 2021-08-29 23:32:54 +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
8e2a6d96e7 Increased the jump height a bit. 2021-07-20 22:05:48 +02:00
0c849a6c8a Brought in the player's movement controller implementation from the tower. This also means jumping is now possible. (I don't yet have animations for it though.) 2021-07-20 21:58:32 +02:00
148cee772b Now the game uses terraman instead of voxelman ingame. 2021-04-18 19:55:34 +02:00
3d7b24ff5a Update copyright headers. 2021-04-15 11:52:32 +02:00
4c902fe7a7 Moved the module initialization code to a new DataManager autoload. Also added a new on_request_instance method to GameModule, and also added a request_instance method to the new DataManager. player_ui is requested through this new api. 2020-09-22 14:28:41 +02:00
6fb1f1ca9b Implement and use the voxelman blocky style dungeon. Work on proper player pacement into it (will be fixed later). Also update voxelman to get the ensure_channel_allocated method. 2020-09-05 22:38:24 +02:00
d37e190c2f Entities now raycast from above for their initial placement. (Temporarily.) 2020-08-03 19:17:13 +02:00
92c7bd803e Update ESS to get the body_changed signal. NamePlates now automatically hide themselves when an entity's body gets hidden. 2020-07-29 15:35:48 +02:00
59d57669fa Now the movement keys are bindable. 2020-07-27 18:47:40 +02:00
2a0eaa8610 Only set placed to true if the raycast actually found something. 2020-07-23 20:15:56 +02:00
949f186928 Now the dungeon can have multiple levels. 2020-07-23 19:44:15 +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
315df2a10a Now entities will be snapped to the terrarin after they spawn. 2020-06-13 15:30:49 +02:00
6b50033f29 Now the visibility/lod/wakeup check has a timer for mobs. 2020-05-23 18:49:06 +02:00
c3deaf1403 Update ESS to the latest to get the baked in health and speed resources. 2020-04-29 01:10:10 +02:00
73bbe9bbca Update ESS to get the event handler renames. 2020-04-28 20:49:03 +02:00
3efc211e52 Update ESS to the latest, to get all the Entity method renames. 2020-04-28 19:09:06 +02:00
84e341bcc6 Update ESS to get the clientside notification api changes. 2020-04-28 11:46:56 +02:00
3544cd88fc Health and Speed are now EntityResources. The Stat versions are now just flat modifiers to them. Added back the Mana stat as a flat mana modifier. Also updated ESS to get the changes necessary for this system. 2020-04-27 18:40:20 +02:00
77ccce7d74 Moved the camera out of data. 2020-04-26 11:26:42 +02:00
04da48826e Update HEADS to get the customizable stats for ESS. 2020-04-25 21:41:42 +02:00
39e28c2035 Now the player ui and the nameplates are dynamically allocated aswell. 2020-04-24 14:32:04 +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
2382f9d3c1 Now the camera gets instantiated when needed automatically by the body script. 2020-04-24 09:45:16 +02:00
1d7a428987 Mob and NetworkedPlayer now also uses the body script and fixed a nullreference error. Also updated HEADS to get a fix for Voxelman. 2020-04-24 09:19:41 +02:00
b30a02f7b8 Moved movement handling code from Player.gd to a new gdscript that is on the player's body. Also update everything to the latest to grab the changes to ESS. 2020-04-24 00:49:51 +02:00