godot-steering-ai-framework/project/demos/Quickstart/QuickStartDemo.tscn
Răzvan C. Rădulescu 3f58cc4921 Finish look and feel of the toy demos
Based on the 2D Beginner Project look, these demos now have the colorful
GDQuest "theme" to them.

This had the effect of removing the circle and triangle/ship sprites as
everything is drawn in Godot directly.
2020-02-04 12:12:51 +02:00

59 lines
1.9 KiB
Plaintext

[gd_scene load_steps=6 format=2]
[ext_resource path="res://demos/Utils/Line2DDraw.gd" type="Script" id=1]
[ext_resource path="res://demos/Quickstart/Agent.gd" type="Script" id=2]
[ext_resource path="res://demos/Quickstart/Player.gd" type="Script" id=3]
[ext_resource path="res://demos/Quickstart/Bullet.tscn" type="PackedScene" id=4]
[ext_resource path="res://assets/sprites/background.png" type="Texture" id=5]
[node name="QuickStartDemo" type="Node2D"]
[node name="BackgroudLayer" type="CanvasLayer" parent="."]
layer = -1
[node name="Background" type="Sprite" parent="BackgroudLayer"]
texture = ExtResource( 5 )
centered = false
[node name="Player" type="KinematicBody2D" parent="." groups=[
"Player",
]]
position = Vector2( 235.469, 449.34 )
rotation = 1.5708
collision_mask = 2
script = ExtResource( 3 )
bullet = ExtResource( 4 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Player"]
polygon = PoolVector2Array( 0, -32, -24, 32, 24, 32 )
[node name="Line2D" type="Line2D" parent="Player"]
points = PoolVector2Array( 0, 32, 24, 32, 0, -32, -24, 32, 0, 32 )
width = 8.0
default_color = Color( 0.560784, 0.870588, 0.364706, 1 )
joint_mode = 2
antialiased = true
script = ExtResource( 1 )
inner_color = Color( 0.235294, 0.639216, 0.439216, 1 )
[node name="Agent" type="KinematicBody2D" parent="."]
position = Vector2( 807.798, 141.773 )
rotation = 1.5708
collision_layer = 2
collision_mask = 5
script = ExtResource( 2 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Agent"]
polygon = PoolVector2Array( 0, -32, -24, 32, 24, 32 )
[node name="Line2D" type="Line2D" parent="Agent"]
points = PoolVector2Array( 0, 32, 24, 32, 0, -32, -24, 32, 0, 32 )
width = 8.0
default_color = Color( 1, 0.709804, 0.439216, 1 )
joint_mode = 2
antialiased = true
script = ExtResource( 1 )
inner_color = Color( 0.890196, 0.411765, 0.337255, 1 )
[node name="Bullets" type="Node2D" parent="."]