mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-12 21:42:23 +02:00
AI can hit
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=11 format=2]
|
||||
[gd_scene load_steps=12 format=2]
|
||||
|
||||
[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://World.gd" type="Script" id=2]
|
||||
@@ -11,6 +11,8 @@
|
||||
[ext_resource path="res://Objects/Bonfire/Bonfire.tscn" type="PackedScene" id=10]
|
||||
[ext_resource path="res://Maps/Grid.tscn" type="PackedScene" id=18]
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachinePlayback" id=1]
|
||||
|
||||
[node name="World" type="Node2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
@@ -22,7 +24,7 @@ region_enabled = true
|
||||
region_rect = Rect2( 0, 0, 1280, 720 )
|
||||
|
||||
[node name="Background" parent="." instance=ExtResource( 7 )]
|
||||
frame = 51
|
||||
frame = 6
|
||||
|
||||
[node name="FloorTileMap" type="TileMap" parent="."]
|
||||
position = Vector2( 16, 16 )
|
||||
@@ -50,6 +52,14 @@ FRICTION = 200
|
||||
[node name="SlimeBoss" parent="YSort" instance=ExtResource( 8 )]
|
||||
position = Vector2( 104, 80 )
|
||||
|
||||
[node name="Hurtbox" parent="YSort/SlimeBoss" index="5" groups=[
|
||||
"HittableByPlayer",
|
||||
]]
|
||||
collision_mask = 129
|
||||
|
||||
[node name="AnimationTree" parent="YSort/SlimeBoss" index="10"]
|
||||
parameters/playback = SubResource( 1 )
|
||||
|
||||
[node name="Grid" parent="." instance=ExtResource( 18 )]
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
@@ -58,3 +68,7 @@ position = Vector2( 104, 80 )
|
||||
visible = false
|
||||
|
||||
[node name="DragNDropUI" parent="CanvasLayer" instance=ExtResource( 5 )]
|
||||
anchor_top = -0.00171594
|
||||
anchor_bottom = 0.998284
|
||||
|
||||
[editable path="YSort/SlimeBoss"]
|
||||
|
||||
Reference in New Issue
Block a user