-
Notifications
You must be signed in to change notification settings - Fork 2
/
GameScene.tscn
101 lines (77 loc) · 3.84 KB
/
GameScene.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[gd_scene load_steps=12 format=2]
[ext_resource path="res://CardScene.tscn" type="PackedScene" id=1]
[ext_resource path="res://DealScene.tscn" type="PackedScene" id=2]
[ext_resource path="res://BoardScene.tscn" type="PackedScene" id=3]
[ext_resource path="res://GameScene.cs" type="Script" id=4]
[ext_resource path="res://DigitPlate.tscn" type="PackedScene" id=5]
[ext_resource path="res://TurnIndicator.cs" type="Script" id=6]
[ext_resource path="res://meshes/indicator.tres" type="ArrayMesh" id=7]
[ext_resource path="res://materials/vertex_color_as_albedo.tres" type="Material" id=8]
[ext_resource path="res://textures/messages/draw.png" type="Texture" id=9]
[ext_resource path="res://textures/messages/you_win.png" type="Texture" id=10]
[ext_resource path="res://textures/messages/you_loose.png" type="Texture" id=11]
[node name="GameScene" type="Spatial"]
script = ExtResource( 4 )
[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 20 )
fov = 55.0
[node name="TestBoard" type="Spatial" parent="."]
visible = false
[node name="Card1" parent="TestBoard" instance=ExtResource( 1 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 5, 0 )
CardSampleName = "green_drake_01"
[node name="Card2" parent="TestBoard" instance=ExtResource( 1 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5, 0 )
CardSampleName = "blue_drake_01"
[node name="Card3" parent="TestBoard" instance=ExtResource( 1 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 5, 0 )
CardSampleName = "red_drake_01"
[node name="Card4" parent="TestBoard" instance=ExtResource( 1 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 0, 0 )
CardSampleName = "brown_drake_01"
[node name="Card5" parent="TestBoard" instance=ExtResource( 1 )]
CardSampleName = "gray_drake_01"
[node name="Card6" parent="TestBoard" instance=ExtResource( 1 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, 0 )
CardSampleName = "lime_hatchling_01"
[node name="Card7" parent="TestBoard" instance=ExtResource( 1 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4, -5, 0 )
CardSampleName = "violet_hatchling_01"
[node name="Card8" parent="TestBoard" instance=ExtResource( 1 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -5, 0 )
CardSampleName = "green_dragon_01"
[node name="BlankCard" parent="TestBoard" instance=ExtResource( 1 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4, -5, 0 )
CardSampleName = "blank"
[node name="LeftDeal" parent="." instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, 0 )
[node name="RightDeal" parent="." instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 0, 0 )
[node name="Board" parent="." instance=ExtResource( 3 )]
[node name="EnemyTurnTimer" type="Timer" parent="."]
one_shot = true
[node name="Score1" parent="." instance=ExtResource( 5 )]
transform = Transform( 5, 0, 0, 0, 5, 0, 0, 0, 1, -6.5, -6, 0 )
[node name="Score2" parent="." instance=ExtResource( 5 )]
transform = Transform( 5, 0, 0, 0, 5, 0, 0, 0, 1, 6.5, -6, 0 )
[node name="TurnIndicator" type="MeshInstance" parent="."]
transform = Transform( 0.866026, -0.5, 0, 0.5, 0.866026, 0, 0, 0, 1, 11, 10, -2 )
mesh = ExtResource( 7 )
material/0 = ExtResource( 8 )
script = ExtResource( 6 )
[node name="DrawMessage" type="Sprite3D" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1 )
visible = false
pixel_size = 0.02
texture = ExtResource( 9 )
[node name="YouLooseMessage" type="Sprite3D" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1 )
visible = false
pixel_size = 0.02
texture = ExtResource( 11 )
[node name="YouWinMessage" type="Sprite3D" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1 )
visible = false
pixel_size = 0.02
texture = ExtResource( 10 )
[connection signal="timeout" from="EnemyTurnTimer" to="." method="_on_EnemyTurnTimer_timeout"]