commit 2c795a293879c3b4e9b02450a81cfa5cb9f41a5e Author: Kris Date: Thu Apr 23 09:34:04 2026 +0300 a diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..f28239b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,4 @@ +root = true + +[*] +charset = utf-8 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..8ad74f7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Normalize EOL for all files that Git considers text files. +* text=auto eol=lf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0af181c --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +# Godot 4+ specific ignores +.godot/ +/android/ diff --git a/8bitoperator_jve.ttf b/8bitoperator_jve.ttf new file mode 100644 index 0000000..111b7de Binary files /dev/null and b/8bitoperator_jve.ttf differ diff --git a/8bitoperator_jve.ttf.import b/8bitoperator_jve.ttf.import new file mode 100644 index 0000000..c2e9c3e --- /dev/null +++ b/8bitoperator_jve.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://cuussijlsrr4l" +path="res://.godot/imported/8bitoperator_jve.ttf-8873ec00995f58e94361e359fa3f502d.fontdata" + +[deps] + +source_file="res://8bitoperator_jve.ttf" +dest_files=["res://.godot/imported/8bitoperator_jve.ttf-8873ec00995f58e94361e359fa3f502d.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=1 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/AUDIO_DRONE.oga b/AUDIO_DRONE.oga new file mode 100644 index 0000000..2ee6435 Binary files /dev/null and b/AUDIO_DRONE.oga differ diff --git a/GonerBG.gd b/GonerBG.gd new file mode 100644 index 0000000..d9659cd --- /dev/null +++ b/GonerBG.gd @@ -0,0 +1,41 @@ +extends Node + +@onready var layer = $GonerLayer + +var layers: Array = [] +var timer: float = 0.0 +const INTERVAL: float = 2 +const START_SCALE: float = 4.5 +const END_SCALE: float = 8.0 +const DURATION: float = 10.0 + +func _ready() -> void: + layer.visible = false + +func _process(delta: float) -> void: + timer += delta + if timer >= INTERVAL: + timer -= INTERVAL + _spawn_layer() + + var i: int = layers.size() - 1 + while i >= 0: + var entry = layers[i] + entry["elapsed"] += delta + var t: float = clampf(entry["elapsed"] / DURATION, 0.0, 1) + var node: Node2D = entry["node"] + node.scale = Vector2(lerpf(START_SCALE, END_SCALE, t), lerpf(START_SCALE, END_SCALE, t)) + node.modulate.a = sin(t * PI) * 0.5 + if t >= 1.0: + node.queue_free() + layers.remove_at(i) + i -= 1 + +func _spawn_layer() -> void: + var clone: Node2D = layer.duplicate() + clone.visible = true + clone.scale = Vector2(START_SCALE, START_SCALE) + clone.modulate = Color(1, 1, 1, 0) + layer.get_parent().add_child(clone) + layer.get_parent().move_child(clone, layer.get_index()) + layers.push_back({"node": clone, "elapsed": 0.0}) diff --git a/GonerBG.gd.uid b/GonerBG.gd.uid new file mode 100644 index 0000000..0dc10f7 --- /dev/null +++ b/GonerBG.gd.uid @@ -0,0 +1 @@ +uid://b1fpep07thkcj diff --git a/deltarune/AUDIO_ANOTHERHIM.ogg b/deltarune/AUDIO_ANOTHERHIM.ogg new file mode 100644 index 0000000..e0da905 Binary files /dev/null and b/deltarune/AUDIO_ANOTHERHIM.ogg differ diff --git a/deltarune/AUDIO_ANOTHERHIM.ogg.import b/deltarune/AUDIO_ANOTHERHIM.ogg.import new file mode 100644 index 0000000..2b720d1 --- /dev/null +++ b/deltarune/AUDIO_ANOTHERHIM.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://d35yx5rudeams" +path="res://.godot/imported/AUDIO_ANOTHERHIM.ogg-a676d3688d33283490397a2874a6345b.oggvorbisstr" + +[deps] + +source_file="res://deltarune/AUDIO_ANOTHERHIM.ogg" +dest_files=["res://.godot/imported/AUDIO_ANOTHERHIM.ogg-a676d3688d33283490397a2874a6345b.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/deltarune/AUDIO_APPEARANCE.wav b/deltarune/AUDIO_APPEARANCE.wav new file mode 100644 index 0000000..d6d5a03 Binary files /dev/null and b/deltarune/AUDIO_APPEARANCE.wav differ diff --git a/deltarune/AUDIO_APPEARANCE.wav.import b/deltarune/AUDIO_APPEARANCE.wav.import new file mode 100644 index 0000000..8cf071e --- /dev/null +++ b/deltarune/AUDIO_APPEARANCE.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://ims0i5a6j5fa" +path="res://.godot/imported/AUDIO_APPEARANCE.wav-876177c8b1b399b3b7c885c4ef57a8bb.sample" + +[deps] + +source_file="res://deltarune/AUDIO_APPEARANCE.wav" +dest_files=["res://.godot/imported/AUDIO_APPEARANCE.wav-876177c8b1b399b3b7c885c4ef57a8bb.sample"] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=2 diff --git a/deltarune/IMAGE_DEPTH_0.png b/deltarune/IMAGE_DEPTH_0.png new file mode 100644 index 0000000..9c6f87c Binary files /dev/null and b/deltarune/IMAGE_DEPTH_0.png differ diff --git a/deltarune/IMAGE_DEPTH_0.png.import b/deltarune/IMAGE_DEPTH_0.png.import new file mode 100644 index 0000000..e42c45f --- /dev/null +++ b/deltarune/IMAGE_DEPTH_0.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b7y21m0lyd7xs" +path="res://.godot/imported/IMAGE_DEPTH_0.png-ba3d802542663bcb34b2f49ea7ee2a19.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://deltarune/IMAGE_DEPTH_0.png" +dest_files=["res://.godot/imported/IMAGE_DEPTH_0.png-ba3d802542663bcb34b2f49ea7ee2a19.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/deltarune/snd_menumove.wav b/deltarune/snd_menumove.wav new file mode 100644 index 0000000..73ad8f6 Binary files /dev/null and b/deltarune/snd_menumove.wav differ diff --git a/deltarune/snd_menumove.wav.import b/deltarune/snd_menumove.wav.import new file mode 100644 index 0000000..08d4caf --- /dev/null +++ b/deltarune/snd_menumove.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://ccilrs167mnei" +path="res://.godot/imported/snd_menumove.wav-d88a64e82d07af1009ac453151f5f311.sample" + +[deps] + +source_file="res://deltarune/snd_menumove.wav" +dest_files=["res://.godot/imported/snd_menumove.wav-d88a64e82d07af1009ac453151f5f311.sample"] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=2 diff --git a/deltarune/snd_select.wav b/deltarune/snd_select.wav new file mode 100644 index 0000000..a026be7 Binary files /dev/null and b/deltarune/snd_select.wav differ diff --git a/deltarune/snd_select.wav.import b/deltarune/snd_select.wav.import new file mode 100644 index 0000000..f255427 --- /dev/null +++ b/deltarune/snd_select.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://b1ahhj78x6m66" +path="res://.godot/imported/snd_select.wav-b4c13244445bf185a4f481098be3bb49.sample" + +[deps] + +source_file="res://deltarune/snd_select.wav" +dest_files=["res://.godot/imported/snd_select.wav-b4c13244445bf185a4f481098be3bb49.sample"] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=2 diff --git a/determination-mono.ttf b/determination-mono.ttf new file mode 100644 index 0000000..d076e5a Binary files /dev/null and b/determination-mono.ttf differ diff --git a/determination-mono.ttf.import b/determination-mono.ttf.import new file mode 100644 index 0000000..707d017 --- /dev/null +++ b/determination-mono.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://dq2rxmdvxvrko" +path="res://.godot/imported/determination-mono.ttf-91d93f088bda0a2015d1c78f25c9e7f0.fontdata" + +[deps] + +source_file="res://determination-mono.ttf" +dest_files=["res://.godot/imported/determination-mono.ttf-91d93f088bda0a2015d1c78f25c9e7f0.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=1 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/icon.png b/icon.png new file mode 100644 index 0000000..0599bca Binary files /dev/null and b/icon.png differ diff --git a/icon.png.import b/icon.png.import new file mode 100644 index 0000000..e154a55 --- /dev/null +++ b/icon.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bn0yf3rit1yet" +path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.png" +dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/main.gd b/main.gd new file mode 100644 index 0000000..f257fc4 --- /dev/null +++ b/main.gd @@ -0,0 +1,17 @@ +extends Node2D + +@onready var ANOTHERHIM = $AnotherHim + +func startMusic() -> void: + ANOTHERHIM.pitch_scale = 0.1 + ANOTHERHIM.play() + create_tween() \ + .tween_property(ANOTHERHIM, "pitch_scale", 1.0, 2.0) \ + .set_trans(Tween.TRANS_SINE) \ + .set_ease(Tween.EASE_IN) + +func _ready() -> void: + startMusic() + +func _process(delta: float) -> void: + pass diff --git a/main.gd.uid b/main.gd.uid new file mode 100644 index 0000000..43ad61e --- /dev/null +++ b/main.gd.uid @@ -0,0 +1 @@ +uid://bvdr5rwyflld6 diff --git a/node_2d.tscn b/node_2d.tscn new file mode 100644 index 0000000..4468697 --- /dev/null +++ b/node_2d.tscn @@ -0,0 +1,84 @@ +[gd_scene format=3 uid="uid://q1eumnno10ob"] + +[ext_resource type="Script" uid="uid://bvdr5rwyflld6" path="res://main.gd" id="1_0e48y"] +[ext_resource type="AudioStream" uid="uid://d35yx5rudeams" path="res://deltarune/AUDIO_ANOTHERHIM.ogg" id="1_wtcfe"] +[ext_resource type="Script" uid="uid://b1fpep07thkcj" path="res://GonerBG.gd" id="3_0hol4"] +[ext_resource type="Texture2D" uid="uid://b7y21m0lyd7xs" path="res://deltarune/IMAGE_DEPTH_0.png" id="3_epypp"] +[ext_resource type="FontFile" uid="uid://cuussijlsrr4l" path="res://8bitoperator_jve.ttf" id="5_q6r6c"] + +[node name="Main" type="Node2D" unique_id=1298894681] +script = ExtResource("1_0e48y") + +[node name="AnotherHim" type="AudioStreamPlayer" parent="." unique_id=1431579752] +stream = ExtResource("1_wtcfe") + +[node name="ColorRect" type="ColorRect" parent="." unique_id=701818381] +z_index = -100 +offset_left = -66.3667 +offset_top = -42.0 +offset_right = 1991.0 +offset_bottom = 1260.0 +color = Color(0, 0, 0, 1) + +[node name="Contents" type="Container" parent="." unique_id=1548265230] +clip_children = 2 +clip_contents = true +custom_minimum_size = Vector2(1440, 1080) +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = 239.0 +offset_right = 1679.0 +offset_bottom = 1080.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="GonerBG" type="Node2D" parent="Contents" unique_id=1201635985] +modulate = Color(0.33333334, 0.33333334, 0.33333334, 1) +position = Vector2(720, 540) +script = ExtResource("3_0hol4") + +[node name="GonerLayer" type="Node2D" parent="Contents/GonerBG" unique_id=2129156156] +scale = Vector2(4.5, 4.5) + +[node name="Sprite2D" type="Sprite2D" parent="Contents/GonerBG/GonerLayer" unique_id=594752549] +texture_filter = 1 +texture = ExtResource("3_epypp") +centered = false + +[node name="Sprite2D2" type="Sprite2D" parent="Contents/GonerBG/GonerLayer" unique_id=744610003] +texture_filter = 1 +texture = ExtResource("3_epypp") +centered = false +offset = Vector2(0, -120) +flip_v = true + +[node name="Sprite2D3" type="Sprite2D" parent="Contents/GonerBG/GonerLayer" unique_id=422990252] +texture_filter = 1 +texture = ExtResource("3_epypp") +centered = false +offset = Vector2(-160, 0) +flip_h = true + +[node name="Sprite2D4" type="Sprite2D" parent="Contents/GonerBG/GonerLayer" unique_id=818656934] +texture_filter = 1 +texture = ExtResource("3_epypp") +centered = false +offset = Vector2(-160, -120) +flip_h = true +flip_v = true + +[node name="gmDialog_deltarune" type="Node2D" parent="Contents/GonerBG" unique_id=1664493564] +z_index = 1024 +z_as_relative = false + +[node name="Label" type="Label" parent="Contents/GonerBG/gmDialog_deltarune" unique_id=1158768463] +z_index = 4096 +z_as_relative = false +offset_right = 348.0 +offset_bottom = 32.0 +theme_override_fonts/font = ExtResource("5_q6r6c") +theme_override_font_sizes/font_size = 32 +text = "Kris, where THE FUCK are we?" diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..f63b173 --- /dev/null +++ b/project.godot @@ -0,0 +1,38 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=5 + +[accessibility] + +general/accessibility_support=2 + +[application] + +config/name="DEVICE CONTACT" +run/main_scene="res://node_2d.tscn" +config/features=PackedStringArray("4.6", "Forward Plus") +run/max_fps=30 +boot_splash/bg_color=Color(0, 0, 0, 1) +boot_splash/show_image=false +config/icon="uid://bn0yf3rit1yet" + +[display] + +window/size/viewport_width=1920 +window/size/viewport_height=1080 +window/size/mode=3 +window/size/resizable=false + +[physics] + +3d/physics_engine="Jolt Physics" + +[rendering] + +rendering_device/driver.windows="d3d12"