basic ECS spawner
This commit is contained in:
25
GECS/systems/default_systems.tscn
Normal file
25
GECS/systems/default_systems.tscn
Normal file
@@ -0,0 +1,25 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://b2v1bngfh5te"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b3vi2ingux88g" path="res://addons/gecs/lib/system_group.gd" id="1_sk1vy"]
|
||||
[ext_resource type="Script" uid="uid://dpglt5gt5ijrn" path="res://GECS/systems/s_movement.gd" id="2_aqda8"]
|
||||
[ext_resource type="Script" uid="uid://cb2kev6dsctfu" path="res://GECS/systems/s_spawner.gd" id="2_hdbau"]
|
||||
|
||||
[node name="Systems" type="Node"]
|
||||
|
||||
[node name="gameplay" type="Node" parent="."]
|
||||
script = ExtResource("1_sk1vy")
|
||||
metadata/_custom_type_script = "uid://b3vi2ingux88g"
|
||||
|
||||
[node name="SpawnSystem" type="Node" parent="gameplay"]
|
||||
script = ExtResource("2_hdbau")
|
||||
group = &"gameplay"
|
||||
metadata/_custom_type_script = "uid://cb2kev6dsctfu"
|
||||
|
||||
[node name="physics" type="Node" parent="."]
|
||||
script = ExtResource("1_sk1vy")
|
||||
metadata/_custom_type_script = "uid://b3vi2ingux88g"
|
||||
|
||||
[node name="MovementSystem" type="Node" parent="physics"]
|
||||
script = ExtResource("2_aqda8")
|
||||
group = &"physics"
|
||||
metadata/_custom_type_script = "uid://dpglt5gt5ijrn"
|
||||
Reference in New Issue
Block a user