Client.tscn 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. [gd_scene load_steps=9 format=2]
  2. [ext_resource path="res://Debug.tscn" type="PackedScene" id=1]
  3. [ext_resource path="res://PowerMenu.tscn" type="PackedScene" id=2]
  4. [ext_resource path="res://Client.gd" type="Script" id=3]
  5. [ext_resource path="res://Input.gd" type="Script" id=4]
  6. [ext_resource path="res://ping.gd" type="Script" id=5]
  7. [ext_resource path="res://projectiles.gd" type="Script" id=6]
  8. [ext_resource path="res://enemiessprite.gd" type="Script" id=7]
  9. [ext_resource path="res://font/tiny.tres" type="DynamicFont" id=8]
  10. [node name="Client" type="Node" groups=["client"]]
  11. script = ExtResource( 3 )
  12. [node name="ping" type="Label" parent="."]
  13. margin_left = 12.1612
  14. margin_top = 260.304
  15. margin_right = 52.1612
  16. margin_bottom = 281.304
  17. custom_fonts/font = ExtResource( 8 )
  18. text = "ping..."
  19. script = ExtResource( 5 )
  20. __meta__ = {
  21. "_edit_use_anchors_": false
  22. }
  23. [node name="Input" type="Node" parent="."]
  24. script = ExtResource( 4 )
  25. [node name="players" type="Node" parent="."]
  26. [node name="enemies" type="Node" parent="."]
  27. script = ExtResource( 7 )
  28. [node name="projectiles" type="Node" parent="."]
  29. script = ExtResource( 6 )
  30. [node name="Debug" parent="." instance=ExtResource( 1 )]
  31. [node name="Hud" type="CanvasLayer" parent="."]
  32. [node name="HBoxContainer" type="HBoxContainer" parent="Hud"]
  33. anchor_right = 1.0
  34. margin_right = 1.0
  35. margin_bottom = 60.0
  36. __meta__ = {
  37. "_edit_use_anchors_": false
  38. }
  39. [node name="PowerMenu" parent="." instance=ExtResource( 2 )]
  40. [node name="LineEdit" type="LineEdit" parent="."]
  41. modulate = Color( 1, 1, 1, 0.627451 )
  42. margin_left = 480.0
  43. margin_top = 320.0
  44. margin_right = 620.0
  45. margin_bottom = 344.0
  46. align = 2
  47. placeholder_text = "....message"
  48. [node name="RichTextLabel" type="RichTextLabel" parent="."]
  49. margin_left = 480.0
  50. margin_top = 220.0
  51. margin_right = 620.0
  52. margin_bottom = 315.0
  53. [node name="ColorRect" type="ColorRect" parent="RichTextLabel"]
  54. anchor_right = 1.0
  55. anchor_bottom = 1.0
  56. color = Color( 0, 0, 0, 0.207843 )
  57. [connection signal="text_entered" from="LineEdit" to="." method="chat_messages"]