Arrange credits, Player pushing while Pickup! organize player sprite sheet (:

This commit is contained in:
Harmony Honey 2024-01-29 01:36:11 -05:00
parent c6574613bb
commit 1f29f463c2
5 changed files with 28 additions and 20 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 652 B

After

Width:  |  Height:  |  Size: 752 B

Before After
Before After

View file

@ -172,7 +172,7 @@ func _physics_process(delta):
box_pickup(dir * 4, 0)
# push box
if !is_pickup and is_on_floor and move_get_dist().x:
if is_on_floor and move_get_dist().x:
var a = check_area_actors("box", position.x + dir)
if a.size():
a.sort_custom(self, "sort_y_ascent")

View file

@ -82,7 +82,7 @@ tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ 6 ]
"values": [ 4 ]
}
tracks/1/type = "method"
tracks/1/path = NodePath(".")
@ -112,7 +112,7 @@ tracks/0/keys = {
"times": PoolRealArray( 0, 0.2, 0.3, 0.5 ),
"transitions": PoolRealArray( 1, 1, 1, 1 ),
"update": 1,
"values": [ 2, 0, 4, 0 ]
"values": [ 2, 0, 3, 0 ]
}
tracks/1/type = "method"
tracks/1/path = NodePath(".")

View file

@ -823,46 +823,53 @@ align = 2
valign = 2
[node name="Credits" type="Control" parent="."]
margin_left = 136.0
margin_left = 80.0
margin_top = 12.0
margin_right = 176.0
margin_bottom = 52.0
margin_right = 308.0
margin_bottom = 140.0
[node name="Header" type="Label" parent="Credits"]
[node name="Top" type="Control" parent="Credits"]
margin_left = 148.0
margin_top = 11.0
margin_right = 228.0
margin_bottom = 24.0
margin_right = 148.0
margin_bottom = 11.0
[node name="Header" type="Label" parent="Credits/Top"]
margin_left = -80.0
margin_right = 148.0
margin_bottom = 13.0
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_constants/shadow_as_outline = 1
custom_fonts/font = SubResource( 18 )
text = "TINY CRATE"
align = 1
[node name="By" type="Label" parent="Credits"]
margin_left = 105.0
margin_top = 25.0
margin_right = 115.0
margin_bottom = 35.0
[node name="By" type="Label" parent="Credits/Top"]
margin_left = 25.0
margin_top = 14.0
margin_right = 35.0
margin_bottom = 24.0
custom_fonts/font = ExtResource( 25 )
text = "by"
align = 1
valign = 1
[node name="HarmonyHoneyLogo" type="Sprite" parent="Credits"]
position = Vector2( 114, 49 )
[node name="HarmonyHoneyLogo" type="Sprite" parent="Credits/Top"]
position = Vector2( 34, 38 )
texture = ExtResource( 4 )
[node name="List" type="Label" parent="Credits"]
margin_left = 58.0
margin_top = 59.0
margin_right = 228.0
margin_right = 219.0
margin_bottom = 128.0
custom_fonts/font = ExtResource( 25 )
text = "hhoney.net
Made with Godot Engine
Fonts by Daniel Linssen"
align = 1
Fonts by
TODO: write font credits"
align = 2
valign = 1
[node name="Stage" type="Node2D" parent="."]
@ -885,6 +892,7 @@ script = ExtResource( 10 )
[node name="Player" parent="Stage/Actors" instance=ExtResource( 12 )]
position = Vector2( 88, 88 )
push_speed = 0.3
is_attract_mode = true
[node name="Box0" parent="Stage/Actors" instance=ExtResource( 9 )]