From 2763b57b403fcf5d1b0b31f20a58a11d062ec08f Mon Sep 17 00:00:00 2001 From: Felipe M Date: Sat, 22 May 2021 09:12:50 +0200 Subject: [PATCH] Boss enemy --- metroidvania/Scenes/Enemies/BossEnemy.tscn | 178 +++++++++++++++++++++ 1 file changed, 178 insertions(+) create mode 100644 metroidvania/Scenes/Enemies/BossEnemy.tscn diff --git a/metroidvania/Scenes/Enemies/BossEnemy.tscn b/metroidvania/Scenes/Enemies/BossEnemy.tscn new file mode 100644 index 0000000..117d111 --- /dev/null +++ b/metroidvania/Scenes/Enemies/BossEnemy.tscn @@ -0,0 +1,178 @@ +[gd_scene load_steps=9 format=2] + +[ext_resource path="res://Scenes/Enemies/Enemy.tscn" type="PackedScene" id=1] +[ext_resource path="res://Assets/Enemies/BossEnemyHead.png" type="Texture" id=2] +[ext_resource path="res://Assets/Enemies/BossEnemyBody.png" type="Texture" id=3] +[ext_resource path="res://Assets/Enemies/BossEnemyWing.png" type="Texture" id=4] +[ext_resource path="res://Assets/Enemies/BossEnemy.png" type="Texture" id=5] +[ext_resource path="res://Assets/Enemies/BossEnemyLeg1.png" type="Texture" id=6] +[ext_resource path="res://Assets/Enemies/BossEnemyLeg2.png" type="Texture" id=7] +[ext_resource path="res://Assets/Enemies/BossEnemyLeg3.png" type="Texture" id=8] + +[node name="BossEnemy" instance=ExtResource( 1 )] + +[node name="OnionLayer" type="Sprite" parent="." index="0"] +modulate = Color( 1, 1, 1, 0.113725 ) +position = Vector2( 0, -11 ) +texture = ExtResource( 5 ) +__meta__ = { +"_edit_lock_": true +} + +[node name="Sprite" parent="." index="1"] +texture = ExtResource( 3 ) + +[node name="LeftWing" type="Sprite" parent="Sprite" index="0"] +show_behind_parent = true +position = Vector2( -8, -19 ) +texture = ExtResource( 4 ) +offset = Vector2( -21, -5 ) + +[node name="RightWing" type="Sprite" parent="Sprite" index="1"] +show_behind_parent = true +position = Vector2( 50, -19 ) +rotation = 3.14159 +scale = Vector2( 1, -1 ) +texture = ExtResource( 4 ) +offset = Vector2( 21, -5 ) + +[node name="LeftUpperLeg" type="Sprite" parent="Sprite" index="2"] +show_behind_parent = true +position = Vector2( -12, -12 ) +texture = ExtResource( 6 ) +offset = Vector2( -4, 1 ) +__meta__ = { +"_edit_ik_": true +} + +[node name="MiddleSegment" type="Sprite" parent="Sprite/LeftUpperLeg" index="0"] +position = Vector2( -9, 3 ) +texture = ExtResource( 7 ) +offset = Vector2( -2, 4 ) +__meta__ = { +"_edit_bone_": true +} + +[node name="EndSegment" type="Sprite" parent="Sprite/LeftUpperLeg/MiddleSegment" index="0"] +position = Vector2( -6, 10 ) +texture = ExtResource( 8 ) +offset = Vector2( 1, 2 ) +__meta__ = { +"_edit_bone_": true +} + +[node name="EndPoint" type="Position2D" parent="Sprite/LeftUpperLeg/MiddleSegment/EndSegment" index="0"] +position = Vector2( 3, 5 ) +__meta__ = { +"_edit_bone_": true +} + +[node name="LeftLowerLeg" type="Sprite" parent="Sprite" index="3"] +show_behind_parent = true +position = Vector2( -9, 4.76837e-07 ) +rotation = -0.261799 +texture = ExtResource( 6 ) +offset = Vector2( -4, 1 ) +__meta__ = { +"_edit_ik_": true +} + +[node name="MiddleSegment" type="Sprite" parent="Sprite/LeftLowerLeg" index="0"] +position = Vector2( -12, 3 ) +rotation = -0.436332 +texture = ExtResource( 7 ) +offset = Vector2( -2, 4 ) +__meta__ = { +"_edit_bone_": true +} + +[node name="EndSegment" type="Sprite" parent="Sprite/LeftLowerLeg/MiddleSegment" index="0"] +position = Vector2( -6, 10 ) +rotation = -0.349066 +texture = ExtResource( 8 ) +offset = Vector2( 1, 2 ) +__meta__ = { +"_edit_bone_": true +} + +[node name="EndPoint" type="Position2D" parent="Sprite/LeftLowerLeg/MiddleSegment/EndSegment" index="0"] +position = Vector2( 3, 5 ) +__meta__ = { +"_edit_bone_": true +} + +[node name="RightUpeerLeg" type="Sprite" parent="Sprite" index="4"] +show_behind_parent = true +position = Vector2( 12, -12 ) +texture = ExtResource( 6 ) +offset = Vector2( 5, 1 ) +flip_h = true +__meta__ = { +"_edit_ik_": true +} + +[node name="MiddleSegment" type="Sprite" parent="Sprite/RightUpeerLeg" index="0"] +position = Vector2( 12, 3 ) +texture = ExtResource( 7 ) +offset = Vector2( 3, 4 ) +flip_h = true +__meta__ = { +"_edit_bone_": true +} + +[node name="EndSegment" type="Sprite" parent="Sprite/RightUpeerLeg/MiddleSegment" index="0"] +position = Vector2( 6, 10 ) +rotation = 0.261799 +texture = ExtResource( 8 ) +offset = Vector2( -1, 2 ) +flip_h = true +__meta__ = { +"_edit_bone_": true +} + +[node name="EndPoint" type="Position2D" parent="Sprite/RightUpeerLeg/MiddleSegment/EndSegment" index="0"] +position = Vector2( -3, 5 ) +__meta__ = { +"_edit_bone_": true +} + +[node name="RightLowerLeg" type="Sprite" parent="Sprite" index="5"] +show_behind_parent = true +position = Vector2( 9, 0 ) +rotation = 0.261799 +texture = ExtResource( 6 ) +offset = Vector2( 5, 1 ) +flip_h = true +__meta__ = { +"_edit_ik_": true +} + +[node name="MiddleSegment" type="Sprite" parent="Sprite/RightLowerLeg" index="0"] +position = Vector2( 12.1781, 2.94854 ) +rotation = 0.436332 +texture = ExtResource( 7 ) +offset = Vector2( 3, 4 ) +flip_h = true +__meta__ = { +"_edit_bone_": true +} + +[node name="EndSegment" type="Sprite" parent="Sprite/RightLowerLeg/MiddleSegment" index="0"] +position = Vector2( 6, 10 ) +rotation = 0.261799 +texture = ExtResource( 8 ) +offset = Vector2( -1, 2 ) +flip_h = true +__meta__ = { +"_edit_bone_": true +} + +[node name="EndPoint" type="Position2D" parent="Sprite/RightLowerLeg/MiddleSegment/EndSegment" index="0"] +position = Vector2( -3, 5 ) +__meta__ = { +"_edit_bone_": true +} + +[node name="Head" type="Sprite" parent="Sprite" index="6"] +position = Vector2( 0, -7 ) +texture = ExtResource( 2 )