diff --git a/assets/graphics/crate/small_crate.png b/assets/graphics/crate/small_crate.png new file mode 100644 index 0000000..d6d3748 Binary files /dev/null and b/assets/graphics/crate/small_crate.png differ diff --git a/assets/graphics/crate/small_crate.png.import b/assets/graphics/crate/small_crate.png.import new file mode 100644 index 0000000..6ece13d --- /dev/null +++ b/assets/graphics/crate/small_crate.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dickh4ulsdmhi" +path="res://.godot/imported/small_crate.png-0e3ecffaca9502966cb5eefb84d8ab7d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/crate/small_crate.png" +dest_files=["res://.godot/imported/small_crate.png-0e3ecffaca9502966cb5eefb84d8ab7d.ctex"] + +[params] + +compress/mode=0 +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=false +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=1 diff --git a/scenes/brown_box.tscn b/scenes/brown_box.tscn index 92ee1cd..b7d5919 100644 --- a/scenes/brown_box.tscn +++ b/scenes/brown_box.tscn @@ -1,6 +1,7 @@ [gd_scene format=3 uid="uid://wt8o0uyqblsv"] [ext_resource type="Script" uid="uid://dn8v5sbqg05v3" path="res://scripts/brown_box.gd" id="1_g34fy"] +[ext_resource type="Texture2D" uid="uid://dickh4ulsdmhi" path="res://assets/graphics/crate/small_crate.png" id="2_g748q"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_o3qty"] @@ -11,3 +12,9 @@ metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=274978092] shape = SubResource("RectangleShape2D_o3qty") debug_color = Color(0.8449452, 0.37733862, 0.08704034, 0.41960785) + +[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1891218599] +texture_filter = 1 +position = Vector2(3.874302e-07, 0.49999928) +scale = Vector2(0.55, 0.5609756) +texture = ExtResource("2_g748q")