summaryrefslogtreecommitdiff
path: root/Scenes/Entities/Player.tscn
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-04-14 21:49:20 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-04-14 21:49:20 +0200
commitf27937e6e9b6a7146dd09fc711d2d293ecf5abbf (patch)
treee0ddd5e6d356000e4f29af6211a736284a4972ee /Scenes/Entities/Player.tscn
parent96d36cee33d6321834565f0a5d412ef95c5ceffd (diff)
update
Diffstat (limited to 'Scenes/Entities/Player.tscn')
-rw-r--r--Scenes/Entities/Player.tscn227
1 files changed, 190 insertions, 37 deletions
diff --git a/Scenes/Entities/Player.tscn b/Scenes/Entities/Player.tscn
index 04d328f..d52e032 100644
--- a/Scenes/Entities/Player.tscn
+++ b/Scenes/Entities/Player.tscn
@@ -1,104 +1,257 @@
-[gd_scene load_steps=13 format=3 uid="uid://b1xhgqwrw4pgs"]
+[gd_scene load_steps=29 format=3 uid="uid://b1xhgqwrw4pgs"]
-[ext_resource type="Texture2D" uid="uid://dtvvpqc7i2dm6" path="res://Assets/tux/signal-2021-05-05-214118_001.png" id="1"]
[ext_resource type="Script" path="res://Scenes/Entities/Player.gd" id="1_2xulf"]
-[ext_resource type="Texture2D" uid="uid://o7x47dkwao04" path="res://Assets/tux/signal-2021-05-05-214118_002.png" id="2"]
-[ext_resource type="Texture2D" uid="uid://4lhw1rn7w1ye" path="res://Assets/tux/signal-2021-05-05-214118_003.png" id="3"]
-[ext_resource type="Texture2D" uid="uid://d354aghbycxto" path="res://Assets/tux/signal-2021-05-05-214118_004.png" id="4"]
-[ext_resource type="Texture2D" uid="uid://3jnv1c847c3" path="res://Assets/tux/signal-2021-05-06-203546_001.png" id="5"]
-[ext_resource type="Texture2D" uid="uid://c3o4wky2ywpng" path="res://Assets/tux/signal-2021-05-06-203546_004.png" id="6"]
-[ext_resource type="Texture2D" uid="uid://b5v0jg6lwnij2" path="res://Assets/tux/signal-2021-05-06-203546_003.png" id="7"]
-[ext_resource type="Texture2D" uid="uid://cnxxo0qivbv4c" path="res://Assets/tux/signal-2021-05-06-203546_002.png" id="7_bxbay"]
+[ext_resource type="Texture2D" uid="uid://c1lfciwp5n6wh" path="res://Assets/Character/Bomberman_bl_02.png" id="2_7c86j"]
+[ext_resource type="Texture2D" uid="uid://cwuyr6j4fowbn" path="res://Assets/Character/Bomberman_bl_01.png" id="3_frmop"]
+[ext_resource type="Texture2D" uid="uid://c17pybwy8uebb" path="res://Assets/Character/Bomberman_bl_03.png" id="4_viays"]
+[ext_resource type="Texture2D" uid="uid://d21ri773nni5x" path="res://Assets/Character/Bomberman_br_02.png" id="5_f3x6s"]
+[ext_resource type="Texture2D" uid="uid://cn844bbmb6ebw" path="res://Assets/Character/Bomberman_br_01.png" id="6_id2dl"]
+[ext_resource type="Texture2D" uid="uid://b4ajsycsqfy6b" path="res://Assets/Character/Bomberman_br_03.png" id="7_snc6l"]
+[ext_resource type="Texture2D" uid="uid://dcrvqjbr30piu" path="res://Assets/Character/Bomberman_down_02.png" id="8_6nrho"]
+[ext_resource type="Texture2D" uid="uid://llvrhcwdwyxq" path="res://Assets/Character/Bomberman_down_01.png" id="9_4r1t6"]
+[ext_resource type="Texture2D" uid="uid://dqgnibpodjph1" path="res://Assets/Character/Bomberman_down_03.png" id="10_0c5dt"]
+[ext_resource type="Texture2D" uid="uid://dsosylrax8qc0" path="res://Assets/Character/Bomberman_left_01.png" id="11_4vfbf"]
+[ext_resource type="Texture2D" uid="uid://dyrlofdra1jg" path="res://Assets/Character/Bomberman_right_01.png" id="12_b74y7"]
+[ext_resource type="Texture2D" uid="uid://b1ftykprnvmb2" path="res://Assets/Character/Bomberman_tl_01.png" id="13_t5fk2"]
+[ext_resource type="Texture2D" uid="uid://cpia0jdfix3v1" path="res://Assets/Character/Bomberman_tr_01.png" id="14_ank74"]
+[ext_resource type="Texture2D" uid="uid://cfxr2vqrydpxa" path="res://Assets/Character/Bomberman_up_01.png" id="15_an6q7"]
+[ext_resource type="Texture2D" uid="uid://rjsxm415e85y" path="res://Assets/Character/Bomberman_left_02.png" id="16_74r3r"]
+[ext_resource type="Texture2D" uid="uid://b2vn64asvfwpa" path="res://Assets/Character/Bomberman_left_03.png" id="17_am4b3"]
+[ext_resource type="Texture2D" uid="uid://cqc4sxd5jlog3" path="res://Assets/Character/Bomberman_right_02.png" id="18_au0ca"]
+[ext_resource type="Texture2D" uid="uid://da4ematmp08qs" path="res://Assets/Character/Bomberman_right_03.png" id="19_736tk"]
+[ext_resource type="Texture2D" uid="uid://c3gdllyr2gjwr" path="res://Assets/Character/Bomberman_tl_02.png" id="20_wtgma"]
+[ext_resource type="Texture2D" uid="uid://b7w657i2b8i7b" path="res://Assets/Character/Bomberman_tl_03.png" id="21_m2nht"]
+[ext_resource type="Texture2D" uid="uid://dtk5hkysfnsgk" path="res://Assets/Character/Bomberman_tr_02.png" id="22_kojwu"]
+[ext_resource type="Texture2D" uid="uid://b5535ungwxix7" path="res://Assets/Character/Bomberman_tr_03.png" id="23_fpo4g"]
+[ext_resource type="Texture2D" uid="uid://0pr3bb5cn5da" path="res://Assets/Character/Bomberman_up_02.png" id="24_tx0m0"]
+[ext_resource type="Texture2D" uid="uid://m2vf7nnhlatp" path="res://Assets/Character/Bomberman_up_03.png" id="25_6f86e"]
-[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_xsiww"]
-radius = 5.0
-height = 14.0
-
-[sub_resource type="SpriteFrames" id="2"]
+[sub_resource type="SpriteFrames" id="SpriteFrames_fu51i"]
animations = [{
"frames": [{
"duration": 1.0,
-"texture": ExtResource("7")
+"texture": ExtResource("2_7c86j")
+}, {
+"duration": 1.0,
+"texture": ExtResource("3_frmop")
+}, {
+"duration": 1.0,
+"texture": ExtResource("4_viays")
+}, {
+"duration": 1.0,
+"texture": ExtResource("3_frmop")
+}],
+"loop": true,
+"name": &"bottom_left",
+"speed": 4.0
+}, {
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("5_f3x6s")
+}, {
+"duration": 1.0,
+"texture": ExtResource("6_id2dl")
+}, {
+"duration": 1.0,
+"texture": ExtResource("7_snc6l")
+}, {
+"duration": 1.0,
+"texture": ExtResource("6_id2dl")
+}],
+"loop": true,
+"name": &"bottom_right",
+"speed": 4.0
+}, {
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("8_6nrho")
+}, {
+"duration": 1.0,
+"texture": ExtResource("9_4r1t6")
+}, {
+"duration": 1.0,
+"texture": ExtResource("10_0c5dt")
+}, {
+"duration": 1.0,
+"texture": ExtResource("9_4r1t6")
+}],
+"loop": true,
+"name": &"down",
+"speed": 4.0
+}, {
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("3_frmop")
}],
"loop": true,
-"name": &"bl",
+"name": &"idle_bottom_left",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
-"texture": ExtResource("6")
+"texture": ExtResource("6_id2dl")
}],
"loop": true,
-"name": &"br",
+"name": &"idle_bottom_right",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
-"texture": ExtResource("3")
+"texture": ExtResource("9_4r1t6")
}],
"loop": true,
-"name": &"down",
+"name": &"idle_down",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
-"texture": ExtResource("4")
+"texture": ExtResource("11_4vfbf")
}],
"loop": true,
-"name": &"left",
+"name": &"idle_left",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
-"texture": ExtResource("1")
+"texture": ExtResource("12_b74y7")
}],
"loop": true,
-"name": &"right",
+"name": &"idle_right",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
-"texture": ExtResource("7_bxbay")
+"texture": ExtResource("13_t5fk2")
}],
"loop": true,
-"name": &"tl",
+"name": &"idle_top_left",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
-"texture": ExtResource("5")
+"texture": ExtResource("14_ank74")
}],
"loop": true,
-"name": &"tr",
+"name": &"idle_top_right",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
-"texture": ExtResource("2")
+"texture": ExtResource("15_an6q7")
}],
"loop": true,
-"name": &"up",
+"name": &"idle_up",
"speed": 5.0
+}, {
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("16_74r3r")
+}, {
+"duration": 1.0,
+"texture": ExtResource("11_4vfbf")
+}, {
+"duration": 1.0,
+"texture": ExtResource("17_am4b3")
+}, {
+"duration": 1.0,
+"texture": ExtResource("11_4vfbf")
+}],
+"loop": true,
+"name": &"left",
+"speed": 4.0
+}, {
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("18_au0ca")
+}, {
+"duration": 1.0,
+"texture": ExtResource("12_b74y7")
+}, {
+"duration": 1.0,
+"texture": ExtResource("19_736tk")
+}, {
+"duration": 1.0,
+"texture": ExtResource("12_b74y7")
+}],
+"loop": true,
+"name": &"right",
+"speed": 4.0
+}, {
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("20_wtgma")
+}, {
+"duration": 1.0,
+"texture": ExtResource("13_t5fk2")
+}, {
+"duration": 1.0,
+"texture": ExtResource("21_m2nht")
+}, {
+"duration": 1.0,
+"texture": ExtResource("13_t5fk2")
+}],
+"loop": true,
+"name": &"top_left",
+"speed": 4.0
+}, {
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("22_kojwu")
+}, {
+"duration": 1.0,
+"texture": ExtResource("14_ank74")
+}, {
+"duration": 1.0,
+"texture": ExtResource("23_fpo4g")
+}, {
+"duration": 1.0,
+"texture": ExtResource("14_ank74")
+}],
+"loop": true,
+"name": &"top_right",
+"speed": 4.0
+}, {
+"frames": [{
+"duration": 1.0,
+"texture": ExtResource("24_tx0m0")
+}, {
+"duration": 1.0,
+"texture": ExtResource("15_an6q7")
+}, {
+"duration": 1.0,
+"texture": ExtResource("25_6f86e")
+}, {
+"duration": 1.0,
+"texture": ExtResource("15_an6q7")
+}],
+"loop": true,
+"name": &"up",
+"speed": 4.0
}]
+[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_xsiww"]
+radius = 5.0
+height = 13.0
+
[sub_resource type="RectangleShape2D" id="RectangleShape2D_c6666"]
size = Vector2(14, 14)
[node name="Player" type="CharacterBody2D"]
collision_layer = 2
collision_mask = 60
+motion_mode = 1
+wall_min_slide_angle = 1.5708
script = ExtResource("1_2xulf")
+[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
+scale = Vector2(0.8, 0.8)
+sprite_frames = SubResource("SpriteFrames_fu51i")
+animation = &"idle_down"
+
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
+position = Vector2(0, 1)
shape = SubResource("CapsuleShape2D_xsiww")
-[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
-position = Vector2(5.96046e-08, 5.96046e-08)
-scale = Vector2(0.405234, 0.405234)
-sprite_frames = SubResource("2")
-animation = &"down"
-metadata/_edit_lock_ = true
-
[node name="Camera2D" type="Camera2D" parent="."]
drag_horizontal_enabled = true
drag_vertical_enabled = true