Skip to content

Commit

Permalink
[BASEBALL] add clouds to the sky.
Browse files Browse the repository at this point in the history
The ugly clouds used previously have been replaced with the same cloud
sprites used in other minigames.
  • Loading branch information
swashdev committed Apr 6, 2024
1 parent 2a87dcf commit afabc0f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ Minigame Madness _does not_ use Semantic Versioning.
some (but not all) of the cloud textures blend into the sky much better.

- The background in the "Hit a Home Run!" minigame has been changed so that
the pitcher is standing on his pitcher's mound and the ugly clouds are no
longer visible.
the pitcher is standing on his pitcher's mound. The ugly turd clouds have
also been replaced with the fluffier cloud sprites used in other minigames.


## [0.13.5] - 2024-03-28
Expand Down
26 changes: 18 additions & 8 deletions mini/baseball/scenes/baseball_minigame.tscn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=2]
[gd_scene load_steps=14 format=2]

[ext_resource path="res://shared/scenes/minigame.tscn" type="PackedScene" id=1]
[ext_resource path="res://mini/baseball/images/background/bg.png" type="Texture" id=2]
Expand All @@ -10,6 +10,8 @@
[ext_resource path="res://mini/baseball/scenes/projectiles/baseball.tscn" type="PackedScene" id=8]
[ext_resource path="res://mini/baseball/scripts/baseball_minigame.gd" type="Script" id=9]
[ext_resource path="res://shared/scenes/scenery/sky.tscn" type="PackedScene" id=10]
[ext_resource path="res://shared/images/background/cloud_02.png" type="Texture" id=11]
[ext_resource path="res://shared/images/background/cloud_01.png" type="Texture" id=12]

[sub_resource type="SpriteFrames" id=1]
animations = [ {
Expand All @@ -30,38 +32,46 @@ _instruction = "Hit a Home Run!"

[node name="Sky" parent="." index="0" instance=ExtResource( 10 )]

[node name="Background" type="TextureRect" parent="." index="1"]
[node name="Cloud1" type="Sprite" parent="." index="1"]
position = Vector2( 123, 159 )
texture = ExtResource( 12 )

[node name="Cloud2" type="Sprite" parent="." index="2"]
position = Vector2( 466, 85 )
texture = ExtResource( 11 )

[node name="Background" type="TextureRect" parent="." index="3"]
margin_right = 40.0
margin_bottom = 40.0
texture = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Spacebar" parent="." index="2" instance=ExtResource( 3 )]
[node name="Spacebar" parent="." index="4" instance=ExtResource( 3 )]
position = Vector2( 320, 200 )
animation = "dim"
_label = "Swing!"

[node name="Batter" type="AnimatedSprite" parent="." index="3"]
[node name="Batter" type="AnimatedSprite" parent="." index="5"]
position = Vector2( 49.1869, 355.415 )
frames = SubResource( 1 )
animation = "swing"
__meta__ = {
"_edit_lock_": true
}

[node name="Pitcher" parent="." index="4" instance=ExtResource( 7 )]
[node name="Pitcher" parent="." index="6" instance=ExtResource( 7 )]
position = Vector2( 548.379, 355.415 )

[node name="Baseball" parent="." index="5" instance=ExtResource( 8 )]
[node name="Baseball" parent="." index="7" instance=ExtResource( 8 )]
visible = false
position = Vector2( 459.465, 367.038 )

[node name="SwingMin" type="Position2D" parent="." index="6"]
[node name="SwingMin" type="Position2D" parent="." index="8"]
position = Vector2( 95, 358.077 )

[node name="SwingMax" type="Position2D" parent="." index="7"]
[node name="SwingMax" type="Position2D" parent="." index="9"]
position = Vector2( 20.6743, 357.572 )

[connection signal="threw_ball" from="Pitcher" to="." method="_on_Pitcher_threw_ball"]

0 comments on commit afabc0f

Please sign in to comment.