From a0f311aad62280cea379410a9541ad05eca59472 Mon Sep 17 00:00:00 2001 From: GabriellePipo Date: Mon, 27 Jan 2025 20:51:43 -0500 Subject: [PATCH] terrains, physics layer, parallax 2d, custom art --- .../terrains/backgrounds/forestbackground.png | Bin 0 -> 7521 bytes .../backgrounds/forestbackground.png.import | 34 ++ .../terrains/backgrounds/midtrees.png | Bin 0 -> 1576 bytes .../terrains/backgrounds/midtrees.png.import | 34 ++ .../terrains/backgrounds/skystrip.png | Bin 0 -> 626 bytes .../terrains/backgrounds/skystrip.png.import | 34 ++ dariusgodotproject/scenes/bullet.tscn | 1 + dariusgodotproject/scenes/game.tscn | 380 ++++++++++++++++-- dariusgodotproject/scripts/scenemanager.gd | 2 + 9 files changed, 461 insertions(+), 24 deletions(-) create mode 100644 dariusgodotproject/assets/graphics/terrains/backgrounds/forestbackground.png create mode 100644 dariusgodotproject/assets/graphics/terrains/backgrounds/forestbackground.png.import create mode 100644 dariusgodotproject/assets/graphics/terrains/backgrounds/midtrees.png create mode 100644 dariusgodotproject/assets/graphics/terrains/backgrounds/midtrees.png.import create mode 100644 dariusgodotproject/assets/graphics/terrains/backgrounds/skystrip.png create mode 100644 dariusgodotproject/assets/graphics/terrains/backgrounds/skystrip.png.import diff --git a/dariusgodotproject/assets/graphics/terrains/backgrounds/forestbackground.png b/dariusgodotproject/assets/graphics/terrains/backgrounds/forestbackground.png new file mode 100644 index 0000000000000000000000000000000000000000..975c185ca0a69fb6d672f68b36f8df4fe31d28b9 GIT binary patch literal 7521 zcmc(E`#+O^_&-HTO2@ZD==>InbP~2v@^*@0W)V|_kmDRTBlRvRImC$ADls-Jr^L(> z!jkZUg ziwZ2En)@$od^>3pR(?WrybyZs<}+KZ%DHc?$vWb|PH3v=xadE=Z+zBzXtWNj;w9~L7No9rdG<+D zvJ1>5W+Er>^S8^5UYhz~mB0Vu`WIK~YQ0rnITCz}9@?hRqfN}IzV4SV>&Hx^UVKZ3 zWz^XCDF&Z+-*f2Jxx)7^4n4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@*I2O{*ti_1o_S@=$7TW%=%_!1d#_*Y`#;g%2vxQBH6ujtUs#X9c|ibEPU~x2s^As zyFP%>IU4aIv+}HsgRZ+p$p-bt;1Pkz$c46lnIgW~zQxU(g!=JJgH#7&yEIv8_k7%6 z+518u+g%~)Z zFgTA?MNI&JsG^W|=Mvtma)%=ptkh+2Nyqdc#P~?~{roc3rWmP}5qOxe_S!3AU|#;= zY1L5>ZwbS4((GcJZ3)KZBuD;7MTwcJPpVF15?#7)!WsAF>UJt1TfOsduH*{Y%xXEX z@NWh-Yq-|X6MS-cH_p0>+0n8T)oIw5tTPE#D+|r@nFt(FwG~JKYJQAt-VXACfa%@7 zwjSNa>e>-|?^rR)ynS_l6#Y zYYlzGRRvaao`1~RJZ)M?=JnqOA@CjJpigy`H5%a?$?YXo*ku7KWzY8TUTk-6*DJi*v-5=r{wyeBk$7KI^j1s6$kJQMX}ykOj#j`PEs zY+6ld()0C*V}bnwsds!w3N z(CuX0cAsq?cH z3v{E3vv3ZJ!{IkbhT};O@3vL-bo5mvteE%(VDx>jbp&>E0$DRNIipVGdt`-KjhV(T zmMs?;Z>9XWi~ivLgEN;gF62RhwHWbZSQ_BF(sj#v9?fz?_H~=wz^-v|y&u`gf@@0yi2S5xc zK*n9BmCDA1DA;-Kdn`;A*<;zl&uKuZry0U2K08unXp>)djJ%%wh&IXri>ycZrTqsJ C_nw6S literal 0 HcmV?d00001 diff --git a/dariusgodotproject/assets/graphics/terrains/backgrounds/midtrees.png.import b/dariusgodotproject/assets/graphics/terrains/backgrounds/midtrees.png.import new file mode 100644 index 0000000..a1c17ea --- /dev/null +++ b/dariusgodotproject/assets/graphics/terrains/backgrounds/midtrees.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b3smxb17ijk60" +path="res://.godot/imported/midtrees.png-12cb76c3dd1b9f6edc0c081a0d1bfebc.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/terrains/backgrounds/midtrees.png" +dest_files=["res://.godot/imported/midtrees.png-12cb76c3dd1b9f6edc0c081a0d1bfebc.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/dariusgodotproject/assets/graphics/terrains/backgrounds/skystrip.png b/dariusgodotproject/assets/graphics/terrains/backgrounds/skystrip.png new file mode 100644 index 0000000000000000000000000000000000000000..8b76e286ac89922e3c3a1ab9ad220a260f68289e GIT binary patch literal 626 zcmeAS@N?(olHy`uVBq!ia0y~yU~~YoX2Z*%#2fI$}YL<1eW?AVc=He=|mCJR7Kvrv*tWVr8c3-JUBI51`w?24q zKI!Vgqmkk4;f?}-7z@Sch{P^A@_Uj~w}igUz2lYNW$x|f7kHJrEK>Gy!?N3HT7u%n zH$ykR7G-o{;7RsKn`Wr)>G|W@b=%V5yGJXg)!(0gb@ekHHWrshk!dr`KC*rMvMjgY zo;u&=MQeoS3-`|~aeU;yPFrq&q23Oi4`(*a^gAou-g(qXT08el*D^O7SD8@Lxu05l zj%z*FJr}j})U5AM^m(3snVP!pa+gA*tBzw62W#k*fVN(Vw^o{BK_znEKl1OY>x|*r z>6P##!huyPenH_ZZmQ4`eiMx?X$l?p?d>_0_XJ|7HwdQ8cHkE~Wt(Et~}&k;M!QddeWoSh3W; z3@FH6;_2(k{*qCKQCsu9fu285NV3E=qQp5rH#aq}gu%HeHL)Z$MWH;iBtya7(>EZz zkxv|`D8|#pF{I+w+sllc3SPrS7L@dOWzFK6-&%wNZnkZ|BYL*qdpW@Kh& qV*_Cx9uSt0FfagNkOHiVLTq~{Gp<>5DC;ZG9tKZWKbLh*2~7YqLie`- literal 0 HcmV?d00001 diff --git a/dariusgodotproject/assets/graphics/terrains/backgrounds/skystrip.png.import b/dariusgodotproject/assets/graphics/terrains/backgrounds/skystrip.png.import new file mode 100644 index 0000000..7ec475f --- /dev/null +++ b/dariusgodotproject/assets/graphics/terrains/backgrounds/skystrip.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://8kaggg1kilxy" +path="res://.godot/imported/skystrip.png-844d3ff7d8566eaa4b19752fec7f4f77.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/terrains/backgrounds/skystrip.png" +dest_files=["res://.godot/imported/skystrip.png-844d3ff7d8566eaa4b19752fec7f4f77.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/dariusgodotproject/scenes/bullet.tscn b/dariusgodotproject/scenes/bullet.tscn index f29b300..ba4b2d2 100644 --- a/dariusgodotproject/scenes/bullet.tscn +++ b/dariusgodotproject/scenes/bullet.tscn @@ -8,6 +8,7 @@ size = Vector2(16, 4) [node name="Area2D" type="Area2D"] script = ExtResource("1_qivxv") +metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("RectangleShape2D_dp02a") diff --git a/dariusgodotproject/scenes/game.tscn b/dariusgodotproject/scenes/game.tscn index c074148..6f0eae5 100644 --- a/dariusgodotproject/scenes/game.tscn +++ b/dariusgodotproject/scenes/game.tscn @@ -1,81 +1,420 @@ -[gd_scene load_steps=13 format=3 uid="uid://dcmyx5g6dksl8"] +[gd_scene load_steps=16 format=4 uid="uid://dcmyx5g6dksl8"] [ext_resource type="PackedScene" uid="uid://d1ej2kiy7jcpv" path="res://scenes/crate.tscn" id="1_uivx3"] [ext_resource type="Script" path="res://scripts/gamecontroller.gd" id="1_vhl00"] [ext_resource type="Script" path="res://scripts/trigger.gd" id="3_2qbah"] [ext_resource type="PackedScene" uid="uid://b75mow511wmmb" path="res://scenes/player.tscn" id="3_8h5jv"] +[ext_resource type="Texture2D" uid="uid://jlbx6yvcmten" path="res://assets/graphics/terrains/backgrounds/forestbackground.png" id="3_umlo6"] +[ext_resource type="Texture2D" uid="uid://8kaggg1kilxy" path="res://assets/graphics/terrains/backgrounds/skystrip.png" id="4_62nh8"] +[ext_resource type="Texture2D" uid="uid://b3smxb17ijk60" path="res://assets/graphics/terrains/backgrounds/midtrees.png" id="4_201fr"] [ext_resource type="PackedScene" uid="uid://dwfife67i1fmr" path="res://scenes/bullet.tscn" id="5_7yfvg"] [ext_resource type="Script" path="res://scripts/scenemanager.gd" id="6_n2kp0"] [ext_resource type="Texture2D" uid="uid://btdvc25chjgd" path="res://assets/graphics/terrains/Terrain (32x32).png" id="7_v20os"] -[sub_resource type="RectangleShape2D" id="RectangleShape2D_1cyeq"] -size = Vector2(101, 20) - -[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_bqh70"] -distance = -395.0 - -[sub_resource type="CircleShape2D" id="CircleShape2D_mfh1j"] - [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_3ut3v"] texture = ExtResource("7_v20os") 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, -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, -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, -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, -16, 16) +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/left_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/right_side = 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, -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 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, -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, -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/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/left_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/right_side = 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, -16, 16) +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, -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, 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, 16, -16, 16) +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, -0.25, -16, 0, 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(16, -16, -0.25, -16, 0, 16, 16, 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, -7, 16, -6.75) +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, -7, 16, -6.75) +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, -16, 16, -6, 16, -6.5, -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, -0.75, 7.5, 0.5, 8, 16, 16, 16, 16, -16) +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, -16, 16) +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, 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, 16, -16, 16) 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, -0.25, -16, 0, 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(16, -16, -0.25, -16, 0, 16, 16, 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, 3.5, -16, 16, 16, 16, 16, 3.5) +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, 3.5, -16, 16, 16, 16, 16, 3.5) +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, -16, 16, 16, 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(5.5, -16, 6.25, 16, 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_ixl4j"] tile_size = Vector2i(32, 32) +physics_layer_0/collision_layer = 1 +terrain_set_0/mode = 0 +terrain_set_0/terrain_0/name = "leafy_ground" +terrain_set_0/terrain_0/color = Color(0.5, 0.34375, 0.25, 1) sources/0 = SubResource("TileSetAtlasSource_3ut3v") +[sub_resource type="RectangleShape2D" id="RectangleShape2D_1cyeq"] +size = Vector2(101, 20) + +[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_bqh70"] +distance = -181.0 + +[sub_resource type="CircleShape2D" id="CircleShape2D_mfh1j"] + [node name="Game" type="Node2D"] script = ExtResource("1_vhl00") +[node name="SceneManager" type="Node" parent="."] +unique_name_in_owner = true +script = ExtResource("6_n2kp0") + +[node name="Background" type="Parallax2D" parent="."] +repeat_size = Vector2(320, 0) + +[node name="Sprite2D" type="Sprite2D" parent="Background"] +position = Vector2(160, 90) +texture = ExtResource("3_umlo6") + +[node name="Sprite2D2" type="Sprite2D" parent="Background"] +position = Vector2(160, -68.5) +scale = Vector2(1, 5.56667) +texture = ExtResource("4_62nh8") + +[node name="Parallax2D2" type="Parallax2D" parent="."] +scroll_scale = Vector2(1.2, 1.2) +repeat_size = Vector2(320, 0) + +[node name="Sprite2D" type="Sprite2D" parent="Parallax2D2"] +texture_filter = 1 +position = Vector2(160, 90) +texture = ExtResource("4_201fr") + +[node name="TileMapLayer" type="TileMapLayer" parent="."] +position = Vector2(-220, -413) +tile_map_data = PackedByteArray("AAALABMAAAAEAAEAAAALABQAAAAEAAEAAAALABUAAAAEAAEAAAALABYAAAAPAAQAAAAMABYAAAAQAAMAAAAMABcAAAAPAAQAAAANABcAAAABAAQAAAAOABcAAAAKAAMAAAAOABgAAAAAAAIAAAAPABcAAAACAAAAAAAPABgAAAAJAAQAAAAQABgAAAABAAQAAAARABgAAAABAAQAAAASABgAAAABAAQAAAATABgAAAACAAQAAAAUABkAAAAAAAQAAAAVABkAAAABAAQAAAAWABkAAAABAAQAAAAXABkAAAABAAQAAAAYABkAAAABAAQAAAAZABkAAAABAAQAAAAaABkAAAABAAQAAAAbABkAAAABAAQAAAAcABkAAAABAAQAAAAdABkAAAABAAQAAAAeABkAAAAKAAMAAAAeABoAAAAAAAIAAAAfABoAAAACAAIAAAAfABkAAAAJAAMAAAAgABkAAAAQAAQAAAAgABgAAAAPAAMAAAAhABgAAAABAAQAAAAiABgAAAABAAQAAAAjABgAAAACAAQAAAAJABIAAAABAAAAAAAKABIAAAABAAAAAAALABIAAAABAAAAAAAMABIAAAABAAAAAAANABIAAAABAAQAAAAIABIAAAABAAAAAAAHABIAAAAKAAMAAAAOABIAAAABAAQAAAAPABIAAAABAAQAAAAQABIAAAACAAQAAAATABIAAAAAAAQAAAAUABIAAAABAAQAAAAVABIAAAABAAQAAAAWABIAAAABAAQAAAAXABIAAAABAAQAAAAYABIAAAABAAQAAAAZABIAAAABAAQAAAAaABIAAAAKAAMAAAA=") +tile_set = SubResource("TileSet_ixl4j") + [node name="StaticBody2D" type="StaticBody2D" parent="."] -position = Vector2(622, 343) +position = Vector2(340, -161) metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] @@ -90,7 +429,7 @@ shape = SubResource("WorldBoundaryShape2D_bqh70") [node name="CharacterBody2D" parent="." instance=ExtResource("3_8h5jv")] [node name="Area2D" type="Area2D" parent="."] -position = Vector2(513, 319) +position = Vector2(269, 55) scale = Vector2(5, 5) script = ExtResource("3_2qbah") metadata/_edit_group_ = true @@ -100,36 +439,29 @@ shape = SubResource("CircleShape2D_mfh1j") debug_color = Color(0.825765, 0.00158581, 0.954354, 0.42) [node name="Area2D2" parent="." instance=ExtResource("5_7yfvg")] -position = Vector2(309, 222) - -[node name="SceneManager" type="Node" parent="."] -unique_name_in_owner = true -script = ExtResource("6_n2kp0") +position = Vector2(142, 25) [node name="crates" type="Node2D" parent="."] [node name="RigidBody2D" parent="crates" instance=ExtResource("1_uivx3")] -position = Vector2(640, 228) +position = Vector2(102, 22) rotation = 0.806532 [node name="RigidBody2D5" parent="crates" instance=ExtResource("1_uivx3")] -position = Vector2(687, 174) +position = Vector2(135, 3) rotation = 0.806532 [node name="RigidBody2D2" parent="crates" instance=ExtResource("1_uivx3")] -position = Vector2(586, 297) +position = Vector2(69, 3.00003) rotation = 0.806532 [node name="RigidBody2D3" parent="crates" instance=ExtResource("1_uivx3")] -position = Vector2(668, 276) +position = Vector2(127, 44) rotation = 0.806532 [node name="RigidBody2D4" parent="crates" instance=ExtResource("1_uivx3")] -position = Vector2(749, 242) +position = Vector2(57, 39) rotation = 0.806532 -[node name="TileMapLayer" type="TileMapLayer" parent="."] -tile_set = SubResource("TileSet_ixl4j") - [connection signal="areaTrigger" from="Area2D" to="." method="_on_trigger"] [connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"] diff --git a/dariusgodotproject/scripts/scenemanager.gd b/dariusgodotproject/scripts/scenemanager.gd index 886b43d..df274d5 100644 --- a/dariusgodotproject/scripts/scenemanager.gd +++ b/dariusgodotproject/scripts/scenemanager.gd @@ -31,8 +31,10 @@ func bulletFactory(): else: myBullet = bulletArray.pop_back() bulletArray.push_front(myBullet) + return myBullet func makeBullet(position, speed): + print("position "+str(position) ) var myBullet = bulletFactory() myBullet.transform = position myBullet.setSpeed(speed)