Anri/AdBlockNot
Archived
1
0
Fork 0

added sound

This commit is contained in:
Manal 2024-01-28 16:29:20 +01:00
parent 30e43596d0
commit 6c452a893b
15 changed files with 221 additions and 1 deletions

15
default_bus_layout.tres Normal file
View file

@ -0,0 +1,15 @@
[gd_resource type="AudioBusLayout" format=3 uid="uid://bsopibysl0tjf"]
[resource]
bus/1/name = &"SFX"
bus/1/solo = false
bus/1/mute = false
bus/1/bypass_fx = false
bus/1/volume_db = 0.0
bus/1/send = &"Master"
bus/2/name = &"Music"
bus/2/solo = false
bus/2/mute = false
bus/2/bypass_fx = false
bus/2/volume_db = 0.0
bus/2/send = &"Master"

BIN
models/menu/icones/Help.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 751 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bx3exdw66656r"
path="res://.godot/imported/Help.png-f3c420e10d127643588f88d2b5b32fe2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://models/menu/icones/Help.png"
dest_files=["res://.godot/imported/Help.png-f3c420e10d127643588f88d2b5b32fe2.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 964 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dpnvh4lt28eb"
path="res://.godot/imported/Infinite.png-fc6c031def70ea9eb6ae67a8f918ea09.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://models/menu/icones/Infinite.png"
dest_files=["res://.godot/imported/Infinite.png-fc6c031def70ea9eb6ae67a8f918ea09.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 865 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://f1rkaxvylydr"
path="res://.godot/imported/Options.png-173df3e6ddb7027df1fcbc1063825c03.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://models/menu/icones/Options.png"
dest_files=["res://.godot/imported/Options.png-173df3e6ddb7027df1fcbc1063825c03.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 973 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://penooc7d5lba"
path="res://.godot/imported/Sound.png-2789d1ab0d32d7cbd52a097bed3dd345.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://models/menu/icones/Sound.png"
dest_files=["res://.godot/imported/Sound.png-2789d1ab0d32d7cbd52a097bed3dd345.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

BIN
models/menu/icones/User.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 831 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dj2ksd67cmwfg"
path="res://.godot/imported/User.png-38f251ea7919ecbc9781f107f8b42f18.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://models/menu/icones/User.png"
dest_files=["res://.godot/imported/User.png-38f251ea7919ecbc9781f107f8b42f18.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

Binary file not shown.

View file

@ -0,0 +1,23 @@
shader_type canvas_item;
uniform float SCREEN_HEIGHT = 240.0;
void vertex() {
// Called for every vertex the material is visible on.
}
void fragment() {
// Called for every pixel the material is visible on.
int y_index = int(UV.y * SCREEN_HEIGHT);
if(y_index % 2 == 0){
COLOR.a = 0.05;
}
else {
COLOR.a = 0.0;
}
}
//void light() {
// Called for every pixel for every light affecting the CanvasItem.
// Uncomment to replace the default light processing function with this one.
//}

View file

@ -0,0 +1,6 @@
[gd_scene format=3 uid="uid://6c3elje3j430"]
[node name="Window" type="Window"]
title = "lllllll"
position = Vector2i(0, 36)
size = Vector2i(500, 400)

View file

@ -3,6 +3,7 @@ extends Node2D
# Called when the node enters the scene tree for the first time. # Called when the node enters the scene tree for the first time.
func _ready(): func _ready():
$Menu/Options/Rules.set_visible(false)
Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE) Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
pass # Replace with function body. pass # Replace with function body.
@ -24,5 +25,10 @@ func _on_infinite_start_pressed():
pass # Replace with function body. pass # Replace with function body.
func _on_options_pressed(): func _on_options_pressed():
#get_tree().change_scene_to_file("") $Menu/Options/Rules.set_visible(true)
pass # Replace with function body.
func _on_close_pressed():
$Menu/Options/Rules.set_visible(false)
pass # Replace with function body. pass # Replace with function body.