WIP: Spawn bullets on the server and sync them

This commit is contained in:
Nikolai Rodionov 2025-01-26 19:24:25 +01:00
parent fa09a1dde1
commit ed53f156c0
Signed by: allanger
GPG Key ID: 09F8B434D0FDD99B
2 changed files with 2 additions and 2 deletions

View File

@ -2567,6 +2567,6 @@ libraries = {
[node name="BulletSpawner" type="MultiplayerSpawner" parent="."]
_spawnable_scenes = PackedStringArray("res://scenes/weapon/bullet.tscn")
spawn_path = NodePath("../Bullets")
spawn_limit = 10000
spawn_limit = 8510
[connection signal="body_part_hit" from="Dummy/Body/Armature/Skeleton3D/BoneAttachment3D/HeadCollision" to="Dummy" method="_on_head_collision_body_part_hit"]

View File

@ -41,7 +41,7 @@ offset_left = 238.0
offset_top = 151.0
offset_right = 497.0
offset_bottom = 220.0
text = "127.0.0.1"
text = "192.168.0.28"
[connection signal="player_connected" from="." to="." method="_on_player_connected"]
[connection signal="player_disconnected" from="." to="." method="_on_player_disconnected"]