new penny

This commit is contained in:
pennyrigate 2024-06-22 17:57:02 -04:00
parent ccca031ed2
commit 18491453a6
5 changed files with 33 additions and 41 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 270 B

After

Width:  |  Height:  |  Size: 281 B

Before After
Before After

View file

@ -643,20 +643,9 @@ texture = ExtResource( 10 )
position = Vector2( 640, 96 ) position = Vector2( 640, 96 )
[node name="TeamSgSplash" type="Sprite" parent="Control/TeamSG"] [node name="TeamSgSplash" type="Sprite" parent="Control/TeamSG"]
position = Vector2( 0, -8 ) position = Vector2( 0, -23 )
texture = ExtResource( 48 ) texture = ExtResource( 48 )
[node name="TeamSG" type="Label" parent="Control/TeamSG"]
material = ExtResource( 4 )
margin_left = -128.0
margin_top = -184.0
margin_right = 128.0
margin_bottom = 8.0
theme = ExtResource( 6 )
text = "Game created by Team SG"
align = 1
valign = 1
[node name="TeamSG2" type="Label" parent="Control/TeamSG"] [node name="TeamSG2" type="Label" parent="Control/TeamSG"]
material = ExtResource( 4 ) material = ExtResource( 4 )
margin_left = -128.0 margin_left = -128.0
@ -673,8 +662,10 @@ valign = 1
[node name="TeamSG4" type="Label" parent="Control/TeamSG"] [node name="TeamSG4" type="Label" parent="Control/TeamSG"]
material = ExtResource( 4 ) material = ExtResource( 4 )
margin_top = -88.0 margin_left = 56.0
margin_right = 182.0 margin_top = -72.0
margin_right = 126.0
margin_bottom = -36.0
theme = ExtResource( 6 ) theme = ExtResource( 6 )
text = "We decide text = "We decide
the the
@ -684,9 +675,9 @@ valign = 1
[node name="TeamSG5" type="Label" parent="Control/TeamSG"] [node name="TeamSG5" type="Label" parent="Control/TeamSG"]
material = ExtResource( 4 ) material = ExtResource( 4 )
margin_left = -120.0 margin_left = -112.0
margin_top = 8.0 margin_top = 8.0
margin_right = -64.0 margin_right = -56.0
margin_bottom = 44.0 margin_bottom = 44.0
theme = ExtResource( 6 ) theme = ExtResource( 6 )
text = "Similar text = "Similar
@ -697,9 +688,9 @@ valign = 1
[node name="TeamSG6" type="Label" parent="Control/TeamSG"] [node name="TeamSG6" type="Label" parent="Control/TeamSG"]
material = ExtResource( 4 ) material = ExtResource( 4 )
margin_left = 60.0 margin_left = 72.0
margin_top = 8.0 margin_top = 8.0
margin_right = 116.0 margin_right = 107.0
margin_bottom = 44.0 margin_bottom = 44.0
theme = ExtResource( 6 ) theme = ExtResource( 6 )
text = "Games text = "Games
@ -710,10 +701,10 @@ valign = 1
[node name="TeamSG7" type="Label" parent="Control/TeamSG"] [node name="TeamSG7" type="Label" parent="Control/TeamSG"]
material = ExtResource( 4 ) material = ExtResource( 4 )
margin_left = -120.0 margin_left = -112.0
margin_top = -64.0 margin_top = -72.0
margin_right = -64.0 margin_right = -56.0
margin_bottom = -28.0 margin_bottom = -36.0
theme = ExtResource( 6 ) theme = ExtResource( 6 )
text = "We text = "We
love love
@ -900,7 +891,7 @@ align = 1
material = SubResource( 8 ) material = SubResource( 8 )
position = Vector2( 106, 69 ) position = Vector2( 106, 69 )
frames = SubResource( 18 ) frames = SubResource( 18 )
frame = 1 frame = 2
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall1/MsX"] [node name="Label" type="Label" parent="Control/RollCall1/MsX"]
@ -970,6 +961,7 @@ position = Vector2( 1024, 0 )
material = SubResource( 13 ) material = SubResource( 13 )
position = Vector2( 2880, 24 ) position = Vector2( 2880, 24 )
frames = SubResource( 21 ) frames = SubResource( 21 )
frame = 1
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall2/Eviscerator"] [node name="Label" type="Label" parent="Control/RollCall2/Eviscerator"]
@ -1002,7 +994,6 @@ align = 1
[node name="TheScrump" type="AnimatedSprite" parent="Control/RollCall2"] [node name="TheScrump" type="AnimatedSprite" parent="Control/RollCall2"]
position = Vector2( 2992, 128 ) position = Vector2( 2992, 128 )
frames = SubResource( 27 ) frames = SubResource( 27 )
frame = 1
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall2/TheScrump"] [node name="Label" type="Label" parent="Control/RollCall2/TheScrump"]
@ -1050,7 +1041,7 @@ align = 1
material = SubResource( 34 ) material = SubResource( 34 )
position = Vector2( 3024, 62 ) position = Vector2( 3024, 62 )
frames = SubResource( 43 ) frames = SubResource( 43 )
frame = 1 frame = 6
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall2/Skelarcher"] [node name="Label" type="Label" parent="Control/RollCall2/Skelarcher"]
@ -1066,6 +1057,7 @@ align = 1
[node name="SabreSpighter" type="AnimatedSprite" parent="Control/RollCall2"] [node name="SabreSpighter" type="AnimatedSprite" parent="Control/RollCall2"]
position = Vector2( 2880, 62 ) position = Vector2( 2880, 62 )
frames = SubResource( 46 ) frames = SubResource( 46 )
frame = 1
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall2/SabreSpighter"] [node name="Label" type="Label" parent="Control/RollCall2/SabreSpighter"]
@ -1158,7 +1150,6 @@ align = 1
[node name="Squig" type="AnimatedSprite" parent="Control/RollCall3"] [node name="Squig" type="AnimatedSprite" parent="Control/RollCall3"]
position = Vector2( 200, 64 ) position = Vector2( 200, 64 )
frames = SubResource( 65 ) frames = SubResource( 65 )
frame = 1
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall3/Squig"] [node name="Label" type="Label" parent="Control/RollCall3/Squig"]
@ -1175,7 +1166,7 @@ align = 1
material = SubResource( 71 ) material = SubResource( 71 )
position = Vector2( 72, 152 ) position = Vector2( 72, 152 )
frames = SubResource( 80 ) frames = SubResource( 80 )
frame = 2 frame = 7
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall3/Hellarcher"] [node name="Label" type="Label" parent="Control/RollCall3/Hellarcher"]
@ -1192,6 +1183,7 @@ align = 1
material = SubResource( 66 ) material = SubResource( 66 )
position = Vector2( 68, 104 ) position = Vector2( 68, 104 )
frames = SubResource( 70 ) frames = SubResource( 70 )
frame = 1
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall3/Turchin"] [node name="Label" type="Label" parent="Control/RollCall3/Turchin"]
@ -1378,7 +1370,6 @@ align = 1
material = SubResource( 82 ) material = SubResource( 82 )
position = Vector2( 3362, 122.5 ) position = Vector2( 3362, 122.5 )
frames = SubResource( 87 ) frames = SubResource( 87 )
frame = 2
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall4/Famicop"] [node name="Label" type="Label" parent="Control/RollCall4/Famicop"]
@ -1457,7 +1448,7 @@ scale = Vector2( 2, 2 )
texture = ExtResource( 45 ) texture = ExtResource( 45 )
[node name="Penny" type="Sprite" parent="Control/RollCall5"] [node name="Penny" type="Sprite" parent="Control/RollCall5"]
position = Vector2( 104, 136 ) position = Vector2( 104, 134 )
scale = Vector2( 2, 2 ) scale = Vector2( 2, 2 )
texture = ExtResource( 44 ) texture = ExtResource( 44 )

View file

@ -30,18 +30,19 @@ func _ready():
if credits: animation_player.play("roar") if credits: animation_player.play("roar")
func _physics_process(delta: float) -> void: func _physics_process(delta: float) -> void:
var sg2083 := get_node(sg2083_path) if !credits:
if sg2083 and sg2083.state == 0: var sg2083 := get_node(sg2083_path)
state_chart.set_guard_property("player_dead", true) if sg2083 and sg2083.state == 0:
state_chart.send_event("player_dead") state_chart.set_guard_property("player_dead", true)
else: state_chart.send_event("player_dead")
state_chart.set_guard_property("player_dead", false) else:
if not out_range_cast.is_colliding(): state_chart.set_guard_property("player_dead", false)
state_chart.send_event("out_of_range") if not out_range_cast.is_colliding():
elif in_range_cast.is_colliding(): state_chart.send_event("out_of_range")
state_chart.send_event("in_range") elif in_range_cast.is_colliding():
if fmod(Game.time, 15.0) == 0.0: state_chart.send_event("in_range")
Audio.play_sound(Audio.a_grumble,Audio.ac_boss) if fmod(Game.time, 15.0) == 0.0:
Audio.play_sound(Audio.a_grumble,Audio.ac_boss)
func start_push() -> void: func start_push() -> void: