mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-03 19:04:40 +01:00
45 lines
1.2 KiB
Text
45 lines
1.2 KiB
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://card.gd" type="Script" id=1]
|
|
[ext_resource path="res://fonts/default.tres" type="DynamicFont" id=2]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 105.74, 143.46 )
|
|
|
|
[node name="Card" type="Node2D" groups=[
|
|
"cards",
|
|
]]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
margin_left = -103.0
|
|
margin_top = -145.0
|
|
margin_right = 103.0
|
|
margin_bottom = 144.0
|
|
mouse_filter = 2
|
|
color = Color( 0.105882, 0.67451, 0.847059, 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
position = Vector2( 0, 6.10352e-05 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
position = Vector2( -6.10352e-05, 0.00012207 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
margin_left = -89.0
|
|
margin_top = -131.0
|
|
margin_right = 85.0
|
|
margin_bottom = -29.0
|
|
custom_fonts/font = ExtResource( 2 )
|
|
custom_colors/font_color = Color( 0, 0, 0, 1 )
|
|
text = "git checkout"
|
|
autowrap = true
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
[connection signal="mouse_entered" from="Area2D" to="." method="_mouse_entered"]
|
|
[connection signal="mouse_exited" from="Area2D" to="." method="_mouse_exited"]
|