mlpcardgame/Scenes/Components/Stack.tscn

81 lines
2.3 KiB
Plaintext
Raw Normal View History

2019-05-12 21:37:44 +00:00
[gd_scene load_steps=7 format=2]
2019-05-06 23:25:08 +00:00
[ext_resource path="res://Scenes/Components/Stack.gd" type="Script" id=1]
2019-05-11 19:36:44 +00:00
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.424389, 0.0827175, 0.546632 )
2019-05-07 18:56:26 +00:00
[sub_resource type="SpatialMaterial" id=2]
2019-05-12 21:37:44 +00:00
flags_transparent = true
flags_unshaded = true
flags_vertex_lighting = true
flags_do_not_receive_shadows = true
flags_disable_ambient_light = true
albedo_color = Color( 1, 1, 1, 0.392157 )
[sub_resource type="DynamicFontData" id=3]
2019-05-06 23:25:08 +00:00
font_path = "res://UIAssets/Fonts/Catamaran-Bold.ttf"
[sub_resource type="DynamicFont" id=4]
2019-05-06 23:25:08 +00:00
outline_size = 2
outline_color = Color( 0, 0, 0, 0.54902 )
font_data = SubResource( 3 )
2019-05-06 23:25:08 +00:00
[sub_resource type="ViewportTexture" id=5]
2019-05-06 23:25:08 +00:00
viewport_path = NodePath("LabelViewport")
2019-05-06 22:18:10 +00:00
2019-05-07 18:56:26 +00:00
[node name="Stack" type="Area"]
input_ray_pickable = false
2019-05-06 23:25:08 +00:00
script = ExtResource( 1 )
2019-05-07 18:56:26 +00:00
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0526529, 0 )
2019-05-11 19:36:44 +00:00
shape = SubResource( 1 )
2019-05-07 18:56:26 +00:00
2019-05-06 23:25:08 +00:00
[node name="CSGBox" type="CSGBox" parent="."]
2019-05-12 21:37:44 +00:00
transform = Transform( 0.802373, 0, 0, 0, 1, 0, 0, 0, 0.81647, 0, 0, 0 )
width = 0.85
2019-05-06 23:25:08 +00:00
height = 0.002
2019-05-12 21:37:44 +00:00
depth = 1.15
material = SubResource( 2 )
2019-05-06 23:25:08 +00:00
[node name="CSGBox2" type="CSGBox" parent="CSGBox"]
2019-05-12 21:37:44 +00:00
transform = Transform( 1.00679, 0, 0, 0, 1.00679, 0, 0, 0, 1.00679, 0, 0, 0 )
2019-05-06 23:25:08 +00:00
operation = 2
2019-05-12 21:37:44 +00:00
width = 0.8
2019-05-06 23:25:08 +00:00
height = 0.102173
2019-05-12 21:37:44 +00:00
depth = 1.1
2019-05-06 23:25:08 +00:00
[node name="CSGBox3" type="CSGBox" parent="CSGBox"]
operation = 2
width = 0.191127
height = 0.102173
depth = 1.57935
[node name="CSGBox4" type="CSGBox" parent="CSGBox"]
transform = Transform( -4.37114e-008, 0, -1, 0, 1, 0, 1, 0, -4.37114e-008, 0, 0, 0 )
operation = 2
width = 0.650255
height = 0.102173
depth = 1.57935
[node name="LabelViewport" type="Viewport" parent="."]
size = Vector2( 100, 100 )
transparent_bg = true
handle_input_locally = false
usage = 0
[node name="Label" type="Label" parent="LabelViewport"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_fonts/font = SubResource( 4 )
2019-05-06 23:25:08 +00:00
align = 1
valign = 1
[node name="LabelSprite" type="Sprite3D" parent="."]
transform = Transform( 0.5853, 0.810817, -3.54419e-008, 0, -4.37114e-008, -1, -0.810817, 0.5853, -2.55843e-008, 0, 0, 0 )
texture = SubResource( 5 )
2019-05-06 23:25:08 +00:00
region_rect = Rect2( 0, 0, 30, 30 )
2019-05-07 18:56:26 +00:00
[connection signal="mouse_entered" from="." to="." method="_mouse_entered"]
[connection signal="mouse_exited" from="." to="." method="_mouse_exited"]