This commit is contained in:
pennyrigate 2024-07-11 16:57:30 -04:00
parent a6374aa311
commit 8a3fc9be82
4 changed files with 82 additions and 0 deletions

View file

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

View file

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

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/speech_bubble.png-432aa9dcde6a27c31b84f7cece92306f.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://graphics/hud/speech_bubble.png"
dest_files=[ "res://.import/speech_bubble.png-432aa9dcde6a27c31b84f7cece92306f.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View file

@ -0,0 +1,17 @@
shader_type canvas_item;
uniform bool animate_noise = false;
uniform float noise_intensity = 1.0;
float random (vec2 uv) {
return fract(sin(dot(uv.xy,
vec2(12.9898,78.233))) * 43758.5453123);
}
void fragment() {
vec2 noise_uv = SCREEN_UV + fract(TIME) * float(animate_noise) / 10.0;
float noise = random(noise_uv);
noise = mix(1.0 - noise_intensity, 1.0, noise);
COLOR = vec4(COLOR.rgb * noise, COLOR.a);
}