sunoku/scenes/enemies/grunt/grunt.tscn

24 lines
825 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://bnufqnypubedj"]
[ext_resource type="Script" uid="uid://do2o6v238umse" path="res://scenes/enemies/enemy.gd" id="1_y73h6"]
[ext_resource type="Texture2D" uid="uid://nj5tjjv0a6v8" path="res://scenes/enemies/grunt/grunt.png" id="2_668pk"]
[sub_resource type="CircleShape2D" id="CircleShape2D_cahuy"]
[node name="Grunt" type="Area2D"]
script = ExtResource("1_y73h6")
[node name="NavigationAgent2D" type="NavigationAgent2D" parent="."]
avoidance_enabled = true
max_speed = 50.0
[node name="Grunt" type="Sprite2D" parent="."]
texture = ExtResource("2_668pk")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_cahuy")
[node name="NavigationObstacle2D" type="NavigationObstacle2D" parent="."]
radius = 10.0
avoidance_enabled = false