diff --git a/export_presets.cfg b/export_presets.cfg index 40d566f..c77e730 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -18,10 +18,10 @@ encrypt_directory=false custom_template/debug="" custom_template/release="" -debug/export_console_wrapper=1 +debug/export_console_wrapper=0 binary_format/embed_pck=true texture_format/bptc=true -texture_format/s3tc=true +texture_format/s3tc=false texture_format/etc=false texture_format/etc2=false binary_format/architecture="x86_64" @@ -31,14 +31,14 @@ codesign/timestamp_server_url="" codesign/digest_algorithm=1 codesign/description="" codesign/custom_options=PackedStringArray() -application/modify_resources=true +application/modify_resources=false application/icon="" application/console_wrapper_icon="" application/icon_interpolation=4 application/file_version="" application/product_version="" application/company_name="meow.sh" -application/product_name="" +application/product_name="adBlockNot" application/file_description="" application/copyright="" application/trademarks="" diff --git a/scenes/game/screen.tscn b/scenes/game/screen.tscn index 176e7db..dea5629 100644 --- a/scenes/game/screen.tscn +++ b/scenes/game/screen.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=15 format=3 uid="uid://ur6erv76d2of"] +[gd_scene load_steps=16 format=3 uid="uid://ur6erv76d2of"] [ext_resource type="FontFile" uid="uid://dwgslonlru0ck" path="res://ressources/Battlenet.ttf" id="1_7ecbr"] [ext_resource type="Script" path="res://scripts/game.gd" id="1_orxmr"] @@ -9,7 +9,7 @@ [ext_resource type="Shader" path="res://shaders/oldscreen.gdshader" id="6_7ta02"] [ext_resource type="PackedScene" uid="uid://b4ujwtugvmurm" path="res://scenes/game/windows/Video_page.tscn" id="7_3mlyk"] [ext_resource type="PackedScene" uid="uid://d0o3thrvt3ecx" path="res://scenes/menu/rules.tscn" id="8_fvukt"] -[ext_resource type="AudioStream" uid="uid://cm4byed2qt10u" path="res://ressources/sounds/AdBlockNot.wav" id="9_j4hp8"] +[ext_resource type="AudioStream" uid="uid://cjnulxaww6ej5" path="res://ressources/sounds/AdBlockNot.wav" id="9_j4hp8"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_se4f0"] bg_color = Color(0.764706, 0.764706, 0.764706, 1) diff --git a/scripts/game.gd b/scripts/game.gd index 6cf358a..a8b0774 100644 --- a/scripts/game.gd +++ b/scripts/game.gd @@ -46,8 +46,13 @@ func new_ads(): # Called when the node enters the scene tree for the first time. func load_scene(): - var _ads_scene = getFilePathsByExtension("res://scenes/game/ads", "tscn") - for scene in _ads_scene: + for scene in [ "res://scenes/game/ads/ads_music.tscn" + , "res://scenes/game/ads/ads_normal.tscn" + , "res://scenes/game/ads/ads_operation.tscn" + , "res://scenes/game/ads/ads_pair.tscn" + , "res://scenes/game/ads/ads_roll.tscn" + , "res://scenes/game/ads/ads_sexy_robot.tscn" + , "res://scenes/game/ads/ads_weather.tscn" ]: ads_scene.push_back(load(scene)) func _input(event):