diff --git a/Assets/World/Grounds/Dirt.png b/Assets/World/Grounds/Dirt.png new file mode 100644 index 0000000..cf5759b Binary files /dev/null and b/Assets/World/Grounds/Dirt.png differ diff --git a/Assets/World/Grounds/Dirt.png.import b/Assets/World/Grounds/Dirt.png.import new file mode 100644 index 0000000..af3a93f --- /dev/null +++ b/Assets/World/Grounds/Dirt.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c8wfwo1nixh7d" +path="res://.godot/imported/Dirt.png-d91541ba4a1d97b0a577c961c41f3137.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/World/Grounds/Dirt.png" +dest_files=["res://.godot/imported/Dirt.png-d91541ba4a1d97b0a577c961c41f3137.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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/Assets/World/Grounds/Ground1.tscn b/Assets/World/Grounds/Ground1.tscn index 26889e2..ad1b1ff 100644 --- a/Assets/World/Grounds/Ground1.tscn +++ b/Assets/World/Grounds/Ground1.tscn @@ -1,12 +1,20 @@ -[gd_scene load_steps=2 format=3 uid="uid://eo08vhsoltt6"] +[gd_scene load_steps=3 format=3 uid="uid://eo08vhsoltt6"] + +[ext_resource type="Texture2D" uid="uid://c8wfwo1nixh7d" path="res://Assets/World/Grounds/Dirt.png" id="1_437ln"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_2rdbk"] -size = Vector2(364, 54) +size = Vector2(455, 51) [node name="Ground1" type="Node2D"] [node name="StaticBody2D" type="StaticBody2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] +position = Vector2(-8.5, 1.5) shape = SubResource("RectangleShape2D_2rdbk") debug_color = Color(0, 0.645698, 0.254313, 0.42) + +[node name="Sprite2D" type="Sprite2D" parent="."] +position = Vector2(2, 3) +scale = Vector2(0.2, 0.2) +texture = ExtResource("1_437ln") diff --git a/world.tscn b/world.tscn index 7a03bfc..daf32be 100644 --- a/world.tscn +++ b/world.tscn @@ -22,7 +22,7 @@ position = Vector2(1, 140) shape = SubResource("WorldBoundaryShape2D_5e4u7") [node name="Ground1" parent="." instance=ExtResource("2_gboim")] -position = Vector2(-5, -2) +position = Vector2(-333, 114) [node name="TileMap" type="TileMap" parent="."] tile_set = SubResource("TileSet_bke3u")