world titles

This commit is contained in:
pennyrigate 2024-06-19 22:32:05 -04:00
parent ea36720f7b
commit a1fb454384
10 changed files with 109 additions and 60 deletions

BIN
audio/sounds/ominous.ogg Normal file

Binary file not shown.

View file

@ -0,0 +1,15 @@
[remap]
importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/ominous.ogg-2cb3fd446cacd9e83817a015cfcd0bdc.oggstr"
[deps]
source_file="res://audio/sounds/ominous.ogg"
dest_files=[ "res://.import/ominous.ogg-2cb3fd446cacd9e83817a015cfcd0bdc.oggstr" ]
[params]
loop=false
loop_offset=0

View file

@ -60,6 +60,7 @@ const a_laser_ready = preload("res://audio/sounds/laser_ready.ogg")
const a_copsquash = preload("res://audio/sounds/copsquash.ogg") const a_copsquash = preload("res://audio/sounds/copsquash.ogg")
const a_copsquash2 = preload("res://audio/sounds/cop_splat.ogg") const a_copsquash2 = preload("res://audio/sounds/cop_splat.ogg")
const a_fami_transform = preload("res://audio/sounds/fami_transform.ogg") const a_fami_transform = preload("res://audio/sounds/fami_transform.ogg")
const a_ominous = preload("res://audio/sounds/ominous.ogg")
var loop_section = null var loop_section = null
var has_looped = false var has_looped = false

View file

@ -61,9 +61,6 @@ var marathon_deaths: int = 0
func _ready(): func _ready():
pause_mode = Node.PAUSE_MODE_PROCESS pause_mode = Node.PAUSE_MODE_PROCESS
func _process(delta):
print(can_restart)
func _get_stars() -> int: func _get_stars() -> int:
return stars_collected.count(true) return stars_collected.count(true)

View file

@ -387,7 +387,6 @@ margin_top = 48.0
margin_right = 240.0 margin_right = 240.0
margin_bottom = 136.0 margin_bottom = 136.0
theme = ExtResource( 3 ) theme = ExtResource( 3 )
text = "Aha so you've made it this far, however your efforts are all in vain."
align = 1 align = 1
valign = 1 valign = 1
autowrap = true autowrap = true

View file

@ -13,6 +13,8 @@ func _ready() -> void:
sg_energy.max_value = sg2083.max_energy sg_energy.max_value = sg2083.max_energy
sg2083.state = sg2083.State.INACTIVE sg2083.state = sg2083.State.INACTIVE
famira.animation_player.play("grow", -1.0, 0.0) famira.animation_player.play("grow", -1.0, 0.0)
Audio.play_sound(Audio.a_ominous,Audio.ac_collectible)
Audio.play_music(load("res://audio/music/the_dirt_under_the_meadow.ogg"))
func _on_2083_health_changed(amount) -> void: func _on_2083_health_changed(amount) -> void:
@ -39,6 +41,7 @@ func fade() -> void:
yield(Fade, "fade_finished") yield(Fade, "fade_finished")
sg2083.anims.play("force idle") sg2083.anims.play("force idle")
Fade.fade_in(0.4) Fade.fade_in(0.4)
$"%GUI".visible = true
yield(Fade, "fade_finished") yield(Fade, "fade_finished")
sg2083.state = sg2083.State.STAND sg2083.state = sg2083.State.STAND
famira.state_chart.send_event("transformed") famira.state_chart.send_event("transformed")

View file

@ -167,13 +167,25 @@ tracks/3/keys = {
"method": "land" "method": "land"
} ] } ]
} }
tracks/4/type = "method" tracks/4/type = "value"
tracks/4/path = NodePath(".") tracks/4/path = NodePath("FamiCutscene:visible")
tracks/4/interp = 1 tracks/4/interp = 1
tracks/4/loop_wrap = true tracks/4/loop_wrap = true
tracks/4/imported = false tracks/4/imported = false
tracks/4/enabled = true tracks/4/enabled = true
tracks/4/keys = { tracks/4/keys = {
"times": PoolRealArray( 3, 4.4 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ true, false ]
}
tracks/5/type = "method"
tracks/5/path = NodePath(".")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/keys = {
"times": PoolRealArray( 4 ), "times": PoolRealArray( 4 ),
"transitions": PoolRealArray( 1 ), "transitions": PoolRealArray( 1 ),
"values": [ { "values": [ {
@ -181,18 +193,6 @@ tracks/4/keys = {
"method": "fade" "method": "fade"
} ] } ]
} }
tracks/5/type = "value"
tracks/5/path = NodePath("FamiCutscene:visible")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/keys = {
"times": PoolRealArray( 3, 4.4 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 1,
"values": [ true, false ]
}
[node name="Map" type="Node2D" groups=["map"]] [node name="Map" type="Node2D" groups=["map"]]
pause_mode = 1 pause_mode = 1
@ -220,6 +220,8 @@ margin_bottom = 192.0
color = Color( 1, 0, 0, 0.333333 ) color = Color( 1, 0, 0, 0.333333 )
[node name="GUI" type="CanvasLayer" parent="."] [node name="GUI" type="CanvasLayer" parent="."]
unique_name_in_owner = true
visible = false
[node name="Control" type="Control" parent="GUI"] [node name="Control" type="Control" parent="GUI"]
anchor_right = 1.0 anchor_right = 1.0

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=135 format=2] [gd_scene load_steps=136 format=2]
[ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=1] [ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=1]
[ext_resource path="res://shaders/ska_plane.gdshader" type="Shader" id=2] [ext_resource path="res://shaders/ska_plane.gdshader" type="Shader" id=2]
@ -46,6 +46,7 @@
[ext_resource path="res://graphics/npc/penny.png" type="Texture" id=44] [ext_resource path="res://graphics/npc/penny.png" type="Texture" id=44]
[ext_resource path="res://graphics/npc/haze.png" type="Texture" id=45] [ext_resource path="res://graphics/npc/haze.png" type="Texture" id=45]
[ext_resource path="res://graphics/hud/thankyou.png" type="Texture" id=46] [ext_resource path="res://graphics/hud/thankyou.png" type="Texture" id=46]
[ext_resource path="res://graphics/enemy/boss/famira-wip.png" type="Texture" id=47]
[sub_resource type="ShaderMaterial" id=1] [sub_resource type="ShaderMaterial" id=1]
shader = ExtResource( 2 ) shader = ExtResource( 2 )
@ -612,9 +613,10 @@ script = ExtResource( 14 )
layer = -64 layer = -64
[node name="ColorRect2" type="ColorRect" parent="CanvasLayer"] [node name="ColorRect2" type="ColorRect" parent="CanvasLayer"]
margin_left = 1792.0 margin_left = 4352.0
margin_right = 2048.0 margin_top = 8.0
margin_bottom = 192.0 margin_right = 4608.0
margin_bottom = 200.0
color = Color( 0.0666667, 0.164706, 0.454902, 0.329412 ) color = Color( 0.0666667, 0.164706, 0.454902, 0.329412 )
[node name="Background" type="ColorRect" parent="CanvasLayer"] [node name="Background" type="ColorRect" parent="CanvasLayer"]
@ -655,7 +657,7 @@ Level design
Code Code
graphics graphics
sound effects sound effects
Story" Scenario"
align = 1 align = 1
valign = 1 valign = 1
@ -670,7 +672,8 @@ Lead Programmer
graphics graphics
sound effects sound effects
voice of \"narrator\" voice of \"narrator\"
Story" Story
Additional Enemy design"
align = 1 align = 1
valign = 1 valign = 1
@ -694,7 +697,8 @@ margin_right = 1536.0
margin_bottom = 192.0 margin_bottom = 192.0
theme = ExtResource( 6 ) theme = ExtResource( 6 )
text = "-Dog \"the scrump\" jelly- text = "-Dog \"the scrump\" jelly-
designer of \"the scrump\"" designer of \"the scrump\"
Story Help"
align = 1 align = 1
valign = 1 valign = 1
@ -745,8 +749,7 @@ DogJelly
Wolfboy Wolfboy
Rhidianruckus Rhidianruckus
Wily Beast Wily Beast
Maddy Maddy"
Sylvan"
align = 1 align = 1
valign = 1 valign = 1
@ -776,36 +779,18 @@ wily beast"
align = 1 align = 1
valign = 1 valign = 1
[node name="WonderingNow3" type="Label" parent="Control"]
material = ExtResource( 4 )
margin_left = 3072.0
margin_right = 3328.0
margin_bottom = 192.0
theme = ExtResource( 6 )
text = "-people who inspired us-
Yuji Naka
Hideo kojima
Shigesato itoi
Shigeru miyamoto
Akira Toriyama
Davio
Quazi"
align = 1
valign = 1
[node name="RollCall" type="Sprite" parent="Control"] [node name="RollCall" type="Sprite" parent="Control"]
material = SubResource( 6 ) material = SubResource( 6 )
position = Vector2( 3456, 88 ) position = Vector2( 3200, 88 )
texture = ExtResource( 11 ) texture = ExtResource( 11 )
[node name="RollCall1" type="Node2D" parent="Control"] [node name="RollCall1" type="Node2D" parent="Control"]
position = Vector2( 3584, 0 ) position = Vector2( 3328, 0 )
[node name="SG" type="AnimatedSprite" parent="Control/RollCall1"] [node name="SG" type="AnimatedSprite" parent="Control/RollCall1"]
material = SubResource( 7 ) material = SubResource( 7 )
position = Vector2( 74, 69 ) position = Vector2( 74, 69 )
frames = SubResource( 12 ) frames = SubResource( 12 )
frame = 1
playing = true playing = true
script = ExtResource( 16 ) script = ExtResource( 16 )
@ -836,7 +821,6 @@ align = 1
material = SubResource( 8 ) material = SubResource( 8 )
position = Vector2( 106, 69 ) position = Vector2( 106, 69 )
frames = SubResource( 18 ) frames = SubResource( 18 )
frame = 2
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall1/MsX"] [node name="Label" type="Label" parent="Control/RollCall1/MsX"]
@ -900,7 +884,7 @@ text = "Vile Villians"
align = 1 align = 1
[node name="RollCall2" type="Node2D" parent="Control"] [node name="RollCall2" type="Node2D" parent="Control"]
position = Vector2( 1024, 0 ) position = Vector2( 768, 0 )
[node name="Eviscerator" type="AnimatedSprite" parent="Control/RollCall2"] [node name="Eviscerator" type="AnimatedSprite" parent="Control/RollCall2"]
material = SubResource( 13 ) material = SubResource( 13 )
@ -923,6 +907,7 @@ align = 1
material = SubResource( 13 ) material = SubResource( 13 )
position = Vector2( 2952, 24 ) position = Vector2( 2952, 24 )
frames = SubResource( 24 ) frames = SubResource( 24 )
frame = 1
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall2/Catbat"] [node name="Label" type="Label" parent="Control/RollCall2/Catbat"]
@ -954,7 +939,6 @@ align = 1
material = SubResource( 13 ) material = SubResource( 13 )
position = Vector2( 2880, 102 ) position = Vector2( 2880, 102 )
frames = SubResource( 30 ) frames = SubResource( 30 )
frame = 1
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall2/RollingFiend"] [node name="Label" type="Label" parent="Control/RollCall2/RollingFiend"]
@ -970,7 +954,6 @@ align = 1
[node name="ChipIt" type="AnimatedSprite" parent="Control/RollCall2"] [node name="ChipIt" type="AnimatedSprite" parent="Control/RollCall2"]
position = Vector2( 2960, 62 ) position = Vector2( 2960, 62 )
frames = SubResource( 33 ) frames = SubResource( 33 )
frame = 1
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall2/ChipIt"] [node name="Label" type="Label" parent="Control/RollCall2/ChipIt"]
@ -987,7 +970,7 @@ align = 1
material = SubResource( 34 ) material = SubResource( 34 )
position = Vector2( 3024, 62 ) position = Vector2( 3024, 62 )
frames = SubResource( 43 ) frames = SubResource( 43 )
frame = 6 frame = 4
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall2/Skelarcher"] [node name="Label" type="Label" parent="Control/RollCall2/Skelarcher"]
@ -1020,6 +1003,7 @@ align = 1
material = SubResource( 47 ) material = SubResource( 47 )
position = Vector2( 3016, 24 ) position = Vector2( 3016, 24 )
frames = SubResource( 50 ) frames = SubResource( 50 )
frame = 1
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall2/BioSlime"] [node name="Label" type="Label" parent="Control/RollCall2/BioSlime"]
@ -1045,12 +1029,11 @@ Poachers"
align = 1 align = 1
[node name="RollCall3" type="Node2D" parent="Control"] [node name="RollCall3" type="Node2D" parent="Control"]
position = Vector2( 4096, 0 ) position = Vector2( 3840, 0 )
[node name="Shedge" type="AnimatedSprite" parent="Control/RollCall3"] [node name="Shedge" type="AnimatedSprite" parent="Control/RollCall3"]
position = Vector2( 60, 25 ) position = Vector2( 60, 25 )
frames = SubResource( 54 ) frames = SubResource( 54 )
frame = 1
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall3/Shedge"] [node name="Label" type="Label" parent="Control/RollCall3/Shedge"]
@ -1066,6 +1049,7 @@ align = 1
[node name="TheScrumpsTongue" type="AnimatedSprite" parent="Control/RollCall3"] [node name="TheScrumpsTongue" type="AnimatedSprite" parent="Control/RollCall3"]
position = Vector2( 156, 20 ) position = Vector2( 156, 20 )
frames = SubResource( 57 ) frames = SubResource( 57 )
frame = 1
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall3/TheScrumpsTongue"] [node name="Label" type="Label" parent="Control/RollCall3/TheScrumpsTongue"]
@ -1111,7 +1095,7 @@ align = 1
material = SubResource( 71 ) material = SubResource( 71 )
position = Vector2( 72, 152 ) position = Vector2( 72, 152 )
frames = SubResource( 80 ) frames = SubResource( 80 )
frame = 7 frame = 5
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall3/Hellarcher"] [node name="Label" type="Label" parent="Control/RollCall3/Hellarcher"]
@ -1128,6 +1112,7 @@ align = 1
material = SubResource( 66 ) material = SubResource( 66 )
position = Vector2( 68, 104 ) position = Vector2( 68, 104 )
frames = SubResource( 70 ) frames = SubResource( 70 )
frame = 2
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall3/Turchin"] [node name="Label" type="Label" parent="Control/RollCall3/Turchin"]
@ -1157,7 +1142,6 @@ position = Vector2( 4, 0 )
z_index = 1 z_index = 1
frames = SubResource( 61 ) frames = SubResource( 61 )
animation = "chomp" animation = "chomp"
frame = 1
playing = true playing = true
[node name="Border" type="AnimatedSprite" parent="Control/RollCall3/Beel/Head/Sprite"] [node name="Border" type="AnimatedSprite" parent="Control/RollCall3/Beel/Head/Sprite"]
@ -1165,7 +1149,6 @@ material = SubResource( 62 )
z_index = -1 z_index = -1
frames = SubResource( 61 ) frames = SubResource( 61 )
animation = "chomp" animation = "chomp"
frame = 1
playing = true playing = true
[node name="ShapeTransform" type="RemoteTransform2D" parent="Control/RollCall3/Beel/Head"] [node name="ShapeTransform" type="RemoteTransform2D" parent="Control/RollCall3/Beel/Head"]
@ -1253,12 +1236,12 @@ margin_top = 152.0
margin_right = 232.0 margin_right = 232.0
margin_bottom = 175.0 margin_bottom = 175.0
theme = ExtResource( 6 ) theme = ExtResource( 6 )
text = "Enervating text = "Eldritch
experiments" experiments"
align = 1 align = 1
[node name="RollCall4" type="Node2D" parent="Control"] [node name="RollCall4" type="Node2D" parent="Control"]
position = Vector2( 1024, 0 ) position = Vector2( 768, 0 )
[node name="2600" parent="Control/RollCall4" instance=ExtResource( 37 )] [node name="2600" parent="Control/RollCall4" instance=ExtResource( 37 )]
position = Vector2( 3464, -8 ) position = Vector2( 3464, -8 )
@ -1316,7 +1299,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 = 1
playing = true playing = true
[node name="Label" type="Label" parent="Control/RollCall4/Famicop"] [node name="Label" type="Label" parent="Control/RollCall4/Famicop"]
@ -1384,6 +1366,34 @@ texture = ExtResource( 42 )
position = Vector2( 184, 80 ) position = Vector2( 184, 80 )
texture = ExtResource( 46 ) texture = ExtResource( 46 )
[node name="RollCall6" type="Node2D" parent="."]
[node name="Famira-wip" type="Sprite" parent="RollCall6"]
position = Vector2( 4438, 104 )
texture = ExtResource( 47 )
[node name="MonsterousMechaMadeMoral" type="Label" parent="RollCall6"]
modulate = Color( 0.980392, 0.878431, 0.0392157, 1 )
material = SubResource( 51 )
margin_left = 4488.0
margin_top = 115.0
margin_right = 4600.0
margin_bottom = 138.0
theme = ExtResource( 6 )
text = "Totalitarian
terror"
align = 1
[node name="Label2" type="Label" parent="RollCall6"]
material = ExtResource( 4 )
margin_left = 4479.0
margin_top = 151.0
margin_right = 4612.0
margin_bottom = 165.0
theme = ExtResource( 6 )
text = "Super Famira"
align = 1
[node name="AnimationPlayer" type="AnimationPlayer" parent="."] [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "credits" autoplay = "credits"
anims/RESET = SubResource( 89 ) anims/RESET = SubResource( 89 )

View file

@ -27,6 +27,7 @@ onready var animation_player: AnimationPlayer = $AnimationPlayer
onready var boss_block: TextureRect = $"%BossBlock" onready var boss_block: TextureRect = $"%BossBlock"
onready var shards_block: HBoxContainer = $"%ShardsBlock" onready var shards_block: HBoxContainer = $"%ShardsBlock"
onready var shards_needed: Label = $"%ShardsNeeded" onready var shards_needed: Label = $"%ShardsNeeded"
onready var world_title: Label = $"%WorldTitle"
func _ready() -> void: func _ready() -> void:
var palette = load("res://graphics/player/palettes/%s.tex" % Game.current_palette) var palette = load("res://graphics/player/palettes/%s.tex" % Game.current_palette)
@ -137,6 +138,14 @@ func _select_level(level_id: int) -> void:
forward_arrow.modulate.a = 1.0 forward_arrow.modulate.a = 1.0
# set text # set text
level_title.text = level.title level_title.text = level.title
#set world name
print(selected_level)
if selected_level < 2: world_title.text = "Garden of love:\nremnants of nature's beauty"
if selected_level == 3: world_title.text = "Artificial life:\namalgam, stranger to the gods"
if selected_level > 3 && selected_level < 7: world_title.text = "Harsh Reality:\nHappiness through Hardship"
if selected_level == 7: world_title.text = "Dr.Intelli the Vengeful monster:\nfriend to no one, cold metal prison"
if selected_level > 7 && selected_level < 11: world_title.text = "Artificial world:\nend man-made suffering"
if selected_level == 11: world_title.text = "This is it SG...\nchange the future, we believe in you"
# initiate animation # initiate animation
_travel_to_level(level.save_id) _travel_to_level(level.save_id)

View file

@ -489,6 +489,19 @@ position = Vector2( 63.9913, 132.768 )
rotation = -2.19436 rotation = -2.19436
offset = 505.0 offset = 505.0
[node name="WorldTitle" type="Label" parent="."]
unique_name_in_owner = true
material = ExtResource( 6 )
margin_left = -26.0
margin_top = 164.0
margin_right = 282.0
margin_bottom = 187.0
theme = ExtResource( 4 )
text = "This is it sg.
change the future, we believe in you"
align = 1
valign = 1
[node name="CurrentLevel" type="HBoxContainer" parent="."] [node name="CurrentLevel" type="HBoxContainer" parent="."]
anchor_right = 1.0 anchor_right = 1.0
margin_bottom = 16.0 margin_bottom = 16.0