all dont???

This commit is contained in:
Tabby 2025-05-17 17:48:13 +10:00
parent 08d7506174
commit b538a3a02e
7 changed files with 55 additions and 7 deletions

View file

@ -1,8 +1,14 @@
[gd_scene load_steps=3 format=3 uid="uid://ip51kjj5sl6v"]
[gd_scene load_steps=4 format=3 uid="uid://ip51kjj5sl6v"]
[ext_resource type="Script" uid="uid://cuct36ytrc3mu" path="res://game_manager.gd" id="1_d8p07"]
[ext_resource type="Texture2D" uid="uid://r71wb0u4bsxw" path="res://sprites/broken_tv_remote.png" id="2_s0thi"]
[ext_resource type="AudioStream" uid="uid://c5r76x65ps5a2" path="res://sounds/evil.mp3" id="3_vwfng"]
[node name="GameManager" type="Node"]
[node name="GameManager" type="Node" node_paths=PackedStringArray("zoom_player")]
script = ExtResource("1_d8p07")
broken_tv_remote = ExtResource("2_s0thi")
zoom_player = NodePath("AudioStreamPlayer")
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3_vwfng")
volume_db = -2.08

View file

@ -17,6 +17,7 @@ signal end_platformer
signal game_over
@export var broken_tv_remote : Texture
@export var zoom_player : AudioStreamPlayer
var are_we_skipping_intro : bool = false
# Called when the node enters the scene tree for the first time.
@ -30,6 +31,7 @@ func _process(delta: float) -> void:
func play_zoom_out():
zoom_out_signal.emit()
zoom_player.play()
func show_chat(text : String):
show_chat_signal.emit(text)

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=9 format=3 uid="uid://bw1hhx7lyfonr"]
[gd_scene load_steps=10 format=3 uid="uid://bw1hhx7lyfonr"]
[ext_resource type="Script" uid="uid://brih2jftm2tsa" path="res://games/asteroids/ship_controller.gd" id="1_6dc0m"]
[ext_resource type="Script" uid="uid://carkc2diu0xwd" path="res://games/asteroids/asteroids.gd" id="1_j0tb1"]
@ -23,6 +23,9 @@ radius = 26.0192
[sub_resource type="CircleShape2D" id="CircleShape2D_j0tb1"]
radius = 26.0192
[sub_resource type="LabelSettings" id="LabelSettings_j0tb1"]
font_size = 32
[node name="Asteroids" type="Node" node_paths=PackedStringArray("asteroid_spawns", "win_progress", "player")]
script = ExtResource("1_j0tb1")
asteroid_spawns = [NodePath("Spawns/SpawnPoint"), NodePath("Spawns/SpawnPoint2"), NodePath("Spawns/SpawnPoint3"), NodePath("Spawns/SpawnPoint4")]
@ -93,4 +96,18 @@ step = 0.0
fill_mode = 3
show_percentage = false
[node name="Label" type="Label" parent="."]
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -136.5
offset_top = -45.0
offset_right = 136.5
grow_horizontal = 2
grow_vertical = 0
text = "Turn with C and V"
label_settings = SubResource("LabelSettings_j0tb1")
[connection signal="area_entered" from="Ship/Area2D" to="." method="_on_area_2d_area_entered"]

View file

@ -57,7 +57,7 @@ size_flags_vertical = 4
[node name="Label" type="Label" parent="Prepare/MarginContainer/PanelContainer"]
layout_mode = 2
text = "Get Ready to press Space"
text = "Don't press Space"
label_settings = SubResource("LabelSettings_npxhc")
horizontal_alignment = 1
autowrap_mode = 2

View file

@ -35,7 +35,6 @@ offset_bottom = 40.0
texture = SubResource("GradientTexture2D_j0t7f")
[node name="MenuContainer" type="CenterContainer" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@ -60,7 +59,7 @@ layout_mode = 2
layout_mode = 2
theme_override_font_sizes/normal_font_size = 31
bbcode_enabled = true
text = "[wave]Alternate (Name Pending)"
text = "Channel Switcher"
fit_content = true
autowrap_mode = 0
@ -93,6 +92,7 @@ layout_mode = 2
text = "Exit Game"
[node name="CreditsContainer" type="CenterContainer" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@ -128,7 +128,11 @@ layout_mode = 2
theme_override_font_sizes/normal_font_size = 10
bbcode_enabled = true
text = "[ul] [url=https://commons.wikimedia.org/wiki/File:Television_static.gif]TV Static Animation from Wikipedia[/url]
[url=https://opengameart.org/content/neko-cat-fighter-animated-jason-em-style]Neko (Cat fighter) by Umz [/url]"
[url=https://opengameart.org/content/neko-cat-fighter-animated-jason-em-style]Neko (Cat fighter) by Umz [/url]
[url=https://opengameart.org/content/win-sound-2]Win Sound 2 by remaxim[/url]
[url=https://opengameart.org/content/bad-sound-1]Bad sound 1 by remaxim[/url]
[url=https://opengameart.org/content/new-thing-get]New Thing Get! by Congusbongus[/url]
evil.mp3 by Unlimited_gaming"
fit_content = true
[node name="BackButton" type="Button" parent="CreditsContainer/PanelContainer/MarginContainer/VBoxContainer"]

BIN
sounds/evil.mp3 Normal file

Binary file not shown.

19
sounds/evil.mp3.import Normal file
View file

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://c5r76x65ps5a2"
path="res://.godot/imported/evil.mp3-ac8695464f3b76ca98dac5b81596579c.mp3str"
[deps]
source_file="res://sounds/evil.mp3"
dest_files=["res://.godot/imported/evil.mp3-ac8695464f3b76ca98dac5b81596579c.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4