audio asset compression

This commit is contained in:
Page Asgardius 2024-01-15 04:00:39 -07:00
parent 4c889eb145
commit c3e21b5ed6
41 changed files with 131 additions and 28 deletions

View file

@ -14,7 +14,7 @@ func _ready():
func _process(delta):
if Time.get_ticks_msec() - Global.wait > Global.timelimit:
Global.live = 2
if Global.live == 1 && (Time.get_ticks_msec() - Global.wait) >= 1000 && (Input.is_key_pressed(KEY_ESCAPE) || Input.is_joy_button_pressed(0,JOY_BUTTON_B)):
if Global.live == 1 && (Time.get_ticks_msec() - Global.wait) >= 1000 && (Input.is_key_pressed(KEY_ESCAPE) || Input.is_joy_button_pressed(0,JOY_BUTTON_A)):
#print("Mouse Click/Unclick at: ", event.position)
_title()
if Global.live == 0:

View file

@ -14,7 +14,7 @@ func _ready():
func _process(delta):
if Time.get_ticks_msec() - Global.wait > Global.timelimit:
Global.live = 2
if Global.live == 1 && (Time.get_ticks_msec() - Global.wait) >= 1000 && (Input.is_key_pressed(KEY_ESCAPE) || Input.is_joy_button_pressed(0,JOY_BUTTON_B)):
if Global.live == 1 && (Time.get_ticks_msec() - Global.wait) >= 1000 && (Input.is_key_pressed(KEY_ESCAPE) || Input.is_joy_button_pressed(0,JOY_BUTTON_A)):
#print("Mouse Click/Unclick at: ", event.position)
_title()
if Global.live == 0:

View file

@ -30,7 +30,7 @@ offset_top = 361.0
offset_right = 602.0
offset_bottom = 387.0
scale = Vector2(2.92998, 7.01768)
text = "Press Enter or A to return to title"
text = "Press Enter or B to return to title"
[node name="Label3" type="Label" parent="."]
offset_left = 158.0

View file

@ -19,7 +19,7 @@ func _process(delta):
func _input(event):
# Mouse in viewport coordinates.
if (Time.get_ticks_msec() - wait) >= 1000 && (event is InputEventMouseButton || Input.is_joy_button_pressed(0,JOY_BUTTON_A) || Input.is_key_pressed(KEY_ENTER)):
if (Time.get_ticks_msec() - wait) >= 1000 && (event is InputEventMouseButton || Input.is_joy_button_pressed(0,JOY_BUTTON_B) || Input.is_key_pressed(KEY_ENTER)):
#print("Mouse Click/Unclick at: ", event.position)
_title()

View file

@ -30,7 +30,7 @@ offset_top = 361.0
offset_right = 488.0
offset_bottom = 387.0
scale = Vector2(2.92998, 7.01768)
text = "Press Enter or A to return to title"
text = "Press Enter or B to return to title"
[node name="Label3" type="Label" parent="."]
offset_left = 158.0

View file

@ -14,7 +14,7 @@ func _ready():
func _process(delta):
if Time.get_ticks_msec() - Global.wait > Global.timelimit:
Global.live = 2
if Global.live == 1 && (Time.get_ticks_msec() - Global.wait) >= 1000 && (Input.is_key_pressed(KEY_ESCAPE) || Input.is_joy_button_pressed(0,JOY_BUTTON_B)):
if Global.live == 1 && (Time.get_ticks_msec() - Global.wait) >= 1000 && (Input.is_key_pressed(KEY_ESCAPE) || Input.is_joy_button_pressed(0,JOY_BUTTON_A)):
#print("Mouse Click/Unclick at: ", event.position)
_title()
if Global.live == 0:

View file

@ -1,8 +1,8 @@
[gd_scene load_steps=4 format=3 uid="uid://dp6xt67ch512j"]
[gd_scene load_steps=4 format=3 uid="uid://cb0ku0ohti11n"]
[ext_resource type="Script" path="res://bootclick.gd" id="1_52bti"]
[ext_resource type="PackedScene" uid="uid://dblfov80ngodu" path="res://selftest.tscn" id="3_jtnh5"]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="3_lnkl4"]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="3_wfymi"]
[node name="bootclick" type="Control"]
layout_mode = 3
@ -29,5 +29,5 @@ offset_top = 112.0
offset_right = 97.0
offset_bottom = 135.0
[node name="Bottomhud" parent="." instance=ExtResource("3_lnkl4")]
[node name="Bottomhud" parent="." instance=ExtResource("3_wfymi")]
layout_mode = 1

View file

@ -11,6 +11,7 @@ grow_horizontal = 2
grow_vertical = 2
[node name="fps" type="Label" parent="."]
layout_mode = 0
offset_left = 5.0
offset_top = 697.0
offset_right = 45.0
@ -23,4 +24,4 @@ offset_left = 1191.0
offset_top = 691.0
offset_right = 1271.0
offset_bottom = 714.0
text = "R0.1.2-beta"
text = "R0.1.3-dev"

View file

@ -51,6 +51,6 @@ func _complete():
func _input(event):
# Mouse in viewport coordinates.
if bgsound.get_playback_position() > 1 && event is InputEventMouseButton || Input.is_joy_button_pressed(0,JOY_BUTTON_A) || Input.is_key_pressed(KEY_ENTER):
if bgsound.get_playback_position() > 1 && event is InputEventMouseButton || Input.is_joy_button_pressed(0,JOY_BUTTON_B) || Input.is_key_pressed(KEY_ENTER):
#print("Mouse Click/Unclick at: ", event.position)
_complete()

Binary file not shown.

View file

@ -15,7 +15,7 @@ dest_files=["res://.godot/imported/alien-bulls.wav-27f490a7169aff761fa58c12e1135
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
force/max_rate_hz=22050
edit/trim=false
edit/normalize=false
edit/loop_mode=2

Binary file not shown.

View file

@ -15,7 +15,7 @@ dest_files=["res://.godot/imported/broken.wav-9bf1c8f23bb1769fd0b99ca8bdfd60ea.s
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
force/max_rate_hz=22050
edit/trim=false
edit/normalize=false
edit/loop_mode=2

Binary file not shown.

Binary file not shown.

View file

@ -15,7 +15,7 @@ dest_files=["res://.godot/imported/maran.wav-f360fc74f16659b57ef865dcd8adc07d.sa
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
force/max_rate_hz=22050
edit/trim=false
edit/normalize=false
edit/loop_mode=2

Binary file not shown.

View file

@ -15,7 +15,7 @@ dest_files=["res://.godot/imported/orion.wav-830743a5cd9d83c39bca0bd8a69bb580.sa
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
force/max_rate_hz=22050
edit/trim=false
edit/normalize=false
edit/loop_mode=2

Binary file not shown.

View file

@ -15,7 +15,7 @@ dest_files=["res://.godot/imported/oskars.wav-748b759985aeacf983ebbe58e2f4b438.s
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
force/max_rate_hz=22050
edit/trim=false
edit/normalize=false
edit/loop_mode=2

Binary file not shown.

View file

@ -15,7 +15,7 @@ dest_files=["res://.godot/imported/rock.wav-e3359062c3afe81a0bdd88a06dc6cd71.sam
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
force/max_rate_hz=22050
edit/trim=false
edit/normalize=false
edit/loop_mode=2

Binary file not shown.

View file

@ -15,7 +15,7 @@ dest_files=["res://.godot/imported/rose.wav-9b898aaccf9d9f9b5c2e0e05e5953beb.sam
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
force/max_rate_hz=22050
edit/trim=false
edit/normalize=false
edit/loop_mode=2

Binary file not shown.

View file

@ -15,7 +15,7 @@ dest_files=["res://.godot/imported/sweetest-sin.wav-4e7d01168ced3b8235a0dd32fe19
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
force/max_rate_hz=22050
edit/trim=false
edit/normalize=false
edit/loop_mode=0

Binary file not shown.

View file

@ -15,7 +15,7 @@ dest_files=["res://.godot/imported/tekilla.wav-f7a8ab6752ff0d2dc125b980e5d5d6bb.
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
force/max_rate_hz=22050
edit/trim=false
edit/normalize=false
edit/loop_mode=0

Binary file not shown.

View file

@ -15,7 +15,7 @@ dest_files=["res://.godot/imported/truth.wav-2d7a70053b9de8eed2f2707e82d6d709.sa
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
force/max_rate_hz=22050
edit/trim=false
edit/normalize=false
edit/loop_mode=2

Binary file not shown.

View file

@ -15,7 +15,7 @@ dest_files=["res://.godot/imported/x-force.wav-d6207f01f4c5fbb8ab4f6b0684fc6d51.
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
force/max_rate_hz=22050
edit/trim=false
edit/normalize=false
edit/loop_mode=2

Binary file not shown.

View file

@ -15,7 +15,7 @@ dest_files=["res://.godot/imported/yes-i-see.wav-31e9ccf9a202515f358fba3cf93c2d8
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
force/max_rate_hz=22050
edit/trim=false
edit/normalize=false
edit/loop_mode=0

Binary file not shown.

View file

@ -2,7 +2,7 @@
importer="wav"
type="AudioStreamWAV"
uid="uid://c0bfrdoajy2if"
uid="uid://orgd37oidsd2"
path="res://.godot/imported/title.wav-50daaedcfc0f868fd49d8ccc454658d8.sample"
[deps]

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b1vtpqa3x5bya"
path="res://.godot/imported/h-grid.jpg-8d2a0dfe0fa4c3f1d8d80aa5163252dd.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://steamgrid/h-grid.jpg"
dest_files=["res://.godot/imported/h-grid.jpg-8d2a0dfe0fa4c3f1d8d80aa5163252dd.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

34
steamgrid/hero.jpg.import Normal file
View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c5i7xmfe1121x"
path="res://.godot/imported/hero.jpg-1dbc52503612e6d786c6b74587e7bc0f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://steamgrid/hero.jpg"
dest_files=["res://.godot/imported/hero.jpg-1dbc52503612e6d786c6b74587e7bc0f.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dnt1fqd5jv8sc"
path="res://.godot/imported/v-grid.jpg-5d2fcc6c35a337113d7dbc0765b394be.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://steamgrid/v-grid.jpg"
dest_files=["res://.godot/imported/v-grid.jpg-5d2fcc6c35a337113d7dbc0765b394be.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

View file

@ -31,10 +31,10 @@ func _process(delta):
func _input(event):
# Mouse in viewport coordinates.
if (Time.get_ticks_msec() - wait) >= 1000 && (event is InputEventMouseButton || Input.is_key_pressed(KEY_ENTER) || Input.is_joy_button_pressed(0,JOY_BUTTON_A)):
if (Time.get_ticks_msec() - wait) >= 1000 && (event is InputEventMouseButton || Input.is_key_pressed(KEY_ENTER) || Input.is_joy_button_pressed(0,JOY_BUTTON_B)):
#print("Mouse Click/Unclick at: ", event.position)
_level()
elif (Time.get_ticks_msec() - wait) >= 1000 && (Input.is_key_pressed(KEY_ESCAPE) || Input.is_joy_button_pressed(0,JOY_BUTTON_B)):
elif (Time.get_ticks_msec() - wait) >= 1000 && (Input.is_key_pressed(KEY_ESCAPE) || Input.is_joy_button_pressed(0,JOY_BUTTON_A)):
get_tree().quit()
func _level():

View file

@ -51,7 +51,7 @@ offset_top = 92.0
offset_right = 610.0
offset_bottom = 118.0
scale = Vector2(2.61468, 1.57466)
text = "Press A or Enter start"
text = "Press B or Enter start"
script = ExtResource("4_cc41w")
[node name="exit" type="Label" parent="."]
@ -61,7 +61,7 @@ offset_top = 602.0
offset_right = 568.0
offset_bottom = 628.0
scale = Vector2(2.61468, 1.57466)
text = "Press escape or B to exit"
text = "Press escape or A to exit"
script = ExtResource("5_scoec")
[node name="Label" type="Label" parent="."]