mirror of
https://github.com/Relintai/godot-steering-ai-framework.git
synced 2024-11-14 04:57:19 +01:00
60 lines
1.8 KiB
Plaintext
60 lines
1.8 KiB
Plaintext
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://demos/Arrive/Arriver.gd" type="Script" id=1]
|
|
[ext_resource path="res://assets/theme/gdquest.theme" type="Theme" id=2]
|
|
[ext_resource path="res://demos/Arrive/ArriveDemo.gd" type="Script" id=3]
|
|
[ext_resource path="res://assets/sprites/background.png" type="Texture" 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="Node2D"]
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="BackgroudLayer" type="CanvasLayer" parent="."]
|
|
layer = -1
|
|
|
|
[node name="Background" type="Sprite" parent="BackgroudLayer"]
|
|
texture = ExtResource( 5 )
|
|
centered = false
|
|
|
|
[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="GUI" type="PanelContainer" parent="."]
|
|
anchor_right = 1.0
|
|
margin_right = 1024.0
|
|
margin_bottom = 87.0
|
|
rect_min_size = Vector2( 1024, 0 )
|
|
theme = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="GUI"]
|
|
margin_right = 1024.0
|
|
margin_bottom = 87.0
|
|
|
|
[node name="RichTextLabel" type="RichTextLabel" parent="GUI/MarginContainer"]
|
|
margin_left = 16.0
|
|
margin_top = 16.0
|
|
margin_right = 1008.0
|
|
margin_bottom = 71.0
|
|
rect_min_size = Vector2( 0, 55 )
|
|
bbcode_enabled = true
|
|
bbcode_text = "Arrive Demo
|
|
Mouse click to make the [color=lime]green \"Player\"[/color] move to the [color=fuchsia]purple target[/color]"
|
|
text = "Arrive Demo
|
|
Mouse click to make the green \"Player\" move to the purple target"
|
|
scroll_active = false
|