godot-steering-ai-framework/project/demos/Arrive/ArriveDemo.tscn
2020-02-08 18:19:04 -05:00

36 lines
1.3 KiB
Plaintext

[gd_scene load_steps=8 format=2]
[ext_resource path="res://demos/Arrive/Arriver.gd" type="Script" id=1]
[ext_resource path="res://demos/Utils/DemoInterface.tscn" type="PackedScene" id=2]
[ext_resource path="res://demos/Arrive/ArriveDemo.gd" type="Script" id=3]
[ext_resource path="res://demos/Utils/BackgroudLayer.tscn" type="PackedScene" id=4]
[ext_resource path="res://demos/Arrive/TargetDrawer.gd" type="Script" id=5]
[ext_resource path="res://demos/Utils/CircleDraw.gd" type="Script" id=6]
[sub_resource type="CircleShape2D" id=1]
radius = 16.0
[node name="ArriveDemo" type="Node"]
script = ExtResource( 3 )
[node name="BackgroudLayer" parent="." instance=ExtResource( 4 )]
[node name="Arriver" type="KinematicBody2D" parent="."]
show_behind_parent = true
position = Vector2( 512, 300 )
script = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Arriver"]
shape = SubResource( 1 )
script = ExtResource( 6 )
inner_color = Color( 0.235294, 0.639216, 0.439216, 1 )
outer_color = Color( 0.560784, 0.870588, 0.364706, 1 )
stroke = 4.0
[node name="TargetDrawer" type="Node2D" parent="."]
script = ExtResource( 5 )
[node name="DemoInterface" parent="." instance=ExtResource( 2 )]
text_bbcode = "Arrive Demo
Mouse click to make the [color=lime]green \"Player\"[/color] move to the [color=fuchsia]purple target[/color]"