From 5b7ccd92933619c8f0f85e4bac12cf7246ae1bf0 Mon Sep 17 00:00:00 2001 From: MarcEricMartel Date: Wed, 12 Oct 2022 13:40:48 -0400 Subject: [PATCH] yahyah --- Levels/Level03.tscn | 29 +++++++++++++++++-- .../light/texture_01.png.import | 18 +++++++----- 2 files changed, 37 insertions(+), 10 deletions(-) diff --git a/Levels/Level03.tscn b/Levels/Level03.tscn index a1f6ac8..0e9e4f3 100644 --- a/Levels/Level03.tscn +++ b/Levels/Level03.tscn @@ -1,11 +1,31 @@ -[gd_scene load_steps=10 format=2] +[gd_scene load_steps=20 format=2] [ext_resource path="res://Levels/Level03.gd" type="Script" id=1] +[ext_resource path="res://Textures/kenney_prototype_textures/orange/texture_01.png" type="Texture" id=2] [ext_resource path="res://Scenes/Enemy.tscn" type="PackedScene" id=3] +[ext_resource path="res://Textures/kenney_prototype_textures/green/texture_01.png" type="Texture" id=4] [ext_resource path="res://Player.tscn" type="PackedScene" id=5] [ext_resource path="res://AllSkyFree_Skyboxes/Epic_BlueSunset_EquiRect_flat.png" type="Texture" id=6] +[ext_resource path="res://Textures/kenney_prototype_textures/purple/texture_01.png" type="Texture" id=7] [ext_resource path="res://fonts/TorontoSubwayRegular.ttf" type="DynamicFontData" id=8] [ext_resource path="res://Audio/DiJazz.ogg" type="AudioStream" id=9] +[ext_resource path="res://Textures/kenney_prototype_textures/light/texture_01.png" type="Texture" id=10] +[ext_resource path="res://Textures/kenney_prototype_textures/dark/texture_01.png" type="Texture" id=11] + +[sub_resource type="SpatialMaterial" id=9] +albedo_texture = ExtResource( 11 ) + +[sub_resource type="SpatialMaterial" id=10] +albedo_texture = ExtResource( 2 ) + +[sub_resource type="SpatialMaterial" id=11] +albedo_texture = ExtResource( 4 ) + +[sub_resource type="SpatialMaterial" id=12] +albedo_texture = ExtResource( 7 ) + +[sub_resource type="SpatialMaterial" id=13] +albedo_texture = ExtResource( 10 ) [sub_resource type="PanoramaSky" id=6] panorama = ExtResource( 6 ) @@ -60,26 +80,31 @@ use_collision = true transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.858472, -1.98215, 0.0803872 ) width = 28.7268 depth = 39.2853 +material = SubResource( 9 ) [node name="CSGBox2" type="CSGBox" parent="CSGCombiner"] transform = Transform( 0.999998, 0, 0, 0, 1, 0, 0, 0, 0.999998, -0.650235, -1.05012, 50.3919 ) width = 5.52827 depth = 31.9112 +material = SubResource( 10 ) [node name="CSGBox3" type="CSGBox" parent="CSGCombiner"] transform = Transform( 0.999998, 0, 0, 0, 1, 0, 0, 0, 0.999998, -0.739882, 6.73672, 50.3919 ) width = 5.52827 depth = 31.9112 +material = SubResource( 11 ) [node name="CSGBox4" type="CSGBox" parent="CSGCombiner"] -transform = Transform( -0.00610858, 0.999981, -0.000245838, -0.999979, -0.00610863, -0.000244341, -0.000245838, 0.000244341, 0.999997, 4.43244, 2.53261, 50.3931 ) +transform = Transform( -0.00610858, 0.99998, -0.000245838, -0.999979, -0.00610863, -0.000244341, -0.000245838, 0.000244341, 0.999997, 3.90277, 2.53261, 50.393 ) width = 5.52827 depth = 31.9112 +material = SubResource( 12 ) [node name="CSGBox5" type="CSGBox" parent="CSGCombiner"] transform = Transform( -0.00610858, 0.99998, -0.000245838, -0.999979, -0.00610863, -0.000244341, -0.000245838, 0.000244341, 0.999997, -5.21178, 2.53261, 50.3907 ) width = 5.52827 depth = 31.9112 +material = SubResource( 13 ) [node name="Player" parent="." instance=ExtResource( 5 )] transform = Transform( -0.997569, 0, -0.0696868, 0, 1, 0, 0.0696868, 0, -0.997569, 0.792524, 7.59106, -6.04147 ) diff --git a/Textures/kenney_prototype_textures/light/texture_01.png.import b/Textures/kenney_prototype_textures/light/texture_01.png.import index a7f44b4..6474d7e 100644 --- a/Textures/kenney_prototype_textures/light/texture_01.png.import +++ b/Textures/kenney_prototype_textures/light/texture_01.png.import @@ -2,28 +2,30 @@ importer="texture" type="StreamTexture" -path="res://.import/texture_01.png-9bea8c6b5e6517078ea2135f707750e0.stex" +path.s3tc="res://.import/texture_01.png-9bea8c6b5e6517078ea2135f707750e0.s3tc.stex" +path.etc2="res://.import/texture_01.png-9bea8c6b5e6517078ea2135f707750e0.etc2.stex" metadata={ -"vram_texture": false +"imported_formats": [ "s3tc", "etc2" ], +"vram_texture": true } [deps] source_file="res://Textures/kenney_prototype_textures/light/texture_01.png" -dest_files=[ "res://.import/texture_01.png-9bea8c6b5e6517078ea2135f707750e0.stex" ] +dest_files=[ "res://.import/texture_01.png-9bea8c6b5e6517078ea2135f707750e0.s3tc.stex", "res://.import/texture_01.png-9bea8c6b5e6517078ea2135f707750e0.etc2.stex" ] [params] -compress/mode=0 +compress/mode=2 compress/lossy_quality=0.7 compress/hdr_mode=0 compress/bptc_ldr=0 compress/normal_map=0 -flags/repeat=0 +flags/repeat=true flags/filter=true -flags/mipmaps=false +flags/mipmaps=true flags/anisotropic=false -flags/srgb=2 +flags/srgb=1 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false @@ -31,5 +33,5 @@ process/invert_color=false process/normal_map_invert_y=false stream=false size_limit=0 -detect_3d=true +detect_3d=false svg/scale=1.0