diff --git a/assets/graphics/terrains/backgrounds/forestbackground.png b/assets/graphics/terrains/backgrounds/forestbackground.png new file mode 100644 index 0000000..975c185 Binary files /dev/null and b/assets/graphics/terrains/backgrounds/forestbackground.png differ diff --git a/assets/graphics/terrains/backgrounds/forestbackground.png.import b/assets/graphics/terrains/backgrounds/forestbackground.png.import new file mode 100644 index 0000000..d426f47 --- /dev/null +++ b/assets/graphics/terrains/backgrounds/forestbackground.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dordo7deet5y0" +path="res://.godot/imported/forestbackground.png-f42d75295504b2d17acc59ff8840ec7f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/terrains/backgrounds/forestbackground.png" +dest_files=["res://.godot/imported/forestbackground.png-f42d75295504b2d17acc59ff8840ec7f.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/graphics/terrains/backgrounds/sky.png b/assets/graphics/terrains/backgrounds/sky.png new file mode 100644 index 0000000..d90f75e Binary files /dev/null and b/assets/graphics/terrains/backgrounds/sky.png differ diff --git a/assets/graphics/terrains/backgrounds/sky.png.import b/assets/graphics/terrains/backgrounds/sky.png.import new file mode 100644 index 0000000..a40b02d --- /dev/null +++ b/assets/graphics/terrains/backgrounds/sky.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cukevm4avtgnp" +path="res://.godot/imported/sky.png-51a4e0a575be38e95f86ed632e1f79b6.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/terrains/backgrounds/sky.png" +dest_files=["res://.godot/imported/sky.png-51a4e0a575be38e95f86ed632e1f79b6.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/graphics/terrains/backgrounds/trees.png b/assets/graphics/terrains/backgrounds/trees.png new file mode 100644 index 0000000..7f27ee9 Binary files /dev/null and b/assets/graphics/terrains/backgrounds/trees.png differ diff --git a/assets/graphics/terrains/backgrounds/trees.png.import b/assets/graphics/terrains/backgrounds/trees.png.import new file mode 100644 index 0000000..948d4b0 --- /dev/null +++ b/assets/graphics/terrains/backgrounds/trees.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cg03sfie3jb4h" +path="res://.godot/imported/trees.png-48cbb9e027f2fcbb533617bea5488df9.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/terrains/backgrounds/trees.png" +dest_files=["res://.godot/imported/trees.png-48cbb9e027f2fcbb533617bea5488df9.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/scenes/game.tscn b/scenes/game.tscn index d6295c1..874b37d 100644 --- a/scenes/game.tscn +++ b/scenes/game.tscn @@ -1,96 +1,439 @@ -[gd_scene load_steps=12 format=3 uid="uid://dhgts0kodsujx"] +[gd_scene load_steps=14 format=4 uid="uid://dhgts0kodsujx"] [ext_resource type="PackedScene" uid="uid://djkjmi7bo58uv" path="res://scenes/crate.tscn" id="1_6shkr"] [ext_resource type="Script" path="res://scripts/gameController.gd" id="1_50x63"] [ext_resource type="Script" path="res://scripts/sceneManager.gd" id="1_ooich"] +[ext_resource type="Texture2D" uid="uid://dordo7deet5y0" path="res://assets/graphics/terrains/backgrounds/forestbackground.png" id="2_u8255"] [ext_resource type="PackedScene" uid="uid://b2hyqfqh02ep6" path="res://scenes/player.tscn" id="3_bssht"] +[ext_resource type="Texture2D" uid="uid://cukevm4avtgnp" path="res://assets/graphics/terrains/backgrounds/sky.png" id="3_ot8gf"] [ext_resource type="Script" path="res://scripts/trigger.gd" id="3_t4lk8"] +[ext_resource type="Texture2D" uid="uid://cg03sfie3jb4h" path="res://assets/graphics/terrains/backgrounds/trees.png" id="3_u7j2e"] [ext_resource type="Texture2D" uid="uid://dktvd8atklmau" path="res://assets/graphics/terrains/Terrain (32x32).png" id="6_jpfcs"] -[sub_resource type="RectangleShape2D" id="RectangleShape2D_n7xvc"] -size = Vector2(92, 20) - -[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_gasd3"] -distance = -484.0 - -[sub_resource type="CircleShape2D" id="CircleShape2D_5ph8t"] -radius = 62.0 - [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_v72u6"] texture = ExtResource("6_jpfcs") texture_region_size = Vector2i(32, 32) 0:0/0 = 0 +0:0/0/terrain_set = 0 +0:0/0/terrain = 0 +0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, 11.25, 16, -10.25, 16, -16, 16) +0:0/0/terrains_peering_bit/right_side = 0 +0:0/0/terrains_peering_bit/bottom_right_corner = 0 +0:0/0/terrains_peering_bit/bottom_side = 0 1:0/0 = 0 +1:0/0/terrain_set = 0 +1:0/0/terrain = 0 +1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, 11.25, 16, -10.25, 16, -16, 16) +1:0/0/terrains_peering_bit/right_side = 0 +1:0/0/terrains_peering_bit/bottom_right_corner = 0 +1:0/0/terrains_peering_bit/bottom_side = 0 +1:0/0/terrains_peering_bit/bottom_left_corner = 0 +1:0/0/terrains_peering_bit/left_side = 0 2:0/0 = 0 +2:0/0/terrain_set = 0 +2:0/0/terrain = 0 +2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, 11.25, 16, -10.25, 16, -16, 16) +2:0/0/terrains_peering_bit/bottom_side = 0 +2:0/0/terrains_peering_bit/bottom_left_corner = 0 +2:0/0/terrains_peering_bit/left_side = 0 4:0/0 = 0 +4:0/0/terrain_set = 0 +4:0/0/terrain = 0 +4:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -10, 16, -16, 9) +4:0/0/terrains_peering_bit/bottom_side = 0 6:0/0 = 0 +6:0/0/terrain_set = 0 +6:0/0/terrain = 0 +6:0/0/terrains_peering_bit/right_side = 0 +6:0/0/terrains_peering_bit/bottom_side = 0 +6:0/0/terrains_peering_bit/bottom_left_corner = 0 +6:0/0/terrains_peering_bit/left_side = 0 +6:0/0/terrains_peering_bit/top_left_corner = 0 +6:0/0/terrains_peering_bit/top_side = 0 +6:0/0/terrains_peering_bit/top_right_corner = 0 7:0/0 = 0 +7:0/0/terrain_set = 0 +7:0/0/terrain = 0 +7:0/0/terrains_peering_bit/right_side = 0 +7:0/0/terrains_peering_bit/bottom_right_corner = 0 +7:0/0/terrains_peering_bit/bottom_side = 0 +7:0/0/terrains_peering_bit/left_side = 0 +7:0/0/terrains_peering_bit/top_left_corner = 0 +7:0/0/terrains_peering_bit/top_side = 0 +7:0/0/terrains_peering_bit/top_right_corner = 0 9:0/0 = 0 +9:0/0/terrain_set = 0 +9:0/0/terrain = 0 +9:0/0/terrains_peering_bit/right_side = 0 +9:0/0/terrains_peering_bit/bottom_right_corner = 0 +9:0/0/terrains_peering_bit/bottom_side = 0 +9:0/0/terrains_peering_bit/bottom_left_corner = 0 +9:0/0/terrains_peering_bit/left_side = 0 +9:0/0/terrains_peering_bit/top_side = 0 10:0/0 = 0 +10:0/0/terrain_set = 0 +10:0/0/terrain = 0 +10:0/0/terrains_peering_bit/right_side = 0 +10:0/0/terrains_peering_bit/bottom_side = 0 +10:0/0/terrains_peering_bit/bottom_left_corner = 0 +10:0/0/terrains_peering_bit/left_side = 0 +10:0/0/terrains_peering_bit/top_left_corner = 0 +10:0/0/terrains_peering_bit/top_side = 0 12:0/0 = 0 +12:0/0/terrain_set = 0 +12:0/0/terrain = 0 +12:0/0/terrains_peering_bit/right_side = 0 +12:0/0/terrains_peering_bit/bottom_right_corner = 0 +12:0/0/terrains_peering_bit/bottom_side = 0 +12:0/0/terrains_peering_bit/top_side = 0 13:0/0 = 0 +13:0/0/terrain_set = 0 +13:0/0/terrain = 0 +13:0/0/terrains_peering_bit/bottom_side = 0 +13:0/0/terrains_peering_bit/bottom_left_corner = 0 +13:0/0/terrains_peering_bit/left_side = 0 +13:0/0/terrains_peering_bit/top_side = 0 15:0/0 = 0 +15:0/0/terrain_set = 0 +15:0/0/terrain = 0 +15:0/0/terrains_peering_bit/right_side = 0 +15:0/0/terrains_peering_bit/bottom_side = 0 +15:0/0/terrains_peering_bit/left_side = 0 +15:0/0/terrains_peering_bit/top_side = 0 0:1/0 = 0 +0:1/0/terrain_set = 0 +0:1/0/terrain = 0 +0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, 11.25, 16, -10.25, 16, -16, 16) +0:1/0/terrains_peering_bit/right_side = 0 +0:1/0/terrains_peering_bit/bottom_right_corner = 0 +0:1/0/terrains_peering_bit/bottom_side = 0 +0:1/0/terrains_peering_bit/top_side = 0 +0:1/0/terrains_peering_bit/top_right_corner = 0 1:1/0 = 0 +1:1/0/terrain_set = 0 +1:1/0/terrains_peering_bit/right_side = 0 +1:1/0/terrains_peering_bit/bottom_right_corner = 0 +1:1/0/terrains_peering_bit/bottom_side = 0 +1:1/0/terrains_peering_bit/bottom_left_corner = 0 +1:1/0/terrains_peering_bit/left_side = 0 +1:1/0/terrains_peering_bit/top_left_corner = 0 +1:1/0/terrains_peering_bit/top_side = 0 +1:1/0/terrains_peering_bit/top_right_corner = 0 2:1/0 = 0 +2:1/0/terrain_set = 0 +2:1/0/terrain = 0 +2:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, 11.25, 16, -10.25, 16, -16, 16) +2:1/0/terrains_peering_bit/bottom_side = 0 +2:1/0/terrains_peering_bit/bottom_left_corner = 0 +2:1/0/terrains_peering_bit/left_side = 0 +2:1/0/terrains_peering_bit/top_left_corner = 0 +2:1/0/terrains_peering_bit/top_side = 0 4:1/0 = 0 +4:1/0/terrain_set = 0 +4:1/0/terrain = 0 +4:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, 11.25, 16, -10.25, 16, -16, 16) +4:1/0/terrains_peering_bit/bottom_side = 0 +4:1/0/terrains_peering_bit/top_side = 0 6:1/0 = 0 +6:1/0/terrain_set = 0 +6:1/0/terrain = 0 +6:1/0/terrains_peering_bit/right_side = 0 +6:1/0/terrains_peering_bit/bottom_right_corner = 0 +6:1/0/terrains_peering_bit/bottom_side = 0 +6:1/0/terrains_peering_bit/bottom_left_corner = 0 +6:1/0/terrains_peering_bit/left_side = 0 +6:1/0/terrains_peering_bit/top_left_corner = 0 +6:1/0/terrains_peering_bit/top_side = 0 7:1/0 = 0 +7:1/0/terrain_set = 0 +7:1/0/terrain = 0 +7:1/0/terrains_peering_bit/right_side = 0 +7:1/0/terrains_peering_bit/bottom_right_corner = 0 +7:1/0/terrains_peering_bit/bottom_side = 0 +7:1/0/terrains_peering_bit/bottom_left_corner = 0 +7:1/0/terrains_peering_bit/left_side = 0 +7:1/0/terrains_peering_bit/top_side = 0 +7:1/0/terrains_peering_bit/top_right_corner = 0 9:1/0 = 0 +9:1/0/terrain_set = 0 +9:1/0/terrain = 0 +9:1/0/terrains_peering_bit/right_side = 0 +9:1/0/terrains_peering_bit/bottom_right_corner = 0 +9:1/0/terrains_peering_bit/bottom_side = 0 +9:1/0/terrains_peering_bit/left_side = 0 +9:1/0/terrains_peering_bit/top_side = 0 +9:1/0/terrains_peering_bit/top_right_corner = 0 10:1/0 = 0 +10:1/0/terrain_set = 0 +10:1/0/terrain = 0 +10:1/0/terrains_peering_bit/right_side = 0 +10:1/0/terrains_peering_bit/bottom_side = 0 +10:1/0/terrains_peering_bit/left_side = 0 +10:1/0/terrains_peering_bit/top_left_corner = 0 +10:1/0/terrains_peering_bit/top_side = 0 +10:1/0/terrains_peering_bit/top_right_corner = 0 12:1/0 = 0 +12:1/0/terrain_set = 0 +12:1/0/terrain = 0 +12:1/0/terrains_peering_bit/right_side = 0 +12:1/0/terrains_peering_bit/bottom_side = 0 +12:1/0/terrains_peering_bit/top_side = 0 +12:1/0/terrains_peering_bit/top_right_corner = 0 13:1/0 = 0 +13:1/0/terrain_set = 0 +13:1/0/terrain = 0 +13:1/0/terrains_peering_bit/bottom_side = 0 +13:1/0/terrains_peering_bit/left_side = 0 +13:1/0/terrains_peering_bit/top_left_corner = 0 +13:1/0/terrains_peering_bit/top_side = 0 15:1/0 = 0 +15:1/0/terrain_set = 0 +15:1/0/terrain = 0 +15:1/0/terrains_peering_bit/right_side = 0 +15:1/0/terrains_peering_bit/bottom_side = 0 +15:1/0/terrains_peering_bit/bottom_left_corner = 0 +15:1/0/terrains_peering_bit/left_side = 0 +15:1/0/terrains_peering_bit/top_side = 0 +15:1/0/terrains_peering_bit/top_right_corner = 0 16:1/0 = 0 +16:1/0/terrain_set = 0 +16:1/0/terrain = 0 +16:1/0/terrains_peering_bit/right_side = 0 +16:1/0/terrains_peering_bit/bottom_right_corner = 0 +16:1/0/terrains_peering_bit/bottom_side = 0 +16:1/0/terrains_peering_bit/left_side = 0 +16:1/0/terrains_peering_bit/top_left_corner = 0 +16:1/0/terrains_peering_bit/top_side = 0 0:2/0 = 0 +0:2/0/terrain_set = 0 +0:2/0/terrain = 0 +0:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -10, 16, -16, 9) +0:2/0/terrains_peering_bit/right_side = 0 +0:2/0/terrains_peering_bit/top_side = 0 +0:2/0/terrains_peering_bit/top_right_corner = 0 1:2/0 = 0 +1:2/0/terrain_set = 0 +1:2/0/terrain = 0 +1:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, 11.25, 16, -10.25, 16, -16, 16) +1:2/0/terrains_peering_bit/right_side = 0 +1:2/0/terrains_peering_bit/left_side = 0 +1:2/0/terrains_peering_bit/top_left_corner = 0 +1:2/0/terrains_peering_bit/top_side = 0 +1:2/0/terrains_peering_bit/top_right_corner = 0 2:2/0 = 0 +2:2/0/terrain_set = 0 +2:2/0/terrain = 0 +2:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 9.5, 10, 16, -16, 16) +2:2/0/terrains_peering_bit/left_side = 0 +2:2/0/terrains_peering_bit/top_left_corner = 0 +2:2/0/terrains_peering_bit/top_side = 0 4:2/0 = 0 +4:2/0/terrain_set = 0 +4:2/0/terrain = 0 +4:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 9.5, 10, 16, -9.5, 16, -16, 10.25) +4:2/0/terrains_peering_bit/top_side = 0 6:3/0 = 0 +6:3/0/terrain_set = 0 +6:3/0/terrain = 0 +6:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 2.25, -16, 2, 16, -16, 16) +6:3/0/terrains_peering_bit/right_side = 0 +6:3/0/terrains_peering_bit/bottom_side = 0 +6:3/0/terrains_peering_bit/top_side = 0 +6:3/0/terrains_peering_bit/top_right_corner = 0 7:3/0 = 0 +7:3/0/terrain_set = 0 +7:3/0/terrain = 0 +7:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(1.5, -16, 16, -16, 16, 16, 0, 16) +7:3/0/terrains_peering_bit/bottom_side = 0 +7:3/0/terrains_peering_bit/left_side = 0 +7:3/0/terrains_peering_bit/top_left_corner = 0 +7:3/0/terrains_peering_bit/top_side = 0 9:3/0 = 0 +9:3/0/terrain_set = 0 +9:3/0/terrain = 0 +9:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 2, -16, 2.25) +9:3/0/terrains_peering_bit/right_side = 0 +9:3/0/terrains_peering_bit/bottom_side = 0 +9:3/0/terrains_peering_bit/bottom_left_corner = 0 +9:3/0/terrains_peering_bit/left_side = 0 10:3/0 = 0 +10:3/0/terrain_set = 0 +10:3/0/terrain = 0 +10:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 2, -16, 2.25) +10:3/0/terrains_peering_bit/right_side = 0 +10:3/0/terrains_peering_bit/bottom_right_corner = 0 +10:3/0/terrains_peering_bit/bottom_side = 0 +10:3/0/terrains_peering_bit/left_side = 0 12:3/0 = 0 +12:3/0/terrain_set = 0 +12:3/0/terrain = 0 +12:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 4.5, -16, 5.25, 16, -16, 16) +12:3/0/terrains_peering_bit/right_side = 0 +12:3/0/terrains_peering_bit/bottom_side = 0 +12:3/0/terrains_peering_bit/top_side = 0 13:3/0 = 0 +13:3/0/terrain_set = 0 +13:3/0/terrain = 0 +13:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 1, -16, 1) +13:3/0/terrains_peering_bit/right_side = 0 +13:3/0/terrains_peering_bit/bottom_side = 0 +13:3/0/terrains_peering_bit/left_side = 0 15:3/0 = 0 +15:3/0/terrain_set = 0 +15:3/0/terrain = 0 +15:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +15:3/0/terrains_peering_bit/right_side = 0 +15:3/0/terrains_peering_bit/bottom_side = 0 16:3/0 = 0 +16:3/0/terrain_set = 0 +16:3/0/terrain = 0 +16:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +16:3/0/terrains_peering_bit/bottom_side = 0 +16:3/0/terrains_peering_bit/left_side = 0 0:4/0 = 0 +0:4/0/terrain_set = 0 +0:4/0/terrain = 0 +0:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -7.25, 16, -16, 7.75) +0:4/0/terrains_peering_bit/right_side = 0 1:4/0 = 0 +1:4/0/terrain_set = 0 +1:4/0/terrain = 0 +1:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +1:4/0/terrains_peering_bit/right_side = 0 +1:4/0/terrains_peering_bit/left_side = 0 2:4/0 = 0 +2:4/0/terrain_set = 0 +2:4/0/terrain = 0 +2:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 10.25, 10.75, 16, -16, 16) +2:4/0/terrains_peering_bit/left_side = 0 4:4/0 = 0 +4:4/0/terrain_set = 0 +4:4/0/terrain = 0 +4:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 9.5, 11.25, 16, -10.25, 16, -16, 8.75) 6:4/0 = 0 +6:4/0/terrain_set = 0 +6:4/0/terrain = 0 +6:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 2.25, -16, 2, 16, -16, 16) +6:4/0/terrains_peering_bit/right_side = 0 +6:4/0/terrains_peering_bit/bottom_right_corner = 0 +6:4/0/terrains_peering_bit/bottom_side = 0 +6:4/0/terrains_peering_bit/top_side = 0 7:4/0 = 0 +7:4/0/terrain_set = 0 +7:4/0/terrain = 0 +7:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(1.5, -16, 16, -16, 16, 16, 0, 16) +7:4/0/terrains_peering_bit/bottom_side = 0 +7:4/0/terrains_peering_bit/bottom_left_corner = 0 +7:4/0/terrains_peering_bit/left_side = 0 +7:4/0/terrains_peering_bit/top_side = 0 9:4/0 = 0 +9:4/0/terrain_set = 0 +9:4/0/terrain = 0 +9:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, 0.5, 16, 1, 16, 16, -16, 16) +9:4/0/terrains_peering_bit/right_side = 0 +9:4/0/terrains_peering_bit/left_side = 0 +9:4/0/terrains_peering_bit/top_left_corner = 0 +9:4/0/terrains_peering_bit/top_side = 0 10:4/0 = 0 +10:4/0/terrain_set = 0 +10:4/0/terrain = 0 +10:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, 0.5, 16, 1, 16, 16, -16, 16) +10:4/0/terrains_peering_bit/right_side = 0 +10:4/0/terrains_peering_bit/left_side = 0 +10:4/0/terrains_peering_bit/top_side = 0 +10:4/0/terrains_peering_bit/top_right_corner = 0 12:4/0 = 0 +12:4/0/terrain_set = 0 +12:4/0/terrain = 0 +12:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 4.5, -16, 5.25, 16, -16, 16) +12:4/0/terrains_peering_bit/right_side = 0 +12:4/0/terrains_peering_bit/left_side = 0 +12:4/0/terrains_peering_bit/top_side = 0 13:4/0 = 0 +13:4/0/terrain_set = 0 +13:4/0/terrain = 0 +13:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -0.25, 16, -0.5, 16, 16, -16, 16) +13:4/0/terrains_peering_bit/bottom_side = 0 +13:4/0/terrains_peering_bit/left_side = 0 +13:4/0/terrains_peering_bit/top_side = 0 15:4/0 = 0 +15:4/0/terrain_set = 0 +15:4/0/terrain = 0 +15:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +15:4/0/terrains_peering_bit/right_side = 0 +15:4/0/terrains_peering_bit/top_side = 0 16:4/0 = 0 +16:4/0/terrain_set = 0 +16:4/0/terrain = 0 +16:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +16:4/0/terrains_peering_bit/left_side = 0 +16:4/0/terrains_peering_bit/top_side = 0 [sub_resource type="TileSet" id="TileSet_fj5fk"] tile_size = Vector2i(32, 32) +physics_layer_0/collision_layer = 1 +terrain_set_0/mode = 0 +terrain_set_0/terrain_0/name = "leafyground 0" +terrain_set_0/terrain_0/color = Color(0.5, 0.34375, 0.25, 1) sources/0 = SubResource("TileSetAtlasSource_v72u6") +[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_gasd3"] +distance = -1.0 + +[sub_resource type="CircleShape2D" id="CircleShape2D_5ph8t"] +radius = 62.0 + [node name="Game" type="Node2D"] script = ExtResource("1_50x63") -[node name="firstPlatform" type="StaticBody2D" parent="."] -position = Vector2(595, 310) -metadata/_edit_group_ = true +[node name="background" type="Parallax2D" parent="."] +scroll_offset = Vector2(626, 298) +repeat_size = Vector2(320, 0) -[node name="CollisionShape2D" type="CollisionShape2D" parent="firstPlatform"] -shape = SubResource("RectangleShape2D_n7xvc") +[node name="Sprite2D" type="Sprite2D" parent="background"] +position = Vector2(160, 90) +texture = ExtResource("2_u8255") + +[node name="Sprite2D2" type="Sprite2D" parent="background"] +position = Vector2(0, -19198.5) +scale = Vector2(1, 202.1) +texture = ExtResource("3_ot8gf") +offset = Vector2(160, 90) + +[node name="trees" type="Parallax2D" parent="."] +scroll_scale = Vector2(0.7, 1) +scroll_offset = Vector2(626, 298) +repeat_size = Vector2(320, 0) + +[node name="Sprite2D" type="Sprite2D" parent="trees"] +texture_filter = 1 +position = Vector2(0, -54) +scale = Vector2(1, 1.3) +texture = ExtResource("3_u7j2e") +offset = Vector2(160, 90) + +[node name="SceneManager" type="Node" parent="."] +unique_name_in_owner = true +script = ExtResource("1_ooich") + +[node name="TileMapLayer" type="TileMapLayer" parent="."] +texture_filter = 1 +position = Vector2(-4, -6) +tile_map_data = PackedByteArray("AAADAP3/AAAAAAAAAAANAA0AAAAAAAAAAAAKAAsAAAACAAQAAAAAAA8AAAABAAAAAAABAA8AAAABAAAAAAACA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/AAABAAAAAAAYANb/AAABAAAAAAAXANb/AAAGAAEAAAAXANX/AAACAAAAAAAWANX/AAABAAAAAAAVANX/AAABAAAAAAAUANX/AAAKAAMAAAATANT/AAACAAAAAAASANT/AAAAAAAAAAAWANb/AAAGAAAAAAAXANf/AAAGAAAAAAAYANf/AAAHAAAAAAAZANf/AAAGAAAAAAAaANf/AAAHAAAAAAAaANj/AAAHAAEAAAAbANj/AAAGAAAAAAAbANn/AAAHAAAAAAAcANn/AAAHAAAAAAAcANr/AAAHAAEAAAAZANj/AAAGAAEAAAAYANj/AAAHAAAAAAAaANn/AAAHAAAAAAAKAAcAAAAAAAAAAAALAAcAAAACAAAAAAANAAgAAAAJAAMAAAAMAAkAAAAAAAIAAAANAAkAAAACAAIAAAAOAAgAAAACAAQAAAA=") +tile_set = SubResource("TileSet_fj5fk") [node name="Floor" type="StaticBody2D" parent="."] +position = Vector2(-26, 475) +metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="Floor"] shape = SubResource("WorldBoundaryShape2D_gasd3") [node name="CharacterBody2D" parent="." instance=ExtResource("3_bssht")] -position = Vector2(174, 430) +position = Vector2(324, 76) [node name="Area2D" type="Area2D" parent="."] -position = Vector2(952, 434) +position = Vector2(831, 439) script = ExtResource("3_t4lk8") metadata/_edit_group_ = true @@ -98,17 +441,13 @@ metadata/_edit_group_ = true shape = SubResource("CircleShape2D_5ph8t") debug_color = Color(0.630721, 0.529414, 1.92523e-07, 0.42) -[node name="SceneManager" type="Node" parent="."] -unique_name_in_owner = true -script = ExtResource("1_ooich") - [node name="crates" type="Node2D" parent="."] [node name="RigidBody2D4" parent="crates" instance=ExtResource("1_6shkr")] -position = Vector2(603, 24) +position = Vector2(504, -465) [node name="RigidBody2D" parent="crates" groups=["pushables"] instance=ExtResource("1_6shkr")] -position = Vector2(209, 113) +position = Vector2(147, 68) rotation = 2.09219 [node name="RigidBody2D2" parent="crates" groups=["pushables"] instance=ExtResource("1_6shkr")] @@ -120,10 +459,7 @@ position = Vector2(373, 200) rotation = -0.0982481 [node name="RigidBody2D5" parent="crates" instance=ExtResource("1_6shkr")] -position = Vector2(251, 69) - -[node name="TileMapLayer" type="TileMapLayer" parent="."] -tile_set = SubResource("TileSet_fj5fk") +position = Vector2(-49, -64) [connection signal="areaTrigger" from="Area2D" to="." method="_on_trigger"] [connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"] diff --git a/scenes/player.tscn b/scenes/player.tscn index 900e4d9..ab28753 100644 --- a/scenes/player.tscn +++ b/scenes/player.tscn @@ -6,7 +6,7 @@ [ext_resource type="Texture2D" uid="uid://bvat1vqwtua2p" path="res://assets/graphics/player/run/player run 48x48.png" id="3_y36hw"] [sub_resource type="CircleShape2D" id="CircleShape2D_uvblg"] -radius = 32.5576 +radius = 17.172 [sub_resource type="AtlasTexture" id="AtlasTexture_cdvw1"] atlas = ExtResource("2_yfuca") @@ -179,6 +179,7 @@ PUSH_FORCE = 100 metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="."] +scale = Vector2(0.7, 1) shape = SubResource("CircleShape2D_uvblg") debug_color = Color(0.872789, 0.000463018, 0.842707, 0.42) @@ -195,13 +196,12 @@ position = Vector2(35, -10) position = Vector2(-35, -10) [node name="Camera2D" type="Camera2D" parent="."] -position = Vector2(0, -75) -zoom = Vector2(0.5, 0.5) +offset = Vector2(0, -30) [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] texture_filter = 1 position = Vector2(-1, -4) -scale = Vector2(2.22855, 2.22855) +scale = Vector2(1.29167, 1.29167) sprite_frames = SubResource("SpriteFrames_52pno") animation = &"playerJump" autoplay = "playerIdle" diff --git a/scenes/trees.png b/scenes/trees.png new file mode 100644 index 0000000..7f27ee9 Binary files /dev/null and b/scenes/trees.png differ diff --git a/scenes/trees.png.import b/scenes/trees.png.import new file mode 100644 index 0000000..220e1fd --- /dev/null +++ b/scenes/trees.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dvo3fyb2k6saf" +path="res://.godot/imported/trees.png-aae64ae71e38b889bacd9a989dc53946.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://scenes/trees.png" +dest_files=["res://.godot/imported/trees.png-aae64ae71e38b889bacd9a989dc53946.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/scripts/gameController.gd b/scripts/gameController.gd index aa6847e..dd09b7e 100644 --- a/scripts/gameController.gd +++ b/scripts/gameController.gd @@ -1,7 +1,7 @@ extends Node2D var timer:= Timer.new() -@export var secondCount= 30 +@export var secondCount= 90 var totalCrates := 0 diff --git a/scripts/sceneManager.gd b/scripts/sceneManager.gd index 8a7b778..63a3140 100644 --- a/scripts/sceneManager.gd +++ b/scripts/sceneManager.gd @@ -37,8 +37,7 @@ func makeBullet(position, speed): myBullet.setSpeed(speed) return - - + func onBulletHit(bullet, body): bullet.position = Vector2(-100, -100) bullet.setSpeed(0)