[gd_scene load_steps=9 format=2] [ext_resource path="res://demos/Face/Turret.gd" type="Script" id=1] [ext_resource path="res://demos/Face/FaceDemo.gd" type="Script" id=2] [ext_resource path="res://demos/Face/Player.gd" type="Script" id=3] [ext_resource path="res://assets/sprites/large_circle.png" type="Texture" id=4] [ext_resource path="res://assets/sprites/small_circle.png" type="Texture" id=5] [ext_resource path="res://assets/theme/gdquest.theme" type="Theme" id=6] [sub_resource type="CircleShape2D" id=1] radius = 16.0 [sub_resource type="CircleShape2D" id=2] radius = 32.0 [node name="FaceDemo" type="Node2D"] script = ExtResource( 2 ) __meta__ = { "_editor_description_": "A demo showing the usage of the Face steering behavior." } [node name="Player" type="KinematicBody2D" parent="."] position = Vector2( 512, 450 ) script = ExtResource( 3 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="Player"] shape = SubResource( 1 ) [node name="Sprite" type="Sprite" parent="Player"] modulate = Color( 0.945098, 0.215686, 0.0705882, 1 ) texture = ExtResource( 5 ) [node name="Turret" type="KinematicBody2D" parent="."] position = Vector2( 512, 286.288 ) script = ExtResource( 1 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="Turret"] shape = SubResource( 2 ) [node name="Sprite" type="Sprite" parent="Turret"] modulate = Color( 0.137255, 0.866667, 0.647059, 1 ) texture = ExtResource( 4 ) [node name="GUI" type="PanelContainer" parent="."] margin_right = 1024.0 margin_bottom = 14.0 theme = ExtResource( 6 ) __meta__ = { "_edit_use_anchors_": false } [node name="MarginContainer" type="MarginContainer" parent="GUI"] margin_right = 1024.0 margin_bottom = 87.0 [node name="Label" type="Label" parent="GUI/MarginContainer"] margin_left = 16.0 margin_top = 16.0 margin_right = 1008.0 margin_bottom = 71.0 text = "Face Demo Move the player around with WASD and notice the turret orient itself"