a bit of restructuring, renaming, and c sharp setup
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://b6qkpdal83kyr"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dd3giw31imfk4" path="res://prefabs/player.tscn" id="1_c1tk0"]
|
||||
[ext_resource type="Script" uid="uid://51hbiq1mdpv1" path="res://scripts/GdScript/camera_controller.gd" id="4_qljgx"]
|
||||
[ext_resource type="PackedScene" uid="uid://txjiuosyfv34" path="res://scenes/testing/test_world.tscn" id="7_yb6mq"]
|
||||
|
||||
[node name="2dTestingGround" type="Node2D"]
|
||||
y_sort_enabled = true
|
||||
|
||||
[node name="player" parent="." instance=ExtResource("1_c1tk0")]
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
position = Vector2(166.03, 0)
|
||||
script = ExtResource("4_qljgx")
|
||||
multiplier = 100.0
|
||||
|
||||
[node name="World" parent="." instance=ExtResource("7_yb6mq")]
|
||||
@@ -0,0 +1,202 @@
|
||||
[gd_scene load_steps=12 format=3 uid="uid://dx7gn5yiq1aki"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dd3giw31imfk4" path="res://prefabs/player.tscn" id="1_aa8yc"]
|
||||
[ext_resource type="Texture2D" uid="uid://cg1cxmqbo1pa" path="res://graphics/mockups/trees/darktree1.png" id="2_k41x3"]
|
||||
[ext_resource type="Texture2D" uid="uid://fcm6etmmj65d" path="res://graphics/mockups/trees/darktree2.png" id="3_tykdc"]
|
||||
[ext_resource type="Texture2D" uid="uid://c8h24ouqcqlxv" path="res://graphics/mockups/trees/darktree3.png" id="4_4u5mu"]
|
||||
[ext_resource type="Texture2D" uid="uid://dcimm8umxko8" path="res://graphics/mockups/trees/darktree4.png" id="5_y2pux"]
|
||||
[ext_resource type="Texture2D" uid="uid://rk30f4q2a1vm" path="res://graphics/mockups/trees/darktree5.png" id="6_5shat"]
|
||||
[ext_resource type="Texture2D" uid="uid://xd1ob1jfq7pi" path="res://graphics/mockups/trees/darktree6.png" id="7_oyj6k"]
|
||||
[ext_resource type="Texture2D" uid="uid://bxfwua8h235xp" path="res://graphics/mockups/trees/darktree7.png" id="8_1guf4"]
|
||||
[ext_resource type="Texture2D" uid="uid://bradm5u7vjjxq" path="res://graphics/mockups/trees/darktree8.png" id="9_viosu"]
|
||||
[ext_resource type="Texture2D" uid="uid://bryqg0hb4f0ry" path="res://graphics/mockups/trees/darktree9.png" id="10_clutx"]
|
||||
[ext_resource type="Texture2D" uid="uid://c1iyeflkwaqxf" path="res://graphics/testingground/mushroom1.png" id="11_ovtse"]
|
||||
|
||||
[node name="AbandonedStreet" type="Node2D"]
|
||||
|
||||
[node name="player" parent="." instance=ExtResource("1_aa8yc")]
|
||||
z_index = 1
|
||||
z_as_relative = true
|
||||
position = Vector2(586, 343)
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
position = Vector2(578, 327)
|
||||
|
||||
[node name="background" type="Node2D" parent="."]
|
||||
|
||||
[node name="Darktree1" type="Sprite2D" parent="background"]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(159, 107.5)
|
||||
scale = Vector2(0.681208, 0.926282)
|
||||
texture = ExtResource("2_k41x3")
|
||||
|
||||
[node name="Darktree2" type="Sprite2D" parent="background"]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(290, 97)
|
||||
texture = ExtResource("3_tykdc")
|
||||
|
||||
[node name="Darktree3" type="Sprite2D" parent="background"]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(445, 108)
|
||||
texture = ExtResource("4_4u5mu")
|
||||
|
||||
[node name="Darktree4" type="Sprite2D" parent="background"]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(50, 116)
|
||||
texture = ExtResource("5_y2pux")
|
||||
|
||||
[node name="Darktree5" type="Sprite2D" parent="background"]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(585, 95)
|
||||
texture = ExtResource("6_5shat")
|
||||
|
||||
[node name="Darktree6" type="Sprite2D" parent="background"]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(716, 94)
|
||||
texture = ExtResource("7_oyj6k")
|
||||
|
||||
[node name="Darktree7" type="Sprite2D" parent="background"]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(826, 122)
|
||||
texture = ExtResource("8_1guf4")
|
||||
|
||||
[node name="Darktree8" type="Sprite2D" parent="background"]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(962, 114)
|
||||
texture = ExtResource("9_viosu")
|
||||
|
||||
[node name="Darktree9" type="Sprite2D" parent="background"]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(1093, 93)
|
||||
texture = ExtResource("10_clutx")
|
||||
|
||||
[node name="Darktree10" type="Sprite2D" parent="background"]
|
||||
z_index = -1
|
||||
y_sort_enabled = true
|
||||
position = Vector2(1018, 108)
|
||||
scale = Vector2(0.681208, 0.926282)
|
||||
texture = ExtResource("2_k41x3")
|
||||
|
||||
[node name="Darktree11" type="Sprite2D" parent="background"]
|
||||
z_index = -1
|
||||
y_sort_enabled = true
|
||||
position = Vector2(72, 65)
|
||||
scale = Vector2(1.24457, 1)
|
||||
texture = ExtResource("3_tykdc")
|
||||
|
||||
[node name="Darktree12" type="Sprite2D" parent="background"]
|
||||
z_index = -1
|
||||
y_sort_enabled = true
|
||||
position = Vector2(340, 79)
|
||||
scale = Vector2(0.66092, 1)
|
||||
texture = ExtResource("4_4u5mu")
|
||||
|
||||
[node name="Darktree13" type="Sprite2D" parent="background"]
|
||||
z_index = -1
|
||||
y_sort_enabled = true
|
||||
position = Vector2(647, 92)
|
||||
texture = ExtResource("5_y2pux")
|
||||
|
||||
[node name="Darktree14" type="Sprite2D" parent="background"]
|
||||
z_index = -1
|
||||
y_sort_enabled = true
|
||||
position = Vector2(899, 50)
|
||||
texture = ExtResource("6_5shat")
|
||||
|
||||
[node name="Darktree15" type="Sprite2D" parent="background"]
|
||||
z_index = -1
|
||||
y_sort_enabled = true
|
||||
position = Vector2(785, 30.5)
|
||||
scale = Vector2(1, 1.41197)
|
||||
texture = ExtResource("7_oyj6k")
|
||||
|
||||
[node name="Darktree16" type="Sprite2D" parent="background"]
|
||||
z_index = -1
|
||||
y_sort_enabled = true
|
||||
position = Vector2(510, 90)
|
||||
texture = ExtResource("8_1guf4")
|
||||
|
||||
[node name="Darktree17" type="Sprite2D" parent="background"]
|
||||
z_index = -1
|
||||
y_sort_enabled = true
|
||||
position = Vector2(398, 74)
|
||||
texture = ExtResource("9_viosu")
|
||||
|
||||
[node name="Darktree18" type="Sprite2D" parent="background"]
|
||||
z_index = -1
|
||||
y_sort_enabled = true
|
||||
position = Vector2(211, 40)
|
||||
texture = ExtResource("10_clutx")
|
||||
|
||||
[node name="foreground" type="Node2D" parent="."]
|
||||
position = Vector2(577, 365)
|
||||
scale = Vector2(3.64435, 0.128623)
|
||||
|
||||
[node name="Darktree19" type="Sprite2D" parent="foreground"]
|
||||
z_index = 2
|
||||
y_sort_enabled = true
|
||||
position = Vector2(-148.175, 1329.47)
|
||||
scale = Vector2(0.645939, 9.86782)
|
||||
texture = ExtResource("2_k41x3")
|
||||
|
||||
[node name="Darktree20" type="Sprite2D" parent="foreground"]
|
||||
z_index = 2
|
||||
y_sort_enabled = true
|
||||
position = Vector2(-92.472, 1049.58)
|
||||
scale = Vector2(0.372823, 11.4754)
|
||||
texture = ExtResource("3_tykdc")
|
||||
|
||||
[node name="Darktree21" type="Sprite2D" parent="foreground"]
|
||||
z_index = 2
|
||||
y_sort_enabled = true
|
||||
position = Vector2(-50.7635, 1438.31)
|
||||
scale = Vector2(0.313822, 9.20193)
|
||||
texture = ExtResource("4_4u5mu")
|
||||
|
||||
[node name="Darktree22" type="Sprite2D" parent="foreground"]
|
||||
z_index = 2
|
||||
y_sort_enabled = true
|
||||
position = Vector2(97.6169, 966)
|
||||
scale = Vector2(0.462093, 10.9798)
|
||||
texture = ExtResource("5_y2pux")
|
||||
|
||||
[node name="Darktree23" type="Sprite2D" parent="foreground"]
|
||||
z_index = 2
|
||||
y_sort_enabled = true
|
||||
position = Vector2(-6.03674, 1142.87)
|
||||
scale = Vector2(0.393303, 10.4205)
|
||||
texture = ExtResource("6_5shat")
|
||||
|
||||
[node name="Darktree24" type="Sprite2D" parent="foreground"]
|
||||
z_index = 2
|
||||
y_sort_enabled = true
|
||||
position = Vector2(30.1837, 919.352)
|
||||
scale = Vector2(0.359898, 13.0444)
|
||||
texture = ExtResource("7_oyj6k")
|
||||
|
||||
[node name="Darktree25" type="Sprite2D" parent="foreground"]
|
||||
z_index = 2
|
||||
y_sort_enabled = true
|
||||
position = Vector2(60.6419, 1321.69)
|
||||
scale = Vector2(0.394639, 10.7981)
|
||||
texture = ExtResource("8_1guf4")
|
||||
|
||||
[node name="Darktree26" type="Sprite2D" parent="foreground"]
|
||||
z_index = 2
|
||||
y_sort_enabled = true
|
||||
position = Vector2(152.016, 1531.61)
|
||||
scale = Vector2(0.384475, 10.3028)
|
||||
texture = ExtResource("9_viosu")
|
||||
|
||||
[node name="Darktree27" type="Sprite2D" parent="foreground"]
|
||||
z_index = 2
|
||||
y_sort_enabled = true
|
||||
position = Vector2(126.223, 855.211)
|
||||
scale = Vector2(0.274398, 10.5544)
|
||||
texture = ExtResource("10_clutx")
|
||||
|
||||
[node name="road" type="Sprite2D" parent="."]
|
||||
modulate = Color(0.368627, 0.368627, 0.368627, 0.898039)
|
||||
position = Vector2(577, 365)
|
||||
scale = Vector2(3.64435, 0.128623)
|
||||
texture = ExtResource("11_ovtse")
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,41 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://dwuwgb8cv7hcr"]
|
||||
|
||||
[ext_resource type="AudioStream" uid="uid://bviyapfbqgaac" path="res://audio/sfx/test/Variant1.wav" id="1_lrjii"]
|
||||
[ext_resource type="AudioStream" uid="uid://blqybxbdbamao" path="res://audio/sfx/test/Variant5.wav" id="1_otqyj"]
|
||||
[ext_resource type="AudioStream" uid="uid://b5w7d4a1jj2e1" path="res://audio/sfx/test/Variant2.wav" id="2_nhc1o"]
|
||||
[ext_resource type="AudioStream" uid="uid://cujq3507gplyq" path="res://audio/sfx/test/Variant3.wav" id="3_sqonn"]
|
||||
[ext_resource type="AudioStream" uid="uid://c3ui5n1nd67r5" path="res://audio/sfx/test/Variant4.wav" id="4_a3hjs"]
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_nwh3n"]
|
||||
random_pitch = 1.15
|
||||
streams_count = 5
|
||||
stream_0/stream = ExtResource("1_lrjii")
|
||||
stream_1/stream = ExtResource("2_nhc1o")
|
||||
stream_2/stream = ExtResource("3_sqonn")
|
||||
stream_3/stream = ExtResource("4_a3hjs")
|
||||
stream_4/stream = ExtResource("1_otqyj")
|
||||
|
||||
[node name="Node2D" type="Node2D"]
|
||||
|
||||
[node name="MultiRandom" type="Button" parent="."]
|
||||
offset_left = 695.0
|
||||
offset_top = 216.0
|
||||
offset_right = 992.0
|
||||
offset_bottom = 383.0
|
||||
text = "Press to make random Sound"
|
||||
|
||||
[node name="MultiRandomPlayer" type="AudioStreamPlayer" parent="MultiRandom"]
|
||||
stream = SubResource("AudioStreamRandomizer_nwh3n")
|
||||
|
||||
[node name="Single" type="Button" parent="."]
|
||||
offset_left = 117.0
|
||||
offset_top = 202.0
|
||||
offset_right = 414.0
|
||||
offset_bottom = 369.0
|
||||
text = "Press to make single Sound"
|
||||
|
||||
[node name="SinglePlayer" type="AudioStreamPlayer" parent="Single"]
|
||||
stream = ExtResource("1_otqyj")
|
||||
|
||||
[connection signal="pressed" from="MultiRandom" to="MultiRandom/MultiRandomPlayer" method="play"]
|
||||
[connection signal="pressed" from="Single" to="Single/SinglePlayer" method="play"]
|
||||
@@ -0,0 +1,96 @@
|
||||
[gd_scene load_steps=11 format=3 uid="uid://txjiuosyfv34"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bs02r12yhvse3" path="res://prefabs/Mushrooms/Mushroom1.tscn" id="1_xh6c0"]
|
||||
[ext_resource type="PackedScene" uid="uid://dblpcx0gljvxl" path="res://prefabs/Mushrooms/Mushroom5.tscn" id="2_qgko5"]
|
||||
[ext_resource type="PackedScene" uid="uid://u5slo32os2oo" path="res://prefabs/Mushrooms/Mushroom3.tscn" id="3_trccr"]
|
||||
[ext_resource type="PackedScene" uid="uid://cqnpqk1kg0hrc" path="res://prefabs/Mushrooms/Mushroom4.tscn" id="4_d1uua"]
|
||||
[ext_resource type="PackedScene" uid="uid://cmmfoduf37cd5" path="res://prefabs/Mushrooms/Mushroom6.tscn" id="5_cpvsb"]
|
||||
[ext_resource type="PackedScene" uid="uid://dhclggadclwm5" path="res://prefabs/Mushrooms/Mushroom7.tscn" id="6_r2ugk"]
|
||||
[ext_resource type="PackedScene" uid="uid://cn77bho6ohd18" path="res://prefabs/Mushrooms/Mushroom8.tscn" id="7_tcfv3"]
|
||||
[ext_resource type="PackedScene" uid="uid://bq58bkfjh4x7p" path="res://prefabs/Mushrooms/Mushroom9.tscn" id="8_4abfk"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_b685w"]
|
||||
colors = PackedColorArray(0.47451, 0.376471, 0.301961, 1, 0.40386, 0.317103, 0.251074, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_pr38i"]
|
||||
gradient = SubResource("Gradient_b685w")
|
||||
|
||||
[node name="World" type="Node2D"]
|
||||
z_as_relative = false
|
||||
y_sort_enabled = true
|
||||
|
||||
[node name="Background" type="Sprite2D" parent="."]
|
||||
z_index = -1
|
||||
z_as_relative = false
|
||||
y_sort_enabled = true
|
||||
position = Vector2(0, -2)
|
||||
rotation = 1.5708
|
||||
scale = Vector2(20.7709, 5230.99)
|
||||
texture = SubResource("GradientTexture1D_pr38i")
|
||||
|
||||
[node name="Mushroom1" parent="." instance=ExtResource("1_xh6c0")]
|
||||
position = Vector2(423, -26)
|
||||
|
||||
[node name="Mushroom2" parent="." instance=ExtResource("2_qgko5")]
|
||||
position = Vector2(124, -257)
|
||||
|
||||
[node name="Mushroom18" parent="." instance=ExtResource("2_qgko5")]
|
||||
position = Vector2(217, 107)
|
||||
|
||||
[node name="Mushroom3" parent="." instance=ExtResource("3_trccr")]
|
||||
position = Vector2(-35, -190)
|
||||
|
||||
[node name="Mushroom10" parent="." instance=ExtResource("3_trccr")]
|
||||
position = Vector2(33, -214)
|
||||
|
||||
[node name="Mushroom11" parent="." instance=ExtResource("3_trccr")]
|
||||
position = Vector2(-3.00001, -266)
|
||||
rotation = 0.091293
|
||||
|
||||
[node name="Mushroom4" parent="." instance=ExtResource("4_d1uua")]
|
||||
position = Vector2(200, -2)
|
||||
|
||||
[node name="Mushroom19" parent="." instance=ExtResource("4_d1uua")]
|
||||
position = Vector2(337, -53)
|
||||
|
||||
[node name="Mushroom5" parent="." instance=ExtResource("2_qgko5")]
|
||||
position = Vector2(206, -377)
|
||||
|
||||
[node name="Mushroom12" parent="." instance=ExtResource("2_qgko5")]
|
||||
position = Vector2(308, -306)
|
||||
|
||||
[node name="Mushroom6" parent="." instance=ExtResource("5_cpvsb")]
|
||||
position = Vector2(81, -233)
|
||||
|
||||
[node name="Mushroom21" parent="." instance=ExtResource("5_cpvsb")]
|
||||
position = Vector2(228, 23)
|
||||
|
||||
[node name="Mushroom13" parent="." instance=ExtResource("5_cpvsb")]
|
||||
position = Vector2(454, -64)
|
||||
|
||||
[node name="Mushroom7" parent="." instance=ExtResource("6_r2ugk")]
|
||||
position = Vector2(142, -288)
|
||||
|
||||
[node name="Mushroom20" parent="." instance=ExtResource("6_r2ugk")]
|
||||
position = Vector2(563, -152)
|
||||
|
||||
[node name="Mushroom8" parent="." instance=ExtResource("7_tcfv3")]
|
||||
position = Vector2(512, -88)
|
||||
|
||||
[node name="Mushroom16" parent="." instance=ExtResource("7_tcfv3")]
|
||||
position = Vector2(572, -133)
|
||||
|
||||
[node name="Mushroom17" parent="." instance=ExtResource("7_tcfv3")]
|
||||
position = Vector2(389, -112)
|
||||
|
||||
[node name="Mushroom9" parent="." instance=ExtResource("8_4abfk")]
|
||||
position = Vector2(422, -113)
|
||||
rotation = 0.261799
|
||||
|
||||
[node name="Mushroom14" parent="." instance=ExtResource("8_4abfk")]
|
||||
position = Vector2(498, -138)
|
||||
rotation = 0.261799
|
||||
|
||||
[node name="Mushroom15" parent="." instance=ExtResource("8_4abfk")]
|
||||
position = Vector2(501, -231)
|
||||
rotation = -0.261799
|
||||
Reference in New Issue
Block a user