mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-07-16 00:44:50 +00:00
🐛 Refactored AreaDamageComponent to be an ExplosiveDamageComponent
This commit is contained in:
parent
dc7896a591
commit
49a59e8c31
12 changed files with 1331 additions and 1340 deletions
|
|
@ -1,9 +1,6 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://c7ae4jw5d8mue"]
|
||||
[gd_scene load_steps=2 format=3 uid="uid://bvwxfgygm2xb8"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cbhx1xme0sb7k" path="res://entities/player/player.tscn" id="1_7bj5d"]
|
||||
[ext_resource type="PackedScene" uid="uid://chbno00ugl6te" path="res://maps/genesis/genesis.tscn" id="2_nnx26"]
|
||||
|
||||
[sub_resource type="GDScript" id="GDScript_pj58d"]
|
||||
[sub_resource type="GDScript" id="GDScript_1qrbp"]
|
||||
script/source = "class_name Multiplayer extends Node
|
||||
|
||||
@export_category(\"Parameters\")
|
||||
|
|
@ -43,10 +40,10 @@ func join_server(host, port):
|
|||
multiplayer.connected_to_server.connect(_on_connected_to_server)
|
||||
multiplayer.connection_failed.connect(_on_connection_failed)
|
||||
multiplayer.multiplayer_peer = peer
|
||||
|
||||
|
||||
func _on_connected_to_server():
|
||||
connected_to_server.emit()
|
||||
|
||||
|
||||
func _on_connection_failed():
|
||||
connection_failed.emit()
|
||||
|
||||
|
|
@ -75,9 +72,7 @@ func _exit_tree():
|
|||
"
|
||||
|
||||
[node name="Multiplayer" type="Node"]
|
||||
script = SubResource("GDScript_pj58d")
|
||||
MAP = ExtResource("2_nnx26")
|
||||
PLAYER = ExtResource("1_7bj5d")
|
||||
script = SubResource("GDScript_1qrbp")
|
||||
|
||||
[node name="Map" type="Node" parent="."]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue