Changed resource spawning
added interact functionality temp added zoom with scroll wheel
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
[gd_resource type="Resource" script_class="GameResource" load_steps=2 format=3 uid="uid://bpjj0x7jr1k6u"]
|
||||
[gd_resource type="Resource" script_class="GameResource" load_steps=3 format=3 uid="uid://bpjj0x7jr1k6u"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/game_resource.gd" id="1_4maxk"]
|
||||
[ext_resource type="Resource" uid="uid://bsrqp68lxf2f" path="res://data/game_resources/carbon/spawn_pattern_close.tres" id="2_eyt7m"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_4maxk")
|
||||
atlas_location = Vector2i(5, 3)
|
||||
spawn_region_min = -0.4
|
||||
spawn_region_max = -0.3
|
||||
pickup_value = 20
|
||||
name = "Carbon"
|
||||
spawn_patterns = [ExtResource("2_eyt7m")]
|
||||
11
data/game_resources/carbon/spawn_pattern_close.tres
Normal file
11
data/game_resources/carbon/spawn_pattern_close.tres
Normal file
@@ -0,0 +1,11 @@
|
||||
[gd_resource type="Resource" script_class="SpawnPattern" load_steps=2 format=3 uid="uid://bsrqp68lxf2f"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/spawn_pattern.gd" id="1_pksks"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_pksks")
|
||||
min_distance = 8
|
||||
max_distance = 20
|
||||
min_spread = 15
|
||||
quantity = 4
|
||||
cluster_size = 12
|
||||
11
data/game_resources/gem/gem_resource.tres
Normal file
11
data/game_resources/gem/gem_resource.tres
Normal file
@@ -0,0 +1,11 @@
|
||||
[gd_resource type="Resource" script_class="GameResource" load_steps=3 format=3 uid="uid://dr00rd4f42jqe"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/game_resource.gd" id="1_tfoa4"]
|
||||
[ext_resource type="Resource" uid="uid://0crnt5nbhhlv" path="res://data/game_resources/gem/spawn_pattern_close.tres" id="2_n3fuo"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_tfoa4")
|
||||
atlas_location = Vector2i(5, 6)
|
||||
pickup_value = 10
|
||||
name = "Gem"
|
||||
spawn_patterns = Array[Resource("res://scripts/spawn_pattern.gd")]([ExtResource("2_n3fuo")])
|
||||
11
data/game_resources/gem/spawn_pattern_close.tres
Normal file
11
data/game_resources/gem/spawn_pattern_close.tres
Normal file
@@ -0,0 +1,11 @@
|
||||
[gd_resource type="Resource" script_class="SpawnPattern" load_steps=2 format=3 uid="uid://0crnt5nbhhlv"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/spawn_pattern.gd" id="1_bi4rm"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_bi4rm")
|
||||
min_distance = 16
|
||||
max_distance = 40
|
||||
min_spread = 30
|
||||
quantity = 4
|
||||
cluster_size = 6
|
||||
@@ -1,11 +0,0 @@
|
||||
[gd_resource type="Resource" script_class="GameResource" load_steps=2 format=3 uid="uid://dr00rd4f42jqe"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/game_resource.gd" id="1_tfoa4"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_tfoa4")
|
||||
atlas_location = Vector2i(5, 6)
|
||||
spawn_region_min = 0.4
|
||||
spawn_region_max = 0.8
|
||||
pickup_value = 10
|
||||
name = "Gem"
|
||||
Reference in New Issue
Block a user