[gd_scene load_steps=7 format=1] [ext_resource path="res://cards/card_base.gd" type="Script" id=1] [ext_resource path="res://ui/card-front-empty.tex" type="Texture" id=2] [ext_resource path="res://card_base_click.gd" type="Script" id=3] [ext_resource path="res://ui/play_cancel.tex" type="Texture" id=4] [ext_resource path="res://ui/play_card.tex" type="Texture" id=5] [sub_resource type="RectangleShape2D" id=1] custom_solver_bias = 0.0 extents = Vector2( 50, 75 ) [node name="card_base" type="Node2D"] script/script = ExtResource( 1 ) confirm_state = 0 [node name="Sprite" type="Sprite" parent="."] texture = ExtResource( 2 ) [node name="CenterContainer" type="Node2D" parent="."] [node name="click_base" type="Area2D" parent="."] input/pickable = true shapes/0/shape = SubResource( 1 ) shapes/0/transform = Matrix32( 1, 0, 0, 1, -0.583984, 8.46769 ) shapes/0/trigger = false gravity_vec = Vector2( 0, 1 ) gravity = 98.0 linear_damp = 0.1 angular_damp = 1.0 script/script = ExtResource( 3 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="click_base"] transform/pos = Vector2( -0.583984, 8.46769 ) z/z = 1 shape = SubResource( 1 ) trigger = false _update_shape_index = 0 [node name="Controls" type="Node2D" parent="."] visibility/visible = false transform/pos = Vector2( -49.9301, 64.8216 ) [node name="CancelButton" type="TextureButton" parent="Controls"] focus/ignore_mouse = false focus/stop_mouse = true size_flags/horizontal = 2 size_flags/vertical = 2 margin/left = -1.0 margin/top = 0.0 margin/right = 49.0 margin/bottom = 20.0 toggle_mode = false enabled_focus_mode = 2 shortcut = null textures/normal = ExtResource( 4 ) params/resize_mode = 0 params/stretch_mode = 0 [node name="PlayButton" type="TextureButton" parent="Controls"] focus/ignore_mouse = false focus/stop_mouse = true size_flags/horizontal = 2 size_flags/vertical = 2 margin/left = 49.0 margin/top = 0.0 margin/right = 99.0 margin/bottom = 20.0 toggle_mode = false enabled_focus_mode = 2 shortcut = null textures/normal = ExtResource( 5 ) params/resize_mode = 0 params/stretch_mode = 0 [node name="debug" type="Label" parent="."] focus/ignore_mouse = true focus/stop_mouse = true size_flags/horizontal = 2 size_flags/vertical = 0 margin/left = -45.0 margin/top = 45.0 margin/right = -5.0 margin/bottom = 59.0 custom_colors/font_color = Color( 0.867188, 0.111786, 0.1649, 1 ) percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 [connection signal="input_event" from="click_base" to="." method="_on_click_base_input_event"]