Changed resource spawning
added interact functionality temp added zoom with scroll wheel
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user