multiplayer pretty much works now i think
This commit is contained in:
@@ -1,28 +1,27 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://ddbbwx0yy16lh"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://ddbbwx0yy16lh"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/tower_base.gd" id="1_tghvd"]
|
||||
[ext_resource type="Script" path="res://Scripts/inventory.gd" id="2_p5c7g"]
|
||||
[ext_resource type="Texture2D" uid="uid://ba85u6i558x4w" path="res://Assets/Textures/minimap_node.png" id="3_01hk3"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://cr83c74ys8rll" path="res://textmesh.res" id="4_hosgw"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_lc72v"]
|
||||
size = Vector3(1.1, 1.1, 1.1)
|
||||
|
||||
[node name="Node3D" type="StaticBody3D" node_paths=PackedStringArray("inventory", "block", "collider", "minimap_icon")]
|
||||
collision_layer = 17
|
||||
script = ExtResource("1_tghvd")
|
||||
inventory = NodePath("Inventory")
|
||||
block = NodePath("CSGBox3D")
|
||||
block = NodePath("MeshInstance3D")
|
||||
collider = NodePath("CollisionShape3D")
|
||||
minimap_icon = NodePath("Sprite3D")
|
||||
|
||||
[node name="CSGBox3D" type="CSGBox3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
||||
|
||||
[node name="Inventory" type="Node" parent="."]
|
||||
script = ExtResource("2_p5c7g")
|
||||
max_size = 1
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55, 0)
|
||||
shape = SubResource("BoxShape3D_lc72v")
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="."]
|
||||
@@ -31,3 +30,7 @@ layers = 4
|
||||
modulate = Color(0, 1, 0, 1)
|
||||
texture_filter = 0
|
||||
texture = ExtResource("3_01hk3")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55, 0)
|
||||
mesh = ExtResource("4_hosgw")
|
||||
|
||||
Reference in New Issue
Block a user