mirror of
https://github.com/Relintai/godot-steering-ai-framework.git
synced 2024-12-28 09:47:16 +01:00
25 lines
682 B
Plaintext
25 lines
682 B
Plaintext
|
[gd_scene load_steps=4 format=2]
|
||
|
|
||
|
[ext_resource path="res://assets/sprites/small_circle.png" type="Texture" id=1]
|
||
|
[ext_resource path="res://demos/Quickstart/Bullet.gd" type="Script" id=2]
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id=1]
|
||
|
radius = 4.0
|
||
|
|
||
|
[node name="Bullet" type="KinematicBody2D"]
|
||
|
collision_layer = 4
|
||
|
collision_mask = 2
|
||
|
script = ExtResource( 2 )
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
shape = SubResource( 1 )
|
||
|
|
||
|
[node name="Sprite" type="Sprite" parent="."]
|
||
|
modulate = Color( 0.141176, 0.188235, 0.901961, 1 )
|
||
|
scale = Vector2( 0.25, 0.25 )
|
||
|
texture = ExtResource( 1 )
|
||
|
|
||
|
[node name="Lifetime" type="Timer" parent="."]
|
||
|
process_mode = 0
|
||
|
wait_time = 3.0
|