breaking: parody conversion of PostIt
This commit is contained in:
parent
cff100a4fe
commit
aa3bbcbc87
|
|
@ -1,6 +1,6 @@
|
|||
@tool
|
||||
|
||||
extends Control
|
||||
extends Area2D
|
||||
class_name PostIt
|
||||
var sibling
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=17 format=3 uid="uid://vkcdj8c3ytbq"]
|
||||
[gd_scene load_steps=18 format=3 uid="uid://vkcdj8c3ytbq"]
|
||||
|
||||
[ext_resource type="Script" path="res://logic-scenes/board/post-it.gd" id="1_yvh5n"]
|
||||
[ext_resource type="Texture2D" uid="uid://c8ckkjmdegyis" path="res://logic-scenes/board/card-textures/postitsheet.png" id="2_j17jn"]
|
||||
|
|
@ -96,32 +96,28 @@ animations = [{
|
|||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="post-it" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_left = -150.0
|
||||
offset_top = -50.0
|
||||
offset_right = 150.0
|
||||
offset_bottom = 50.0
|
||||
focus_mode = 2
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_ml4q7"]
|
||||
radius = 48.0
|
||||
height = 312.0
|
||||
|
||||
[node name="post-it" type="Area2D"]
|
||||
script = ExtResource("1_yvh5n")
|
||||
|
||||
[node name="BackgroundSprite" type="AnimatedSprite2D" parent="."]
|
||||
position = Vector2(150, 50)
|
||||
position = Vector2(99.5, 0)
|
||||
scale = Vector2(0.65, 0.65)
|
||||
sprite_frames = SubResource("SpriteFrames_2amsi")
|
||||
frame = 5
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -139.5
|
||||
offset_left = -38.0
|
||||
offset_top = -50.0
|
||||
offset_right = 137.5
|
||||
offset_right = 239.0
|
||||
offset_bottom = 47.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
|
@ -130,5 +126,7 @@ theme_type_variation = &"card_text"
|
|||
vertical_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
[connection signal="focus_entered" from="." to="." method="_on_focus_entered"]
|
||||
[connection signal="focus_exited" from="." to="." method="_on_focus_exited"]
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(99.5, 0)
|
||||
rotation = 1.5708
|
||||
shape = SubResource("CapsuleShape2D_ml4q7")
|
||||
|
|
|
|||
Loading…
Reference in New Issue