diff --git a/fonts/Handwritingg3.ttf b/fonts/Handwritingg3.ttf new file mode 100644 index 0000000..fc48882 Binary files /dev/null and b/fonts/Handwritingg3.ttf differ diff --git a/fonts/Handwritingg3.ttf.import b/fonts/Handwritingg3.ttf.import new file mode 100644 index 0000000..bbfcf18 --- /dev/null +++ b/fonts/Handwritingg3.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://dkc6bfd6b4ibs" +path="res://.godot/imported/Handwritingg3.ttf-11dfe316705da4dc23e8d7f8914b04ba.fontdata" + +[deps] + +source_file="res://fonts/Handwritingg3.ttf" +dest_files=["res://.godot/imported/Handwritingg3.ttf-11dfe316705da4dc23e8d7f8914b04ba.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=1 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/fonts/PlaypenSans.ttf b/fonts/PlaypenSans.ttf new file mode 100644 index 0000000..9c40b30 Binary files /dev/null and b/fonts/PlaypenSans.ttf differ diff --git a/fonts/PlaypenSans.ttf.import b/fonts/PlaypenSans.ttf.import new file mode 100644 index 0000000..9bb37a2 --- /dev/null +++ b/fonts/PlaypenSans.ttf.import @@ -0,0 +1,36 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://b3o8fv6dxeoh2" +path="res://.godot/imported/PlaypenSans.ttf-e19140ed34da710b84471ebc40667813.fontdata" + +[deps] + +source_file="res://fonts/PlaypenSans.ttf" +dest_files=["res://.godot/imported/PlaypenSans.ttf-e19140ed34da710b84471ebc40667813.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +modulate_color_glyphs=false +hinting=1 +subpixel_positioning=4 +keep_rounding_remainders=true +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/materials/brightshroom.tres b/materials/brightshroom.tres new file mode 100644 index 0000000..0a4f0c6 --- /dev/null +++ b/materials/brightshroom.tres @@ -0,0 +1,11 @@ +[gd_resource type="StandardMaterial3D" format=3 uid="uid://2s8nf0t402xt"] + +[ext_resource type="Texture2D" uid="uid://ln2b0h7jurye" path="res://textures/brightshroom.png" id="1_wk7lx"] + +[resource] +albedo_texture = ExtResource("1_wk7lx") +emission_enabled = true +emission_energy_multiplier = 0.66 +emission_texture = ExtResource("1_wk7lx") +texture_filter = 0 +disable_receive_shadows = true diff --git a/materials/brightshroom_orange.tres b/materials/brightshroom_orange.tres new file mode 100644 index 0000000..775cc82 --- /dev/null +++ b/materials/brightshroom_orange.tres @@ -0,0 +1,11 @@ +[gd_resource type="StandardMaterial3D" format=3 uid="uid://dkx2w75felif2"] + +[ext_resource type="Texture2D" uid="uid://gotb5lmbe8ve" path="res://textures/brightshroom_orange.png" id="1_k7ca7"] + +[resource] +albedo_texture = ExtResource("1_k7ca7") +emission_enabled = true +emission_energy_multiplier = 0.66 +emission_texture = ExtResource("1_k7ca7") +texture_filter = 0 +disable_receive_shadows = true diff --git a/materials/tile/stone_floor.tres b/materials/tile/stone_floor.tres new file mode 100644 index 0000000..7fa7edf --- /dev/null +++ b/materials/tile/stone_floor.tres @@ -0,0 +1,9 @@ +[gd_resource type="StandardMaterial3D" format=3 uid="uid://bivt02tm06osv"] + +[ext_resource type="Texture2D" uid="uid://dfcoremq6wxa" path="res://textures/tile/stone_floor.png" id="1_433wp"] + +[resource] +albedo_texture = ExtResource("1_433wp") +uv1_scale = Vector3(0.5, 0.5, 0.5) +uv1_triplanar = true +texture_filter = 0 diff --git a/models/brightshroom.bbmodel b/models/brightshroom.bbmodel new file mode 100644 index 0000000..ccc613f --- /dev/null +++ b/models/brightshroom.bbmodel @@ -0,0 +1 @@ +{"meta":{"format_version":"5.0","model_format":"free","box_uv":false},"name":"brightshroom","model_identifier":"","visible_box":[1,1,0],"variable_placeholders":"","multi_file_ruleset":"","variable_placeholder_buttons":[],"timeline_setups":[],"unhandled_root_fields":{},"resolution":{"width":128,"height":128},"elements":[{"name":"mesh","color":2,"origin":[0,-1,0],"rotation":[0,0,0],"shading":"flat","export":true,"visibility":true,"locked":false,"render_order":"default","scope":0,"allow_mirror_modeling":true,"vertices":{"qHgc":[2,32,2],"DZsh":[2,31,-2],"91oe":[4,1,4],"1dTm":[4,1,-4],"evwc":[-2,31,2],"31WT":[-2,30,-2],"OCjp":[-4,1,4],"w4gQ":[-4,1,-4]},"faces":{"0kNZvXX3":{"uv":{"1dTm":[25.94966,7.98247],"DZsh":[55.82553,4.05637],"91oe":[25.43562,0],"qHgc":[56.56438,0]},"texture":0,"vertices":["DZsh","qHgc","91oe","1dTm"]},"0ROSKYDh":{"uv":{"w4gQ":[9,54.60207],"OCjp":[17,55.13303],"31WT":[12.92337,25.73015],"evwc":[17,25]},"texture":0,"vertices":["OCjp","evwc","31WT","w4gQ"]},"ZdxyCoGq":{"uv":{"w4gQ":[46,44],"1dTm":[54,44],"OCjp":[46,36],"91oe":[54,36]},"texture":0,"vertices":["1dTm","91oe","OCjp","w4gQ"]},"xCm50vVu":{"uv":{"OCjp":[0,55.61472],"91oe":[8,56.12876],"evwc":[3.9261,25.73885],"qHgc":[8,25]},"texture":0,"vertices":["91oe","qHgc","evwc","OCjp"]},"KbQwrCRl":{"uv":{"w4gQ":[25.96444,16.98126],"31WT":[54.83636,13.05789],"1dTm":[25.43349,9],"DZsh":[55.56651,9]},"texture":0,"vertices":["31WT","DZsh","1dTm","w4gQ"]}},"type":"mesh","uuid":"1ca61946-ac69-5857-af9f-8f5dccb89681"},{"name":"mesh","color":7,"origin":[0,25,0],"rotation":[5,0,2.5],"shading":"flat","export":true,"visibility":true,"locked":false,"render_order":"default","scope":0,"allow_mirror_modeling":true,"vertices":{"7uTh":[9,4.75,9.75],"nD57":[9,4.75,-9.75],"yLtH":[12,1,12],"74S6":[12,1,-12],"RnUO":[-9.75,4.75,9.75],"RZWy":[-9.75,5.5,-9.75],"s7Q2":[-12,1,12],"eatA":[-12,1,-12],"63c6":[-4,5.5,10.5],"nzaD":[-4,5.5,-10.5],"WLdm":[4,5.5,10.5],"J9vv":[4,5.5,-10.5],"DQvb":[-4,1,-12],"hwMg":[4,1,-12],"lQj9":[-4,1,12],"iUhA":[4,1,12],"W51s":[7,7,7],"lTBp":[-7,7,7],"1R9R":[7,7,-7],"lYEm":[-7,7,-7],"vtfs":[-10.5,5.5,4],"knj6":[-10.5,5.5,-4],"5pVP":[-12,1,4],"gGO3":[-12,1,-4],"EBuY":[-4,1,4],"k0kw":[-4,1,-4],"o52v":[4,1,4],"g40q":[4,1,-4],"wMao":[12,1,4],"BrBy":[12,1,-4],"Pua8":[9.75,5.5,4],"bCd8":[9.75,5.5,-4]},"faces":{"NMO7Ob3D":{"uv":{"74S6":[57.94015,22.031],"nD57":[55.89722,17.3353],"bCd8":[50.05985,17],"BrBy":[50.05985,22.03119]},"texture":0,"vertices":["nD57","bCd8","BrBy","74S6"]},"VzG0ray4":{"uv":{"eatA":[46.0534,28.9805],"RZWy":[48.3034,24],"gGO3":[54.0534,28.9805],"knj6":[54.0534,24.2371]},"texture":0,"vertices":["eatA","gGO3","knj6","RZWy"]},"AFUev1jx":{"uv":{"74S6":[24,24],"hwMg":[16,24],"BrBy":[24,16],"g40q":[16,16]},"texture":0,"vertices":["74S6","BrBy","g40q","hwMg"]},"XgUxZPdO":{"uv":{"yLtH":[69.92992,34.74345],"7uTh":[67.1593,30.47437],"WLdm":[62.07008,30],"iUhA":[62.07008,34.74343]},"texture":0,"vertices":["7uTh","WLdm","iUhA","yLtH"]},"MoVqz9I7":{"uv":{"74S6":[44.03028,49.98056],"nD57":[47.03028,45.71156],"hwMg":[52.03028,49.98056],"J9vv":[52.03028,45.23716]},"texture":0,"vertices":["74S6","hwMg","J9vv","nD57"]},"LO1ekxSx":{"uv":{"RZWy":[24.71255,25.21073],"nzaD":[29.89232,24.32706],"knj6":[24.02979,30.96909],"lYEm":[27.83771,27.96908]},"texture":0,"vertices":["RZWy","knj6","lYEm","nzaD"]},"yznQojHo":{"uv":{"J9vv":[38.83771,24.16118],"nzaD":[30.83771,24.16118],"lYEm":[27.83771,27.96908],"1R9R":[41.83771,27.96908]},"texture":0,"vertices":["nzaD","lYEm","1R9R","J9vv"]},"nPhJuNmo":{"uv":{"eatA":[67.96972,49.98062],"RZWy":[65.82413,45],"DQvb":[60.03028,49.98063],"nzaD":[60.03028,45.23716]},"texture":0,"vertices":["RZWy","nzaD","DQvb","eatA"]},"79ml2Omt":{"uv":{"hwMg":[52.03028,49.98056],"J9vv":[52.03028,45.23716],"DQvb":[60.03028,49.98056],"nzaD":[60.03028,45.23716]},"texture":0,"vertices":["nzaD","J9vv","hwMg","DQvb"]},"faskw8kv":{"uv":{"eatA":[0,24],"DQvb":[8,24],"k0kw":[8,16],"gGO3":[0,16]},"texture":0,"vertices":["DQvb","k0kw","gGO3","eatA"]},"M1zYqmyH":{"uv":{"hwMg":[16,24],"DQvb":[8,24],"g40q":[16,16],"k0kw":[8,16]},"texture":0,"vertices":["hwMg","g40q","k0kw","DQvb"]},"vSN1a65q":{"uv":{"s7Q2":[46.07008,34.74343],"RnUO":[48.32008,30.47443],"63c6":[54.07008,30.00003],"lQj9":[54.07008,34.74343]},"texture":0,"vertices":["s7Q2","lQj9","63c6","RnUO"]},"mHgPYntq":{"uv":{"WLdm":[62.07008,30.00003],"iUhA":[62.07008,34.74343],"63c6":[54.07008,30.00003],"lQj9":[54.07008,34.74343]},"texture":0,"vertices":["lQj9","iUhA","WLdm","63c6"]},"0uHoGSZM":{"uv":{"WLdm":[38.83771,45.77698],"63c6":[30.83771,45.77698],"lTBp":[27.83771,41.96908],"W51s":[41.83771,41.96908]},"texture":0,"vertices":["WLdm","W51s","lTBp","63c6"]},"BgNiowCA":{"uv":{"lTBp":[27.83771,41.96908],"W51s":[41.83771,41.96908],"lYEm":[27.83771,27.96908],"1R9R":[41.83771,27.96908]},"texture":0,"vertices":["W51s","1R9R","lYEm","lTBp"]},"ZeBwi81w":{"uv":{"vtfs":[24.02981,38.96908],"lTBp":[27.83771,41.96908],"knj6":[24.02981,30.96908],"lYEm":[27.83771,27.96908]},"texture":0,"vertices":["lTBp","lYEm","knj6","vtfs"]},"CmqYAP9y":{"uv":{"s7Q2":[69.9466,28.98051],"RnUO":[67.88106,24.71145],"5pVP":[62.0534,28.98047],"vtfs":[62.0534,24.2371]},"texture":0,"vertices":["RnUO","vtfs","5pVP","s7Q2"]},"Vz6JMaPi":{"uv":{"5pVP":[62.0534,28.9805],"vtfs":[62.0534,24.2371],"gGO3":[54.0534,28.9805],"knj6":[54.0534,24.2371]},"texture":0,"vertices":["vtfs","knj6","gGO3","5pVP"]},"RocbqE5j":{"uv":{"s7Q2":[0,0],"lQj9":[8,0],"EBuY":[8,8],"5pVP":[0,8]},"texture":0,"vertices":["s7Q2","5pVP","EBuY","lQj9"]},"rkessyUS":{"uv":{"EBuY":[8,8],"5pVP":[0,8],"k0kw":[8,16],"gGO3":[0,16]},"texture":0,"vertices":["5pVP","gGO3","k0kw","EBuY"]},"gGHauh3o":{"uv":{"lQj9":[8,0],"iUhA":[16,0],"o52v":[16,8],"EBuY":[8,8]},"texture":0,"vertices":["lQj9","EBuY","o52v","iUhA"]},"Aom6rVsS":{"uv":{"o52v":[16,8],"EBuY":[8,8],"g40q":[16,16],"k0kw":[8,16]},"texture":0,"vertices":["EBuY","k0kw","g40q","o52v"]},"K3LPFXlo":{"uv":{"iUhA":[16,0],"yLtH":[24,0],"wMao":[24,8],"o52v":[16,8]},"texture":0,"vertices":["iUhA","o52v","wMao","yLtH"]},"opFJWzgw":{"uv":{"wMao":[24,8],"o52v":[16,8],"BrBy":[24,16],"g40q":[16,16]},"texture":0,"vertices":["o52v","g40q","BrBy","wMao"]},"qIVQBAfJ":{"uv":{"yLtH":[34.05985,22.03119],"7uTh":[36.30985,17.33549],"Pua8":[42.05985,17.00009],"wMao":[42.05985,22.03119]},"texture":0,"vertices":["yLtH","wMao","Pua8","7uTh"]},"5XtOwmZl":{"uv":{"Pua8":[42.05985,17.00009],"wMao":[42.05985,22.03119],"bCd8":[50.05985,17.00009],"BrBy":[50.05985,22.03119]},"texture":0,"vertices":["wMao","BrBy","bCd8","Pua8"]},"SRsSuOmS":{"uv":{"7uTh":[44.76026,44.8123],"WLdm":[40.37155,45.93816],"W51s":[41.83769,41.9691],"Pua8":[44.97021,38.96908]},"texture":0,"vertices":["7uTh","Pua8","W51s","WLdm"]},"wDbbmZ7e":{"uv":{"W51s":[41.83771,41.96908],"Pua8":[44.97021,38.96908],"1R9R":[41.83771,27.96908],"bCd8":[44.97021,30.96908]},"texture":0,"vertices":["Pua8","bCd8","1R9R","W51s"]},"OFD0gfaM":{"uv":{"63c6":[29.67064,45.89255],"lTBp":[27.83771,41.96908],"vtfs":[24.0298,38.96907],"RnUO":[24.3544,44.80708]},"texture":0,"vertices":["lTBp","vtfs","RnUO","63c6"]},"rqDrgo40":{"uv":{"J9vv":[40.37155,24],"nD57":[44.76026,25.12585],"bCd8":[44.97021,30.96908],"1R9R":[41.83769,27.96906]},"texture":0,"vertices":["1R9R","bCd8","nD57","J9vv"]}},"type":"mesh","uuid":"1ecaecd6-d8c9-3704-ad57-348e28a21afb"}],"groups":[],"outliner":["1ca61946-ac69-5857-af9f-8f5dccb89681","1ecaecd6-d8c9-3704-ad57-348e28a21afb"],"textures":[{"name":"brightshroom.png","relative_path":"../e08b65dc/brightshroom.png","folder":"block","namespace":"","id":"0","group":"","scope":0,"width":128,"height":128,"uv_width":128,"uv_height":128,"particle":false,"use_as_default":false,"layers_enabled":false,"sync_to_project":"","file_format":"png","render_mode":"default","render_sides":"auto","wrap_mode":"limited","pbr_channel":"color","fps":7,"frame_time":1,"frame_order_type":"loop","frame_order":"","frame_interpolate":false,"visible":true,"internal":true,"saved":true,"uuid":"28addb52-b7f0-627c-44f0-bb9b542bf1f9","source":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAI+0lEQVR4AeycvY4cRRSFZ/YRIAAJiRdABASQEiAREcETEJMZkEiISJCAZ+AJICJCIiAlcYAISZAsTGASMieDv1md9d3r6um2p6u6aucgju5P3aq+fc/p3tmx5at3fz4camL35L8v7h8Owo9/HQ4ZWos21iivnGKscrLkMp604P8nJnA1kV89/c7Lux3QwX/+J+86z1rEb492O0GVxPixjpi8kNdYN6Yn0EQAkKIWRBSx/GjJA/aUMFfLXtXgG6cn0EQAIgSrdh49nn/yqc+IoshrxJyvGnzj9ASaCIAWREq0EJYR10s+ZwH2aZ1YIC+Q+/qt/R5rlCfQTACQUmpBJMpSVwJ7Yz7GkDwF6ozpCTQTAATnNsiJVK2Rkx/th6/v9yY5TmQdv5kARHS2ug0IFkpEq852nQnolCYCKBGaczT03sPvDjXA2UZ5Ak0EEL+Y0Rc20Wr97b/v7YRPHt/bCTmnGKsaWXIRv7z6qT8Elrk/ZpsIgCvxsx3gZ5DPiD8qVE8OP9YSkxfyGuvG9ASaCABS1IKImrKqY08JcV+plpxq8I3TE2giABGCje3MEUx9RtyT14g5XzX4xukJNBEALYiUaCEsI66XfM4C7NM6sUBe4IOm8rblCTQTAKSUWhCJstSVwN6YV8yvjhBdAjXG6Qk0EwAE51bIiVStkZMvC7lTRKvGdtkEclUzAYjobNUQBAsQHqEa2/Un0EQAkcwpn1vjL6Z888fhAPABPoi+YnKAOCLm8DnbKE+giQDKl57PfvDa0xr8nx7sdoAssUCsvCw5Y34C3QoAcmlfhMoqRxyhPPsAseC3gCbxrO1GACIpkopPy7L4c6A2Yq7+0te7EcClE7HV/VsAW02+k+t2I4Bf39/va6KTeW/WxtSFr2oOnbO5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AAP//opYDOQAAAAZJREFUAwDYGXZbw6k06wAAAABJRU5ErkJggg=="}]} \ No newline at end of file diff --git a/models/brightshroom.gltf b/models/brightshroom.gltf new file mode 100644 index 0000000..0b2926b --- /dev/null +++ b/models/brightshroom.gltf @@ -0,0 +1 @@ +{"asset":{"version":"2.0","generator":"Blockbench 5.1.3 glTF exporter"},"scenes":[{"nodes":[0,1],"name":"blockbench_export"}],"scene":0,"nodes":[{"translation":[0,-0.0625,0],"name":"mesh","mesh":0},{"rotation":[0.04360900713235211,-0.0009515519206527927,0.021794122097790972,0.9988104751592564],"translation":[0,1.5625,0],"name":"mesh","mesh":1}],"bufferViews":[{"buffer":0,"byteOffset":0,"byteLength":240,"target":34962,"byteStride":12},{"buffer":0,"byteOffset":240,"byteLength":240,"target":34962,"byteStride":12},{"buffer":0,"byteOffset":480,"byteLength":160,"target":34962,"byteStride":8},{"buffer":0,"byteOffset":640,"byteLength":60,"target":34963},{"buffer":0,"byteOffset":700,"byteLength":1440,"target":34962,"byteStride":12},{"buffer":0,"byteOffset":2140,"byteLength":1440,"target":34962,"byteStride":12},{"buffer":0,"byteOffset":3580,"byteLength":960,"target":34962,"byteStride":8},{"buffer":0,"byteOffset":4540,"byteLength":360,"target":34963}],"buffers":[{"byteLength":4900,"uri":"data:application/octet-stream;base64,AAAAPgAAAEAAAAA+AACAPgAAgD0AAIA+AAAAPgAA+D8AAAC+AACAPgAAgD0AAIC+AAAAvgAA+D8AAAA+AAAAvgAA8D8AAAC+AACAvgAAgD0AAIA+AACAvgAAgD0AAIC+AACAPgAAgD0AAIA+AACAvgAAgD0AAIA+AACAPgAAgD0AAIC+AACAvgAAgD0AAIC+AAAAPgAAAEAAAAA+AAAAvgAA+D8AAAA+AACAPgAAgD0AAIA+AACAvgAAgD0AAIA+AAAAPgAA+D8AAAC+AACAPgAAgD0AAIC+AAAAvgAA8D8AAAC+AACAvgAAgD0AAIC+GXR/PxHBgT0RwYG8GXR/PxHBgT0RwYG8GXR/PxHBgT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4AAIA9AAAAPgAAAAAAAAA+AACAPQAAQD4AAIA9AABAPgAAAAAAAAA+AACAPQAAAD4AAAA+AABAPgAAAD4AAEA+AACAPUk9iD7gPzA+ST2oPuA/MD5JPag+MAAIPkk9kT4Urwo+ST2oPuA/MD5JPcg+4D8wPkk9yD4wAAg+ST2oPjAACD6BCrM+zD+zPn7hsz5W4Js+y1mnPlzgpz53fKE+rMC3Pn7hsz5W4Js+fuGzPqzAdz7QWac+rMBfPtBZpz5W4Kc+CD1APlTgmz7O1UI+cjqzPqCzXj5W4Kc+el1tPviRtz7LWac+oMBfPn7hsz6swHc+gQqzPsABST53fKE+AABAPgAAAgABAAAAAQADAAQABgAFAAQABQAHAAgACgAJAAgACQALAAwADgANAAwADQAPABAAEgARABAAEQATABQAFgAVABQAFQAXABgAGgAZABgAGQAbABwAHQAeABwAHgAfACAAIQAiACAAIgAjACQAJgAlACQAJQAnACgAKgApACgAKQArACwALQAuACwALgAvADAAMQAyADAAMgAzADQANQA2ADQANgA3ADgAOQA6ADgAOgA7ADwAPQA+ADwAPgA/AEAAQQBCAEAAQgBDAEQARQBGAEQARgBHAEgASQBKAEgASgBLAEwATQBOAEwATgBPAFAAUQBSAFAAUgBTAFQAVQBWAFQAVgBXAFgAWQBaAFgAWgBbAFwAXQBeAFwAXgBfAGAAYQBiAGAAYgBjAGQAZQBmAGQAZgBnAGgAaQBqAGgAagBrAGwAbQBuAGwAbgBvAHIAcABxAHIAcQBzAHQAdQB2AHQAdgB3AA=="}],"accessors":[{"bufferView":0,"componentType":5126,"count":20,"max":[0.25,2,0.25],"min":[-0.25,0.0625,-0.25],"type":"VEC3"},{"bufferView":1,"componentType":5126,"count":20,"max":[0.9978652596473694,0.06542448699474335,0.9978652596473694],"min":[-0.9977234601974487,-1,-0.9977234601974487],"type":"VEC3"},{"bufferView":2,"componentType":5126,"count":20,"max":[0.44190922379493713,0.43850594758987427],"min":[0,0],"type":"VEC2"},{"bufferView":3,"componentType":5123,"count":30,"max":[19],"min":[0],"type":"SCALAR"},{"bufferView":4,"componentType":5126,"count":120,"max":[0.75,0.4375,0.75],"min":[-0.75,0.0625,-0.75],"type":"VEC3"},{"bufferView":5,"componentType":5126,"count":120,"max":[0.8944271802902222,1,0.9486833214759827],"min":[-0.9486833214759827,-1,-0.9486833214759827],"type":"VEC3"},{"bufferView":6,"componentType":5126,"count":120,"max":[0.546457827091217,0.3904736638069153],"min":[0,0],"type":"VEC2"},{"bufferView":7,"componentType":5123,"count":180,"max":[119],"min":[0],"type":"SCALAR"}],"materials":[{"pbrMetallicRoughness":{"metallicFactor":0,"roughnessFactor":1,"baseColorTexture":{"index":0}},"alphaMode":"MASK","alphaCutoff":0.05,"doubleSided":true}],"textures":[{"sampler":0,"source":0,"name":"texture"}],"samplers":[{"magFilter":9728,"minFilter":9728,"wrapS":33071,"wrapT":33071}],"images":[{"mimeType":"image/png","name":"brightshroom.png","uri":"brightshroom.png"}],"meshes":[{"primitives":[{"mode":4,"attributes":{"POSITION":0,"NORMAL":1,"TEXCOORD_0":2},"indices":3,"material":0}]},{"primitives":[{"mode":4,"attributes":{"POSITION":4,"NORMAL":5,"TEXCOORD_0":6},"indices":7,"material":0}]}]} \ No newline at end of file diff --git a/models/brightshroom.gltf.import b/models/brightshroom.gltf.import new file mode 100644 index 0000000..03a53e2 --- /dev/null +++ b/models/brightshroom.gltf.import @@ -0,0 +1,64 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://cj2yeoom4w7d1" +path="res://.godot/imported/brightshroom.gltf-1328ddefd135ad00fef34fa526def2f2.scn" + +[deps] + +source_file="res://models/brightshroom.gltf" +dest_files=["res://.godot/imported/brightshroom.gltf-1328ddefd135ad00fef34fa526def2f2.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={ +"materials": { +"material_0": { +"use_external/enabled": true, +"use_external/fallback_path": "res://materials/brightshroom.tres", +"use_external/path": "uid://2s8nf0t402xt" +} +}, +"nodes": { +"PATH:mesh": { +"generate/physics": true, +"mesh_instance/cast_shadow": 0, +"physics/layer": 255, +"physics/mask": 255 +}, +"PATH:mesh2": { +"generate/physics": true, +"mesh_instance/cast_shadow": 0, +"physics/layer": 255, +"physics/mask": 255 +} +} +} +gltf/naming_version=2 +gltf/embedded_image_handling=1 diff --git a/project.godot b/project.godot index 37125c7..abf0fbd 100644 --- a/project.godot +++ b/project.godot @@ -89,9 +89,9 @@ limbo_console_search_history={ textures/canvas_textures/default_texture_filter=0 rendering_device/driver.windows="d3d12" -renderer/rendering_method="mobile" lights_and_shadows/directional_shadow/size=2048 lights_and_shadows/directional_shadow/size.mobile=1024 lights_and_shadows/directional_shadow/soft_shadow_filter_quality=0 textures/decals/filter=0 textures/light_projectors/filter=0 +environment/defaults/default_clear_color=Color(0, 0, 0, 1) diff --git a/scenes/effects/damage_text.tscn b/scenes/effects/damage_text.tscn new file mode 100644 index 0000000..87d76be --- /dev/null +++ b/scenes/effects/damage_text.tscn @@ -0,0 +1,20 @@ +[gd_scene format=3 uid="uid://b2w6hcvr8mimm"] + +[ext_resource type="Script" uid="uid://dwcbey8lgg1p2" path="res://scripts/effects/damage_text.gd" id="1_2aaxa"] +[ext_resource type="FontFile" uid="uid://dkc6bfd6b4ibs" path="res://fonts/Handwritingg3.ttf" id="1_24n7w"] + +[node name="DamageText" type="RigidBody3D" unique_id=670799148] +mass = 0.001 +script = ExtResource("1_2aaxa") + +[node name="Label" type="Label3D" parent="." unique_id=1717375385] +pixel_size = 0.001 +billboard = 1 +no_depth_test = true +fixed_size = true +render_priority = 100 +outline_render_priority = 99 +modulate = Color(1, 0, 0, 1) +text = "96" +font = ExtResource("1_24n7w") +font_size = 48 diff --git a/scenes/effects/slash.tscn b/scenes/effects/slash.tscn index 4a58a82..4fa8b49 100644 --- a/scenes/effects/slash.tscn +++ b/scenes/effects/slash.tscn @@ -47,11 +47,9 @@ animations = [{ }] [node name="Slash" type="AnimatedSprite3D" unique_id=1787289120] -transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0, 0, 0) +transform = Transform3D(-1, 0, -8.742278e-08, -8.742278e-08, -4.371139e-08, 1, -3.821371e-15, 1, 4.371139e-08, 0, 0, 0) pixel_size = 0.04 -no_depth_test = true texture_filter = 0 -render_priority = 99 sprite_frames = SubResource("SpriteFrames_ir15t") frame = 4 frame_progress = 1.0 diff --git a/scenes/enemies/slime.tscn b/scenes/enemies/slime.tscn index 730f5dc..ba43913 100644 --- a/scenes/enemies/slime.tscn +++ b/scenes/enemies/slime.tscn @@ -1,4 +1,4 @@ -[gd_scene format=3 uid="uid://dkiydumtthgk7"] +[gd_scene format=3 uid="uid://co5p7h3exggvh"] [ext_resource type="Script" uid="uid://c7gns73bldktx" path="res://scripts/slime.gd" id="1_4h4y0"] [ext_resource type="Texture2D" uid="uid://b6krbvbco0jt6" path="res://textures/shadow.png" id="2_b58ev"] @@ -152,15 +152,9 @@ shape = SubResource("CapsuleShape3D_0tnpc") [node name="Floorcast" type="RayCast3D" parent="." unique_id=216872080] target_position = Vector3(0, -16, 0) -[node name="HealthLabel" type="Label3D" parent="." unique_id=933867608] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8399999, 0) -pixel_size = 0.01 -billboard = 1 -text = "hello!" - [node name="Body" type="Sprite3D" parent="." unique_id=1136011871] -transform = Transform3D(0.7, 0, 0, 0, 1.3, 0, 0, 0, 1, 0, 0.05, 0) pixel_size = 0.03 +shaded = true texture_filter = 0 texture = ExtResource("3_ankfk") diff --git a/scenes/game.tscn b/scenes/game.tscn index f7f8d3b..74f6c62 100644 --- a/scenes/game.tscn +++ b/scenes/game.tscn @@ -3,15 +3,14 @@ [ext_resource type="Script" uid="uid://dhfun46prq3uk" path="res://scripts/game.gd" id="1_gee14"] [ext_resource type="Script" uid="uid://crf3d7dpjvlsl" path="res://scripts/player_camera.gd" id="1_lnu2h"] [ext_resource type="Script" uid="uid://66iq60cxqomg" path="res://scripts/player.gd" id="1_yqjtg"] +[ext_resource type="Material" uid="uid://bivt02tm06osv" path="res://materials/tile/stone_floor.tres" id="2_gee14"] [ext_resource type="Texture2D" uid="uid://b6krbvbco0jt6" path="res://textures/shadow.png" id="4_lbhrr"] [ext_resource type="PackedScene" uid="uid://cnii80nh1mxr2" path="res://scenes/assets/dreamer_body.tscn" id="4_p57ef"] [ext_resource type="PackedScene" uid="uid://b0kty7juk7rfo" path="res://models/stalagmite.gltf" id="5_iywne"] -[ext_resource type="PackedScene" path="res://scenes/enemies/slime.tscn" id="6_u5sy4"] - -[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_lbhrr"] -albedo_color = Color(0.61, 0.28791997, 0.17079999, 1) - -[sub_resource type="Environment" id="Environment_uwrxv"] +[ext_resource type="PackedScene" uid="uid://co5p7h3exggvh" path="res://scenes/enemies/slime.tscn" id="6_u5sy4"] +[ext_resource type="PackedScene" uid="uid://b6otq05jy7m6d" path="res://scenes/prefabs/brightshroom.tscn" id="9_vtaks"] +[ext_resource type="PackedScene" uid="uid://boelsm35tk0k6" path="res://scenes/prefabs/brightshroom_orange.tscn" id="10_kvpfn"] +[ext_resource type="PackedScene" uid="uid://b2w6hcvr8mimm" path="res://scenes/effects/damage_text.tscn" id="11_kvpfn"] [sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_yqjtg"] @@ -22,6 +21,12 @@ size = Vector3(1.2, 1, 1.3) radius = 0.15 height = 1.0 +[sub_resource type="Environment" id="Environment_uwrxv"] +background_mode = 1 +background_color = Color(0.21272367, 0.00026760699, 0.30778188, 1) +tonemap_mode = 2 +volumetric_fog_enabled = true + [node name="Game" type="Node3D" unique_id=1358608749] script = ExtResource("1_gee14") @@ -31,11 +36,10 @@ use_collision = true collision_layer = 255 collision_mask = 255 size = Vector3(16, 1, 16) -material = SubResource("StandardMaterial3D_lbhrr") +material = ExtResource("2_gee14") [node name="PlayerCamera" type="Camera3D" parent="." unique_id=1101523944] transform = Transform3D(0.7071067, -0.40557978, 0.5792279, 0, 0.819152, 0.5735764, -0.7071067, -0.40557978, 0.5792279, 4, 6.5, 4) -environment = SubResource("Environment_uwrxv") attributes = SubResource("CameraAttributesPractical_yqjtg") fov = 65.0 script = ExtResource("1_lnu2h") @@ -72,9 +76,18 @@ target_position = Vector3(0, -16, 0) [node name="Slime" parent="." unique_id=393738189 instance=ExtResource("6_u5sy4")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 3, -3.81) -[node name="Sun" type="DirectionalLight3D" parent="." unique_id=1000747668] -transform = Transform3D(5.337265e-08, 0.90171933, -0.4323222, -0.3453802, 0.40571806, 0.8462301, 0.93846303, 0.14931537, 0.31143594, 0, 0, 0) -shadow_enabled = true - [node name="Stalagmite" parent="." unique_id=39322424 instance=ExtResource("5_iywne")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.48141205, 3) + +[node name="blockbench_export" parent="." unique_id=1509742770 instance=ExtResource("9_vtaks")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.4827318, 0.4921612, -1.048477) + +[node name="blockbench_export2" parent="." unique_id=992880863 instance=ExtResource("10_kvpfn")] +transform = Transform3D(0.34202015, 0, -0.9396926, 0, 1, 0, 0.9396926, 0, 0.34202015, 2.7356708, 0.49367946, 3.0695834) + +[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1956400862] +environment = SubResource("Environment_uwrxv") + +[node name="DamageText" parent="." unique_id=670799148 instance=ExtResource("11_kvpfn")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.23, 0) +gravity_scale = 2.5 diff --git a/scenes/prefabs/brightshroom.tscn b/scenes/prefabs/brightshroom.tscn new file mode 100644 index 0000000..e77ce65 --- /dev/null +++ b/scenes/prefabs/brightshroom.tscn @@ -0,0 +1,11 @@ +[gd_scene format=3 uid="uid://b6otq05jy7m6d"] + +[ext_resource type="PackedScene" uid="uid://cj2yeoom4w7d1" path="res://models/brightshroom.gltf" id="1_pvbcs"] + +[node name="blockbench_export" unique_id=1509742770 instance=ExtResource("1_pvbcs")] + +[node name="OmniLight3D" type="OmniLight3D" parent="." index="2" unique_id=1156755560] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0) +light_color = Color(0.26707304, 0.71508616, 0.9999997, 1) +light_energy = 1.265 +shadow_enabled = true diff --git a/scenes/prefabs/brightshroom_orange.tscn b/scenes/prefabs/brightshroom_orange.tscn new file mode 100644 index 0000000..de75830 --- /dev/null +++ b/scenes/prefabs/brightshroom_orange.tscn @@ -0,0 +1,18 @@ +[gd_scene format=3 uid="uid://boelsm35tk0k6"] + +[ext_resource type="PackedScene" uid="uid://cj2yeoom4w7d1" path="res://models/brightshroom.gltf" id="1_jlgeb"] +[ext_resource type="Material" uid="uid://dkx2w75felif2" path="res://materials/brightshroom_orange.tres" id="2_8mb4p"] + +[node name="blockbench_export" unique_id=1509742770 instance=ExtResource("1_jlgeb")] + +[node name="mesh" parent="." index="0" unique_id=360524914] +surface_material_override/0 = ExtResource("2_8mb4p") + +[node name="mesh2" parent="." index="1" unique_id=978628742] +surface_material_override/0 = ExtResource("2_8mb4p") + +[node name="OmniLight3D" type="OmniLight3D" parent="." index="2" unique_id=474035198] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0) +light_color = Color(1, 0.51865834, 0.3416382, 1) +light_energy = 1.265 +shadow_enabled = true diff --git a/scripts/effects/damage_text.gd b/scripts/effects/damage_text.gd new file mode 100644 index 0000000..a993007 --- /dev/null +++ b/scripts/effects/damage_text.gd @@ -0,0 +1,15 @@ +extends RigidBody3D + +func _ready() -> void: + linear_velocity = Vector3( + randf_range(-1.5, 1.5), + randf_range(4, 6), + randf_range(-1.5, 1.5) + ) + +func _process(delta: float) -> void: + $Label.modulate.a -= delta * 0.8 + $Label.outline_modulate.a -= delta * 0.8 + + if $Label.modulate.a <= 0: + queue_free() diff --git a/scripts/effects/damage_text.gd.uid b/scripts/effects/damage_text.gd.uid new file mode 100644 index 0000000..e9fe4f9 --- /dev/null +++ b/scripts/effects/damage_text.gd.uid @@ -0,0 +1 @@ +uid://dwcbey8lgg1p2 diff --git a/scripts/global.gd b/scripts/global.gd index 76af2bf..cec71d4 100644 --- a/scripts/global.gd +++ b/scripts/global.gd @@ -11,7 +11,7 @@ const weapons = { "damage_mid_combo": 10, "knockback": 3.5, - "knockback_mid_combo": 0.25, + "knockback_mid_combo": 0.75, "stun_time": 0.4, } } diff --git a/scripts/player.gd b/scripts/player.gd index c1e98f2..c91ea2a 100644 --- a/scripts/player.gd +++ b/scripts/player.gd @@ -137,8 +137,7 @@ func _physics_process(delta: float) -> void: var slash = load("res://scenes/effects/slash.tscn").instantiate() game.add_child(slash) slash.global_position = global_position - slash.rotation.x = face_rotation - slash.rotation.z = -mouse_point_angle + deg_to_rad(180) + slash.global_rotation.y = $HitCollision.global_rotation.y + deg_to_rad(180) slash.play_effect() var hits = $HitCollision.get_overlapping_bodies() @@ -182,6 +181,11 @@ func _physics_process(delta: float) -> void: if "on_knockback" in body: body.on_knockback() + + var damage_text = preload("res://scenes/effects/damage_text.tscn").instantiate() + game.add_child(damage_text) + damage_text.global_position = body.global_position + damage_text.get_node("Label").text = str(floor(damage)) var direction = (camera.transform.basis * Vector3(input_dir.x, 0, input_dir.y)).normalized() if direction and (knockback_time <= 0): diff --git a/scripts/slime.gd b/scripts/slime.gd index 0e78c95..afc570f 100644 --- a/scripts/slime.gd +++ b/scripts/slime.gd @@ -6,8 +6,7 @@ const JUMP_VELOCITY = 4.5 var face_rotation = null var face_left = false -var combatable = false -var health = 40 +var health = 35 var mid_knockback = false @onready var player = get_parent().get_node("Player") @@ -17,6 +16,7 @@ enum { STATE_JUMP, STATE_LEAP, STATE_HIT, + STATE_DEATH } var state = STATE_IDLE @@ -40,9 +40,10 @@ func _ready() -> void: $Body/Animator.play("idle") func _physics_process(delta: float) -> void: - if health <= 0: - queue_free() - return + if (health <= 0) and (state != STATE_DEATH): + state = STATE_DEATH + state_timer = 0.75 + $Body/Animator.play("jump") state_timer -= delta @@ -59,6 +60,9 @@ func _physics_process(delta: float) -> void: velocity = global_position.direction_to(player.global_position) * 3 velocity.y = 3 + elif state == STATE_DEATH: + queue_free() + elif (state == STATE_LEAP) and is_on_floor(): state = STATE_IDLE state_timer = randf_range(0.8, 1.5) @@ -69,6 +73,8 @@ func _physics_process(delta: float) -> void: state_timer = 0.5 $Body/Animator.play("idle") + elif (state == STATE_DEATH): + pass if iframes > 0: iframes -= delta @@ -76,7 +82,7 @@ func _physics_process(delta: float) -> void: else: $Body.modulate.a = 1 - $HealthLabel.text = str(health) + #wa$HealthLabel.text = str(health) if not is_on_floor(): velocity += get_gravity() * delta @@ -89,22 +95,9 @@ func _physics_process(delta: float) -> void: else: $Body.rotation.y = face_rotation - - var input_dir := Vector2.ZERO - if not combatable: - if input_dir.x > 0: - face_left = false - if input_dir.x < 0: - face_left = true - - var direction = (camera.transform.basis * Vector3(input_dir.x, 0, input_dir.y)).normalized() if is_on_floor() and not mid_knockback: - if direction: - velocity.x = direction.x * SPEED - velocity.z = direction.z * SPEED - else: - velocity.x = move_toward(velocity.x, 0, delta * 16) - velocity.z = move_toward(velocity.z, 0, delta * 16) + velocity.x = move_toward(velocity.x, 0, delta * 16) + velocity.z = move_toward(velocity.z, 0, delta * 16) move_and_slide() diff --git a/shaders/groundtest.gdshader b/shaders/groundtest.gdshader new file mode 100644 index 0000000..d96ec45 --- /dev/null +++ b/shaders/groundtest.gdshader @@ -0,0 +1,14 @@ +shader_type spatial; + +void vertex() { + // Called for every vertex the material is visible on. +} + +void fragment() { + // Called for every pixel the material is visible on. +} + +//void light() { +// // Called for every pixel for every light affecting the material. +// // Uncomment to replace the default light processing function with this one. +//} diff --git a/shaders/groundtest.gdshader.uid b/shaders/groundtest.gdshader.uid new file mode 100644 index 0000000..d1206e3 --- /dev/null +++ b/shaders/groundtest.gdshader.uid @@ -0,0 +1 @@ +uid://fqithquavabo diff --git a/textures/brightshroom.png b/textures/brightshroom.png new file mode 100644 index 0000000..6e086b0 Binary files /dev/null and b/textures/brightshroom.png differ diff --git a/textures/brightshroom.png.import b/textures/brightshroom.png.import new file mode 100644 index 0000000..9b718d0 --- /dev/null +++ b/textures/brightshroom.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ln2b0h7jurye" +path.s3tc="res://.godot/imported/brightshroom.png-ff1df663a97bff5daeebf3c65af42c56.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://textures/brightshroom.png" +dest_files=["res://.godot/imported/brightshroom.png-ff1df663a97bff5daeebf3c65af42c56.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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=0 diff --git a/textures/brightshroom_orange.png b/textures/brightshroom_orange.png new file mode 100644 index 0000000..25f5c82 Binary files /dev/null and b/textures/brightshroom_orange.png differ diff --git a/textures/brightshroom_orange.png.import b/textures/brightshroom_orange.png.import new file mode 100644 index 0000000..7f5d5bd --- /dev/null +++ b/textures/brightshroom_orange.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://gotb5lmbe8ve" +path.s3tc="res://.godot/imported/brightshroom_orange.png-e0054b8f0907ffc7d2760c8c0dbf722d.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://textures/brightshroom_orange.png" +dest_files=["res://.godot/imported/brightshroom_orange.png-e0054b8f0907ffc7d2760c8c0dbf722d.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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=0 diff --git a/textures/tile/stone_floor.png b/textures/tile/stone_floor.png new file mode 100644 index 0000000..df94cc4 Binary files /dev/null and b/textures/tile/stone_floor.png differ diff --git a/textures/tile/stone_floor.png.import b/textures/tile/stone_floor.png.import new file mode 100644 index 0000000..064af8c --- /dev/null +++ b/textures/tile/stone_floor.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dfcoremq6wxa" +path.s3tc="res://.godot/imported/stone_floor.png-a60dbfe12b4382aa7bd47bad794f7b31.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://textures/tile/stone_floor.png" +dest_files=["res://.godot/imported/stone_floor.png-a60dbfe12b4382aa7bd47bad794f7b31.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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=0