mirror of
https://github.com/Relintai/godot-steering-ai-framework.git
synced 2024-12-24 05:37:15 +01:00
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
|
[gd_scene load_steps=5 format=2]
|
||
|
|
||
|
[ext_resource path="res://assets/sprites/triangle.png" type="Texture" 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]
|
||
|
|
||
|
[node name="QuickStartDemo" type="Node2D"]
|
||
|
|
||
|
[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="Sprite" type="Sprite" parent="Player"]
|
||
|
modulate = Color( 0.968627, 0.188235, 0.0352941, 1 )
|
||
|
texture = ExtResource( 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="Sprite" type="Sprite" parent="Agent"]
|
||
|
modulate = Color( 0.478431, 0.87451, 0.0784314, 1 )
|
||
|
texture = ExtResource( 1 )
|
||
|
|
||
|
[node name="Bullets" type="Node2D" parent="."]
|