mirror of
https://github.com/Relintai/godot-steering-ai-framework.git
synced 2024-12-24 05:37:15 +01:00
1a37b2bee0
Used `var variable := 0.0` as discussed in the Godot issue, instead of `var variable: = 0.0`. Mostly these are minor/cosmetic changes, but I've also reorganized the folder structure (naming of folders) to reflect our guidelines, plus made some minor changes to the demo codes. Still work in progress.
21 lines
570 B
Plaintext
21 lines
570 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://demos/SeekFlee/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 )
|