mirror of
https://github.com/Relintai/godot-steering-ai-framework.git
synced 2024-11-14 04:57:19 +01:00
0e95c24c7f
Changed text boxes to sliders to improve usability. This also involved adding some simple graphics, since the _draw method is not anti-aliased and doesn't look great.
20 lines
574 B
Plaintext
20 lines
574 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://demos/seek_and_flee/Seeker.gd" type="Script" id=1]
|
|
[ext_resource path="res://assets/sprites/small_circle.png" type="Texture" id=2]
|
|
|
|
[sub_resource type="CircleShape2D" id=1]
|
|
radius = 16.0
|
|
|
|
[node name="Seeker" type="KinematicBody2D"]
|
|
collision_layer = 4
|
|
collision_mask = 2
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
modulate = Color( 0.113725, 0.635294, 0.94902, 1 )
|
|
texture = ExtResource( 2 )
|