36 lines
1.5 KiB
Text
36 lines
1.5 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/Components/Card.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="Spatial" type="Spatial"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Camera" type="Camera" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 0.367808, 0.929902, 0, -0.929902, 0.367808, -0.232958, 4.94606, 3.11883 )
|
|
script = ExtResource( 2 )
|
|
|
|
[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="Card" parent="." instance=ExtResource( 5 )]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.55435, -0.001, 1.13711 )
|
|
input_capture_on_drag = false
|
|
[connection signal="card_selected" from="Card" to="BoardUI" method="_card_selected" binds= [ "ff6" ]]
|
|
[connection signal="card_unselected" from="Card" to="BoardUI" method="_card_unselected"]
|
|
[connection signal="mouse_exited" from="Card" to="." method="_mouse_blur"]
|