added 3d card
This commit is contained in:
@@ -1,13 +1,19 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://gqrdpjslr4np"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://gqrdpjslr4np"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://p5gvnyhjqe6o" path="res://components/web_client_tcp.gd" id="1_feb5d"]
|
||||
[ext_resource type="Script" uid="uid://c0cqkatyo4uj1" path="res://components/client_interface.gd" id="2_e2o6t"]
|
||||
[ext_resource type="Script" uid="uid://utt8atbh7b2a" path="res://game_client.gd" id="3_feb5d"]
|
||||
[ext_resource type="PackedScene" uid="uid://b55xpcxk7g5ph" path="res://cards/playing_card.tscn" id="4_fc0e3"]
|
||||
|
||||
[sub_resource type="SystemFont" id="SystemFont_80nbo"]
|
||||
font_names = PackedStringArray("IBM Plex Mono")
|
||||
font_weight = 500
|
||||
|
||||
[sub_resource type="Environment" id="Environment_fc0e3"]
|
||||
ambient_light_source = 2
|
||||
ambient_light_color = Color(1, 1, 1, 1)
|
||||
ambient_light_energy = 0.15
|
||||
|
||||
[node name="Game" type="Node"]
|
||||
|
||||
[node name="WebClientTCP" type="Node" parent="."]
|
||||
@@ -155,6 +161,24 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "Start Game!"
|
||||
|
||||
[node name="Node3D" type="Node3D" parent="."]
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="Node3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.997882, 0.0650548, 0, -0.0650548, 0.997882, 0, 0.171315, 1.65638)
|
||||
|
||||
[node name="Label3D" type="Label3D" parent="Node3D"]
|
||||
billboard = 1
|
||||
text = "Magician Online!"
|
||||
|
||||
[node name="PlayingCard" parent="Node3D" instance=ExtResource("4_fc0e3")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1.6767)
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="Node3D"]
|
||||
transform = Transform3D(0.970511, 0, 0.241058, -0.137972, 0.820002, 0.555482, -0.197668, -0.572361, 0.795821, 2.41581, 2.80426, 0)
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="Node3D"]
|
||||
environment = SubResource("Environment_fc0e3")
|
||||
|
||||
[connection signal="client_joined_lobby" from="WebClientTCP" to="HBoxContainer/ClientInterface" method="_on_web_client_tcp_client_joined_lobby"]
|
||||
[connection signal="client_joined_lobby" from="WebClientTCP" to="HBoxContainer/GameUI" method="_on_web_client_tcp_client_joined_lobby"]
|
||||
[connection signal="client_left_lobby" from="WebClientTCP" to="HBoxContainer/ClientInterface" method="_on_web_client_tcp_client_left_lobby"]
|
||||
|
||||
Reference in New Issue
Block a user