mirror of
https://github.com/Relintai/godot-steering-ai-framework.git
synced 2024-12-28 09:47:16 +01:00
50 lines
1.7 KiB
Plaintext
50 lines
1.7 KiB
Plaintext
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://demos/GroupBehaviors/Member.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://demos/GroupBehaviors/Spawner.gd" type="Script" id=2]
|
|
[ext_resource path="res://demos/GroupBehaviors/GroupBehaviorsDemo.gd" type="Script" id=3]
|
|
[ext_resource path="res://assets/theme/gdquest.theme" type="Theme" id=4]
|
|
[ext_resource path="res://assets/sprites/background.png" type="Texture" id=5]
|
|
|
|
[node name="GroupBehaviorsDemo" type="Node2D"]
|
|
script = ExtResource( 3 )
|
|
cohesion_strength = 0.2
|
|
separation_strength = 4.5
|
|
|
|
[node name="BackgroudLayer" type="CanvasLayer" parent="."]
|
|
layer = -1
|
|
|
|
[node name="Background" type="Sprite" parent="BackgroudLayer"]
|
|
texture = ExtResource( 5 )
|
|
centered = false
|
|
|
|
[node name="Spawner" type="Node2D" parent="."]
|
|
position = Vector2( 512, 300 )
|
|
script = ExtResource( 2 )
|
|
member = ExtResource( 1 )
|
|
|
|
[node name="GUI" type="PanelContainer" parent="."]
|
|
margin_right = 1024.0
|
|
margin_bottom = 14.0
|
|
theme = ExtResource( 4 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="GUI"]
|
|
margin_right = 1024.0
|
|
margin_bottom = 116.0
|
|
|
|
[node name="RichTextLabel" type="RichTextLabel" parent="GUI/MarginContainer"]
|
|
margin_left = 16.0
|
|
margin_top = 16.0
|
|
margin_right = 1008.0
|
|
margin_bottom = 100.0
|
|
rect_min_size = Vector2( 0, 84 )
|
|
bbcode_enabled = true
|
|
bbcode_text = "Group Behavior Demo
|
|
Each of the \"Agents\" are both attempting to stay separated from each other but within reach of their nearest group's center of mass."
|
|
text = "Group Behavior Demo
|
|
Each of the \"Agents\" are both attempting to stay separated from each other but within reach of their nearest group's center of mass."
|
|
scroll_active = false
|