diff --git a/graphics/animations/player_idle/Player Idle 48x48.png.import b/graphics/animations/player_idle/Player Idle 48x48.png.import index 9a0d8a0..89be3df 100644 --- a/graphics/animations/player_idle/Player Idle 48x48.png.import +++ b/graphics/animations/player_idle/Player Idle 48x48.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://dr3rp5hv7rexv" -path="res://.godot/imported/Player Idle 48x48.png-e9198540c176576c682c366171851f3f.ctex" +path="res://.godot/imported/Player Idle 48x48.png-febc6ee73b16c6ae56feb25eebf8110d.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://graphics/player_idle/Player Idle 48x48.png" -dest_files=["res://.godot/imported/Player Idle 48x48.png-e9198540c176576c682c366171851f3f.ctex"] +source_file="res://graphics/animations/player_idle/Player Idle 48x48.png" +dest_files=["res://.godot/imported/Player Idle 48x48.png-febc6ee73b16c6ae56feb25eebf8110d.ctex"] [params] diff --git a/graphics/animations/player_jump/player jump 48x48.png.import b/graphics/animations/player_jump/player jump 48x48.png.import index de9d129..0065ff7 100644 --- a/graphics/animations/player_jump/player jump 48x48.png.import +++ b/graphics/animations/player_jump/player jump 48x48.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://uxdt2cgxicmt" -path="res://.godot/imported/player jump 48x48.png-0238a76dd6de8b92f438307352aca680.ctex" +path="res://.godot/imported/player jump 48x48.png-53153cc022c0f5f1a72bef88bb5e05df.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://graphics/player_jump/player jump 48x48.png" -dest_files=["res://.godot/imported/player jump 48x48.png-0238a76dd6de8b92f438307352aca680.ctex"] +source_file="res://graphics/animations/player_jump/player jump 48x48.png" +dest_files=["res://.godot/imported/player jump 48x48.png-53153cc022c0f5f1a72bef88bb5e05df.ctex"] [params] diff --git a/graphics/animations/player_jump/player new jump 48x48.png.import b/graphics/animations/player_jump/player new jump 48x48.png.import index cae0d18..de9be7b 100644 --- a/graphics/animations/player_jump/player new jump 48x48.png.import +++ b/graphics/animations/player_jump/player new jump 48x48.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://cmng5hu2bk4v6" -path="res://.godot/imported/player new jump 48x48.png-3f203c898ee16f04682fe6c95c556366.ctex" +path="res://.godot/imported/player new jump 48x48.png-085528a4cee6917e773b178651dd57ae.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://graphics/player_jump/player new jump 48x48.png" -dest_files=["res://.godot/imported/player new jump 48x48.png-3f203c898ee16f04682fe6c95c556366.ctex"] +source_file="res://graphics/animations/player_jump/player new jump 48x48.png" +dest_files=["res://.godot/imported/player new jump 48x48.png-085528a4cee6917e773b178651dd57ae.ctex"] [params] diff --git a/graphics/animations/player_land/player land 48x48.png.import b/graphics/animations/player_land/player land 48x48.png.import index fee1d1b..ecc6680 100644 --- a/graphics/animations/player_land/player land 48x48.png.import +++ b/graphics/animations/player_land/player land 48x48.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://8esdepvbc2c6" -path="res://.godot/imported/player land 48x48.png-ed336e75f8aa14e83549769029956a8b.ctex" +path="res://.godot/imported/player land 48x48.png-73bf83889efcd0c346ed73018c7c0f6a.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://graphics/player_land/player land 48x48.png" -dest_files=["res://.godot/imported/player land 48x48.png-ed336e75f8aa14e83549769029956a8b.ctex"] +source_file="res://graphics/animations/player_land/player land 48x48.png" +dest_files=["res://.godot/imported/player land 48x48.png-73bf83889efcd0c346ed73018c7c0f6a.ctex"] [params] diff --git a/graphics/animations/player_run/player run 48x48.png.import b/graphics/animations/player_run/player run 48x48.png.import index 0737531..83fd611 100644 --- a/graphics/animations/player_run/player run 48x48.png.import +++ b/graphics/animations/player_run/player run 48x48.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://bgp8oow6hgh5o" -path="res://.godot/imported/player run 48x48.png-cf16f5538dbce6bf31ad4c9f0c642c1e.ctex" +path="res://.godot/imported/player run 48x48.png-e4bb17293a9ce0c0c03376a7369aee02.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://graphics/player_run/player run 48x48.png" -dest_files=["res://.godot/imported/player run 48x48.png-cf16f5538dbce6bf31ad4c9f0c642c1e.ctex"] +source_file="res://graphics/animations/player_run/player run 48x48.png" +dest_files=["res://.godot/imported/player run 48x48.png-e4bb17293a9ce0c0c03376a7369aee02.ctex"] [params] diff --git a/graphics/animations/player_shoot/Player Running Shooting 48x48.png.import b/graphics/animations/player_shoot/Player Running Shooting 48x48.png.import index 9caa919..e8f6962 100644 --- a/graphics/animations/player_shoot/Player Running Shooting 48x48.png.import +++ b/graphics/animations/player_shoot/Player Running Shooting 48x48.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://dadvc8tsvmkb6" -path="res://.godot/imported/Player Running Shooting 48x48.png-47c63e435c65b23aebd6a86cf7f30ecb.ctex" +path="res://.godot/imported/Player Running Shooting 48x48.png-3d2df69d2a49613816850d2eb5e6129a.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://graphics/player_shoot/Player Running Shooting 48x48.png" -dest_files=["res://.godot/imported/Player Running Shooting 48x48.png-47c63e435c65b23aebd6a86cf7f30ecb.ctex"] +source_file="res://graphics/animations/player_shoot/Player Running Shooting 48x48.png" +dest_files=["res://.godot/imported/Player Running Shooting 48x48.png-3d2df69d2a49613816850d2eb5e6129a.ctex"] [params] diff --git a/graphics/animations/player_shoot/player shoot 2H 48x48.png.import b/graphics/animations/player_shoot/player shoot 2H 48x48.png.import index 5705b80..acc152d 100644 --- a/graphics/animations/player_shoot/player shoot 2H 48x48.png.import +++ b/graphics/animations/player_shoot/player shoot 2H 48x48.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://crll0t2wjtsly" -path="res://.godot/imported/player shoot 2H 48x48.png-9803739eaed87b62419b05b35dcbe01e.ctex" +path="res://.godot/imported/player shoot 2H 48x48.png-6d3782d73196ec488a7fe7b78e5f5532.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://graphics/player_shoot/player shoot 2H 48x48.png" -dest_files=["res://.godot/imported/player shoot 2H 48x48.png-9803739eaed87b62419b05b35dcbe01e.ctex"] +source_file="res://graphics/animations/player_shoot/player shoot 2H 48x48.png" +dest_files=["res://.godot/imported/player shoot 2H 48x48.png-6d3782d73196ec488a7fe7b78e5f5532.ctex"] [params] diff --git a/graphics/tiles/25-10-18-godot-course-Terrain (32x32).png.import b/graphics/tiles/25-10-18-godot-course-Terrain (32x32).png.import new file mode 100644 index 0000000..3989eca --- /dev/null +++ b/graphics/tiles/25-10-18-godot-course-Terrain (32x32).png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cf3dxavo2u8yg" +path="res://.godot/imported/25-10-18-godot-course-Terrain (32x32).png-1eca331acd097d05bf84af75ec5522af.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://graphics/tiles/25-10-18-godot-course-Terrain (32x32).png" +dest_files=["res://.godot/imported/25-10-18-godot-course-Terrain (32x32).png-1eca331acd097d05bf84af75ec5522af.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/graphics/tiles/crate-100-custom.png b/graphics/tiles/crate-100-custom.png new file mode 100644 index 0000000..8d6e73f Binary files /dev/null and b/graphics/tiles/crate-100-custom.png differ diff --git a/graphics/tiles/crate-100-custom.png.import b/graphics/tiles/crate-100-custom.png.import new file mode 100644 index 0000000..a455552 --- /dev/null +++ b/graphics/tiles/crate-100-custom.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://7jy7xuy24fug" +path="res://.godot/imported/crate-100-custom.png-5420ee27cb0ee861df6e762945a123b6.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://graphics/tiles/crate-100-custom.png" +dest_files=["res://.godot/imported/crate-100-custom.png-5420ee27cb0ee861df6e762945a123b6.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/project.godot b/project.godot index 84edab7..21db884 100644 --- a/project.godot +++ b/project.godot @@ -28,6 +28,7 @@ window/stretch/mode="viewport" folder_colors={ "res://graphics/": "green", +"res://resources/": "yellow", "res://scenes/": "pink", "res://scripts/": "orange" } diff --git a/scenes/crate.tscn b/scenes/crate.tscn index 0870f41..096c86d 100644 --- a/scenes/crate.tscn +++ b/scenes/crate.tscn @@ -1,4 +1,6 @@ -[gd_scene load_steps=2 format=3 uid="uid://dnarbab7jjqmk"] +[gd_scene load_steps=3 format=3 uid="uid://dnarbab7jjqmk"] + +[ext_resource type="Texture2D" uid="uid://7jy7xuy24fug" path="res://graphics/tiles/crate-100-custom.png" id="1_b66cd"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_uwrxv"] size = Vector2(50, 50) @@ -6,6 +8,11 @@ size = Vector2(50, 50) [node name="Crate" type="RigidBody2D"] metadata/_edit_group_ = true +[node name="Sprite2D" type="Sprite2D" parent="."] +position = Vector2(9.536743e-07, 1.9073486e-06) +scale = Vector2(0.50000006, 0.50000006) +texture = ExtResource("1_b66cd") + [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("RectangleShape2D_uwrxv") -debug_color = Color(0.8745098, 0.23137255, 0.654902, 1) +debug_color = Color(0.8745098, 0.23137255, 0.654902, 0.078431375)