mlpcardgame/Scenes/Board.tscn

36 lines
1.4 KiB
Text
Raw Normal View History

2019-05-04 21:42:07 +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]
[ext_resource path="res://MLPAssets/Background/boardbg.jpg" type="Texture" id=3]
2019-05-04 21:42:07 +00:00
[ext_resource path="res://Scenes/BoardUI.tscn" type="PackedScene" id=4]
[ext_resource path="res://Scenes/Components/Card.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
albedo_texture = ExtResource( 3 )
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 )
[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 )
2019-05-04 21:42:07 +00:00
mesh = SubResource( 2 )
2019-05-04 19:33:47 +00:00
material/0 = null
2019-05-04 21:42:07 +00:00
[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 )
2019-05-04 22:01:00 +00:00
[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"]