98 lines
4.1 KiB
Text
98 lines
4.1 KiB
Text
[gd_scene load_steps=8 format=2]
|
|
|
|
[ext_resource path="res://Scenes/Scripts/Board.gd" type="Script" id=1]
|
|
[ext_resource path="res://Scenes/Scripts/Camera.gd" type="Script" id=2]
|
|
[ext_resource path="res://MLPAssets/Background/boardbg.jpg" type="Texture" id=3]
|
|
[ext_resource path="res://Scenes/BoardUI.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://Scenes/Board/Stack.tscn" type="PackedScene" id=5]
|
|
|
|
[sub_resource type="SpatialMaterial" id=1]
|
|
flags_unshaded = true
|
|
albedo_texture = ExtResource( 3 )
|
|
|
|
[sub_resource type="PlaneMesh" id=2]
|
|
material = SubResource( 1 )
|
|
size = Vector2( 16, 9 )
|
|
|
|
[node name="Board" type="Spatial"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Camera" type="Camera" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 0.224381, 0.974502, 0, -0.974502, 0.224381, 0, 8.4261, 2.52658 )
|
|
fov = 50.0
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="PlayerHand" type="Spatial" parent="Camera"]
|
|
transform = Transform( 0.4, 0, 0, 0, 2.98023e-008, -0.4, 0, 0.4, 2.98023e-008, 0, -0.6, -1.3 )
|
|
|
|
[node name="OppHand" type="Spatial" parent="Camera"]
|
|
transform = Transform( 0.3, 0, 0, 0, -1.49012e-008, 0.3, 0, -0.3, -1.49012e-008, 0, 0.63, -1.3 )
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.001, 0 )
|
|
mesh = SubResource( 2 )
|
|
material/0 = null
|
|
|
|
[node name="BoardUI" parent="." instance=ExtResource( 4 )]
|
|
|
|
[node name="Cards" type="Spatial" parent="."]
|
|
|
|
[node name="P1Deck" parent="Cards" instance=ExtResource( 5 )]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.309, 0, 2.529 )
|
|
title = "Deck"
|
|
zoneName = "player1.deck"
|
|
faceDown = true
|
|
editable = true
|
|
|
|
[node name="P1Graveyard" parent="Cards" instance=ExtResource( 5 )]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5.234, 0, 2.529 )
|
|
title = "Discard pile"
|
|
zoneName = "player1.graveyard"
|
|
editable = true
|
|
|
|
[node name="P1Banished" parent="Cards" instance=ExtResource( 5 )]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5.234, 0, 1.404 )
|
|
title = "Banished"
|
|
zoneName = "player1.banished"
|
|
editable = true
|
|
|
|
[node name="P2Deck" parent="Cards" instance=ExtResource( 5 )]
|
|
transform = Transform( -1, 0, -8.74228e-008, 0, 1, 0, 8.74228e-008, 0, -1, 4.309, 0, -2.529 )
|
|
title = "Deck"
|
|
zoneName = "player2.deck"
|
|
faceDown = true
|
|
editable = true
|
|
|
|
[node name="P2Graveyard" parent="Cards" instance=ExtResource( 5 )]
|
|
transform = Transform( -1, 0, -8.74228e-008, 0, 1, 0, 8.74228e-008, 0, -1, 5.234, 0, -2.529 )
|
|
title = "Discard pile"
|
|
zoneName = "player2.graveyard"
|
|
editable = true
|
|
|
|
[node name="P2Banished" parent="Cards" instance=ExtResource( 5 )]
|
|
transform = Transform( -1, 0, -8.74228e-008, 0, 1, 0, 8.74228e-008, 0, -1, 5.234, 0, -1.404 )
|
|
title = "Banished"
|
|
zoneName = "player2.banished"
|
|
editable = true
|
|
|
|
[node name="P1Problem" parent="Cards" instance=ExtResource( 5 )]
|
|
transform = Transform( -6.55671e-008, 0, -1.5, 0, 1, 0, 1.5, 0, -6.55671e-008, 2.5, 0, 0 )
|
|
title = "Problem"
|
|
zoneName = "player1.problem"
|
|
offset = -0.01
|
|
showCounter = false
|
|
|
|
[node name="P2Problem" parent="Cards" instance=ExtResource( 5 )]
|
|
transform = Transform( -6.55671e-008, 0, 1.5, 0, 1, 0, -1.5, 0, -6.55671e-008, -2.5, 0, 0 )
|
|
title = "Problem"
|
|
zoneName = "player2.problem"
|
|
offset = -0.01
|
|
showCounter = false
|
|
[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" ]]
|
|
[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" ]]
|
|
[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" ]]
|