Skip to content

Commit

Permalink
working version of godot4
Browse files Browse the repository at this point in the history
  • Loading branch information
ceceppa committed Dec 4, 2022
1 parent f53555b commit 12b4706
Show file tree
Hide file tree
Showing 205 changed files with 4,916 additions and 19,609 deletions.
2 changes: 1 addition & 1 deletion TestScene/Button.gd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tool
@tool
extends Button

var MAPPED_STYLEBOXES := {
Expand Down
4 changes: 2 additions & 2 deletions TestScene/Button.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[node name="Button" type="Button"]
anchor_right = 0.476
anchor_bottom = 0.31
margin_right = -0.424011
margin_bottom = -9.0
offset_right = -0.424011
offset_bottom = -9.0
custom_styles/hover = SubResource( 1 )
script = ExtResource( 1 )
4 changes: 1 addition & 3 deletions TestScene/Control.gd
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,4 @@ func _ready():
}
})
) \
.play_backwards_with_delay(0.5)


.play()
18 changes: 11 additions & 7 deletions TestScene/Control.tscn
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
[gd_scene load_steps=2 format=2]
[gd_scene load_steps=2 format=3 uid="uid://crs4il5x8baqc"]

[ext_resource path="res://TestScene/Control.gd" type="Script" id=1]
[ext_resource type="Script" path="res://TestScene/Control.gd" id="1"]

[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1")

[node name="Label" type="Label" parent="."]
margin_left = 441.0
margin_top = 163.0
margin_right = 481.0
margin_bottom = 188.0
offset_left = 441.0
offset_top = 163.0
offset_right = 481.0
offset_bottom = 188.0
text = "Test me"
Loading

0 comments on commit 12b4706

Please sign in to comment.