2019-05-06 22:18:10 +00:00
|
|
|
[gd_scene load_steps=8 format=2]
|
2019-05-04 19:33:47 +00:00
|
|
|
|
|
|
|
[ext_resource path="res://Scenes/Scripts/Board.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://Scenes/Scripts/Camera.gd" type="Script" id=2]
|
2019-05-05 22:39:55 +00:00
|
|
|
[ext_resource path="res://MLPAssets/Background/boardbg.jpg" type="Texture" id=3]
|
|
|
|
[ext_resource path="res://Scenes/BoardUI.tscn" type="PackedScene" id=4]
|
2019-06-07 00:02:07 +00:00
|
|
|
[ext_resource path="res://Scenes/Board/Stack.tscn" type="PackedScene" id=5]
|
2019-05-04 19:33:47 +00:00
|
|
|
|
2019-05-04 21:42:07 +00:00
|
|
|
[sub_resource type="SpatialMaterial" id=1]
|
2019-05-04 19:33:47 +00:00
|
|
|
flags_unshaded = true
|
2019-05-05 22:39:55 +00:00
|
|
|
albedo_texture = ExtResource( 3 )
|
2019-05-04 19:33:47 +00:00
|
|
|
|
2019-05-04 21:42:07 +00:00
|
|
|
[sub_resource type="PlaneMesh" id=2]
|
|
|
|
material = SubResource( 1 )
|
2019-05-04 19:33:47 +00:00
|
|
|
size = Vector2( 16, 9 )
|
|
|
|
|
2019-05-31 22:44:21 +00:00
|
|
|
[node name="Board" type="Spatial"]
|
2019-05-04 19:33:47 +00:00
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="Camera" type="Camera" parent="."]
|
2019-05-06 23:25:08 +00:00
|
|
|
transform = Transform( 1, 0, 0, 0, 0.224381, 0.974502, 0, -0.974502, 0.224381, 0, 8.4261, 2.52658 )
|
|
|
|
fov = 50.0
|
2019-05-04 19:33:47 +00:00
|
|
|
script = ExtResource( 2 )
|
|
|
|
|
2019-05-12 21:37:44 +00:00
|
|
|
[node name="PlayerHand" type="Spatial" parent="Camera"]
|
2019-05-06 23:25:08 +00:00
|
|
|
transform = Transform( 0.4, 0, 0, 0, 2.98023e-008, -0.4, 0, 0.4, 2.98023e-008, 0, -0.6, -1.3 )
|
2019-05-05 19:19:39 +00:00
|
|
|
|
2019-05-12 21:37:44 +00:00
|
|
|
[node name="OppHand" type="Spatial" parent="Camera"]
|
2019-05-27 22:58:39 +00:00
|
|
|
transform = Transform( 0.3, 0, 0, 0, -1.49012e-008, 0.3, 0, -0.3, -1.49012e-008, 0, 0.63, -1.3 )
|
2019-05-12 21:37:44 +00:00
|
|
|
|
2019-05-04 19:33:47 +00:00
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="."]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.001, 0 )
|
2019-05-04 21:42:07 +00:00
|
|
|
mesh = SubResource( 2 )
|
2019-05-04 19:33:47 +00:00
|
|
|
material/0 = null
|
|
|
|
|
2019-05-05 22:39:55 +00:00
|
|
|
[node name="BoardUI" parent="." instance=ExtResource( 4 )]
|
2019-05-05 19:19:39 +00:00
|
|
|
|
|
|
|
[node name="Cards" type="Spatial" parent="."]
|
2019-05-06 22:18:10 +00:00
|
|
|
|
2019-05-12 20:58:33 +00:00
|
|
|
[node name="P1Deck" parent="Cards" instance=ExtResource( 5 )]
|
2019-05-27 22:58:39 +00:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.309, 0, 2.529 )
|
2019-05-06 23:25:08 +00:00
|
|
|
title = "Deck"
|
2019-05-07 18:56:26 +00:00
|
|
|
zoneName = "player1.deck"
|
2019-05-11 19:36:44 +00:00
|
|
|
faceDown = true
|
2019-05-16 22:03:05 +00:00
|
|
|
editable = true
|
2019-05-06 23:25:08 +00:00
|
|
|
|
2019-05-12 20:58:33 +00:00
|
|
|
[node name="P1Graveyard" parent="Cards" instance=ExtResource( 5 )]
|
2019-05-27 22:58:39 +00:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5.234, 0, 2.529 )
|
2019-05-12 21:37:44 +00:00
|
|
|
title = "Discard pile"
|
2019-05-07 18:56:26 +00:00
|
|
|
zoneName = "player1.graveyard"
|
2019-05-16 22:03:05 +00:00
|
|
|
editable = true
|
2019-05-06 23:25:08 +00:00
|
|
|
|
2019-05-12 20:58:33 +00:00
|
|
|
[node name="P1Banished" parent="Cards" instance=ExtResource( 5 )]
|
2019-05-27 22:58:39 +00:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5.234, 0, 1.404 )
|
2019-05-06 23:25:08 +00:00
|
|
|
title = "Banished"
|
2019-05-07 18:56:26 +00:00
|
|
|
zoneName = "player1.banished"
|
2019-05-16 22:03:05 +00:00
|
|
|
editable = true
|
2019-05-12 20:58:33 +00:00
|
|
|
|
2019-05-12 21:37:44 +00:00
|
|
|
[node name="P2Deck" parent="Cards" instance=ExtResource( 5 )]
|
2019-05-27 22:58:39 +00:00
|
|
|
transform = Transform( -1, 0, -8.74228e-008, 0, 1, 0, 8.74228e-008, 0, -1, 4.309, 0, -2.529 )
|
2019-05-12 21:37:44 +00:00
|
|
|
title = "Deck"
|
|
|
|
zoneName = "player2.deck"
|
|
|
|
faceDown = true
|
2019-05-16 22:03:05 +00:00
|
|
|
editable = true
|
2019-05-12 21:37:44 +00:00
|
|
|
|
|
|
|
[node name="P2Graveyard" parent="Cards" instance=ExtResource( 5 )]
|
2019-05-27 22:58:39 +00:00
|
|
|
transform = Transform( -1, 0, -8.74228e-008, 0, 1, 0, 8.74228e-008, 0, -1, 5.234, 0, -2.529 )
|
2019-05-12 21:37:44 +00:00
|
|
|
title = "Discard pile"
|
|
|
|
zoneName = "player2.graveyard"
|
2019-05-16 22:03:05 +00:00
|
|
|
editable = true
|
2019-05-12 21:37:44 +00:00
|
|
|
|
|
|
|
[node name="P2Banished" parent="Cards" instance=ExtResource( 5 )]
|
2019-05-27 22:58:39 +00:00
|
|
|
transform = Transform( -1, 0, -8.74228e-008, 0, 1, 0, 8.74228e-008, 0, -1, 5.234, 0, -1.404 )
|
2019-05-12 21:37:44 +00:00
|
|
|
title = "Banished"
|
|
|
|
zoneName = "player2.banished"
|
2019-05-16 22:03:05 +00:00
|
|
|
editable = true
|
2019-05-12 21:37:44 +00:00
|
|
|
|
2019-05-12 20:58:33 +00:00
|
|
|
[node name="P1Problem" parent="Cards" instance=ExtResource( 5 )]
|
2019-05-12 21:37:44 +00:00
|
|
|
transform = Transform( -6.55671e-008, 0, -1.5, 0, 1, 0, 1.5, 0, -6.55671e-008, 2.5, 0, 0 )
|
2019-05-12 20:58:33 +00:00
|
|
|
title = "Problem"
|
|
|
|
zoneName = "player1.problem"
|
2019-05-16 22:03:05 +00:00
|
|
|
offset = -0.01
|
2019-05-26 22:00:15 +00:00
|
|
|
showCounter = false
|
2019-05-12 20:58:33 +00:00
|
|
|
|
|
|
|
[node name="P2Problem" parent="Cards" instance=ExtResource( 5 )]
|
2019-05-12 21:37:44 +00:00
|
|
|
transform = Transform( -6.55671e-008, 0, 1.5, 0, 1, 0, -1.5, 0, -6.55671e-008, -2.5, 0, 0 )
|
2019-05-12 20:58:33 +00:00
|
|
|
title = "Problem"
|
|
|
|
zoneName = "player2.problem"
|
2019-05-16 22:03:05 +00:00
|
|
|
offset = -0.01
|
2019-05-26 22:00:15 +00:00
|
|
|
showCounter = false
|
2019-05-12 20:58:33 +00:00
|
|
|
[connection signal="card_picked" from="Cards/P1Deck" to="." method="_card_picked_zone" binds= [ "player1.deck" ]]
|
|
|
|
[connection signal="card_picked" from="Cards/P1Graveyard" to="." method="_card_picked_zone" binds= [ "player1.graveyard" ]]
|
|
|
|
[connection signal="card_picked" from="Cards/P1Banished" to="." method="_card_picked_zone" binds= [ "player1.banished" ]]
|
2019-05-12 21:37:44 +00:00
|
|
|
[connection signal="card_picked" from="Cards/P2Deck" to="." method="_card_picked_zone" binds= [ "player1.deck" ]]
|
|
|
|
[connection signal="card_picked" from="Cards/P2Graveyard" to="." method="_card_picked_zone" binds= [ "player1.graveyard" ]]
|
|
|
|
[connection signal="card_picked" from="Cards/P2Banished" to="." method="_card_picked_zone" binds= [ "player1.banished" ]]
|
2019-05-12 20:58:33 +00:00
|
|
|
[connection signal="card_picked" from="Cards/P1Problem" to="." method="_card_picked_zone" binds= [ "player1.graveyard" ]]
|
|
|
|
[connection signal="card_picked" from="Cards/P2Problem" to="." method="_card_picked_zone" binds= [ "player1.graveyard" ]]
|