mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-15 22:50:20 +02:00
ai adaptation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=12 format=2]
|
||||
[gd_scene load_steps=16 format=2]
|
||||
|
||||
[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://World.gd" type="Script" id=2]
|
||||
@@ -8,10 +8,15 @@
|
||||
[ext_resource path="res://Menus/DialogueBox/DialogueBox.tscn" type="PackedScene" id=6]
|
||||
[ext_resource path="res://Objects/Torch/Torch.tscn" type="PackedScene" id=7]
|
||||
[ext_resource path="res://Objects/Barrel/Barrel.tscn" type="PackedScene" id=8]
|
||||
[ext_resource path="res://Boss/Minion.tscn" type="PackedScene" id=9]
|
||||
[ext_resource path="res://Objects/Bonfire/Bonfire.tscn" type="PackedScene" id=10]
|
||||
[ext_resource path="res://Objects/Slime/Slime.tscn" type="PackedScene" id=11]
|
||||
[ext_resource path="res://Objects/Traps/Sting.tscn" type="PackedScene" id=12]
|
||||
[ext_resource path="res://Boss/Boss_template.tscn" type="PackedScene" id=17]
|
||||
[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 )
|
||||
|
||||
@@ -26,7 +31,7 @@ position = Vector2( 16, 16 )
|
||||
tile_set = ExtResource( 3 )
|
||||
cell_size = Vector2( 32, 32 )
|
||||
format = 1
|
||||
tile_data = PoolIntArray( -131059, 47, 0, -131058, 47, 2, -1, 47, 4, -65536, 47, 196609, -65535, 47, 196609, -65534, 47, 196609, -65533, 47, 196609, -65532, 47, 196609, -65531, 47, 196609, -65530, 47, 8, -65529, 47, 196609, -65528, 47, 8, -65527, 47, 196609, -65526, 47, 196609, -65525, 47, 196609, -65524, 47, 196609, -65523, 47, 196614, -65522, 47, 196618, -65521, 47, 196610, 65535, 47, 65539, 6, 47, 131075, 8, 47, 131075, 14, 47, 65539, 131071, 47, 65539, 65541, 47, 196611, 65550, 47, 65539, 196607, 47, 65539, 131075, 47, 196608, 131076, 47, 196610, 131086, 47, 65539, 262143, 47, 65539, 196614, 47, 196611, 196622, 47, 65539, 327679, 47, 65539, 262147, 47, 196611, 262149, 47, 196611, 262158, 47, 65539, 393215, 47, 65539, 327684, 47, 196611, 327688, 47, 196611, 327694, 47, 65539, 458751, 47, 65539, 393221, 47, 3, 393225, 47, 3, 393230, 47, 65539, 524287, 47, 196612, 458752, 47, 196609, 458753, 47, 196609, 458754, 47, 196609, 458755, 47, 196609, 458756, 47, 196609, 458757, 47, 196616, 458758, 47, 196609, 458759, 47, 196609, 458760, 47, 196609, 458761, 47, 196616, 458762, 47, 196609, 458763, 47, 196609, 458764, 47, 196609, 458765, 47, 196609, 458766, 47, 196615 )
|
||||
tile_data = PoolIntArray( -131059, 47, 0, -131058, 47, 2, -1, 47, 4, -65536, 47, 196609, -65535, 47, 196609, -65534, 47, 196609, -65533, 47, 196609, -65532, 47, 196609, -65531, 47, 196609, -65530, 47, 8, -65529, 47, 196609, -65528, 47, 8, -65527, 47, 196609, -65526, 47, 196609, -65525, 47, 196609, -65524, 47, 196609, -65523, 47, 196614, -65522, 47, 196618, -65521, 47, 196610, 65535, 47, 65539, 6, 47, 131075, 8, 47, 131075, 14, 47, 65539, 131071, 47, 65539, 65541, 47, 196611, 65550, 47, 65539, 196607, 47, 65539, 131075, 47, 196608, 131076, 47, 196610, 131086, 47, 65539, 262143, 47, 65539, 196614, 47, 196611, 196622, 47, 65539, 327679, 47, 65539, 262147, 47, 196611, 262149, 47, 196611, 262158, 47, 65539, 393215, 47, 65539, 327684, 47, 196611, 327694, 47, 65539, 458751, 47, 65539, 393221, 47, 3, 393230, 47, 65539, 524287, 47, 196612, 458752, 47, 196609, 458753, 47, 196609, 458754, 47, 196609, 458755, 47, 196609, 458756, 47, 196609, 458757, 47, 196616, 458758, 47, 196609, 458759, 47, 196609, 458760, 47, 196609, 458761, 47, 196609, 458762, 47, 196609, 458763, 47, 196609, 458764, 47, 196609, 458765, 47, 196609, 458766, 47, 196615 )
|
||||
__meta__ = {
|
||||
"_edit_group_": true,
|
||||
"_edit_lock_": true
|
||||
@@ -36,24 +41,53 @@ __meta__ = {
|
||||
position = Vector2( 152, 120 )
|
||||
|
||||
[node name="Player" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( 200, 8 )
|
||||
position = Vector2( 136, 112 )
|
||||
scale = Vector2( 2, 2 )
|
||||
ROLL_SPEED = 140
|
||||
FRICTION = 200
|
||||
|
||||
[node name="AnimationTree" parent="YSort/Player" index="4"]
|
||||
parameters/playback = SubResource( 1 )
|
||||
|
||||
[node name="Stats" parent="YSort/Player" index="9"]
|
||||
max_health = 20
|
||||
|
||||
[node name="Boss_template" parent="YSort" instance=ExtResource( 17 )]
|
||||
position = Vector2( -56, 8 )
|
||||
debug = true
|
||||
|
||||
[node name="Bonfire" parent="YSort" instance=ExtResource( 10 )]
|
||||
position = Vector2( 288, 104 )
|
||||
|
||||
[node name="Torch" parent="YSort" instance=ExtResource( 7 )]
|
||||
position = Vector2( 264, -24 )
|
||||
|
||||
[node name="Barrel" parent="YSort" instance=ExtResource( 8 )]
|
||||
position = Vector2( 40, 8 )
|
||||
|
||||
[node name="Torch" parent="YSort" instance=ExtResource( 7 )]
|
||||
position = Vector2( -112, -72 )
|
||||
spawnRate = 2.039
|
||||
|
||||
[node name="Minion" parent="YSort" instance=ExtResource( 9 )]
|
||||
position = Vector2( 240, -40 )
|
||||
|
||||
[node name="Minion2" parent="YSort" instance=ExtResource( 9 )]
|
||||
position = Vector2( 96, -80 )
|
||||
|
||||
[node name="Slime" parent="YSort" instance=ExtResource( 11 )]
|
||||
position = Vector2( 104, 104 )
|
||||
|
||||
[node name="Slime2" parent="YSort" instance=ExtResource( 11 )]
|
||||
position = Vector2( 168, 104 )
|
||||
|
||||
[node name="Slime3" parent="YSort" instance=ExtResource( 11 )]
|
||||
position = Vector2( 136, 72 )
|
||||
|
||||
[node name="Slime4" parent="YSort" instance=ExtResource( 11 )]
|
||||
position = Vector2( 168, 72 )
|
||||
|
||||
[node name="Slime5" parent="YSort" instance=ExtResource( 11 )]
|
||||
position = Vector2( 104, 72 )
|
||||
|
||||
[node name="Sting" parent="YSort" instance=ExtResource( 12 )]
|
||||
position = Vector2( 136, 48 )
|
||||
|
||||
[node name="Grid" parent="." instance=ExtResource( 18 )]
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
@@ -62,6 +96,10 @@ position = Vector2( 40, 8 )
|
||||
visible = false
|
||||
|
||||
[node name="DragNDropUI" parent="CanvasLayer" instance=ExtResource( 5 )]
|
||||
margin_left = 0.0
|
||||
margin_right = 0.0
|
||||
ObjectParent = NodePath("../..")
|
||||
|
||||
[editable path="YSort/Player"]
|
||||
|
||||
[editable path="YSort/Bonfire"]
|
||||
|
||||
Reference in New Issue
Block a user