idk i'm the only contributer so doesnt matter :/

This commit is contained in:
2023-01-27 19:25:45 +01:00
parent 5ce5dc090e
commit 077451a574
15 changed files with 135 additions and 27 deletions

View File

@@ -1,7 +1,8 @@
[gd_scene load_steps=13 format=3 uid="uid://ujfhvssvbgpg"]
[gd_scene load_steps=14 format=3 uid="uid://ujfhvssvbgpg"]
[ext_resource type="Script" path="res://src/scene-scripts/player.cs" id="1_qehox"]
[ext_resource type="Texture2D" uid="uid://olceowuycu8c" path="res://assets/textures/debug/dummy-player-atlas.png" id="2_yu1q5"]
[ext_resource type="PackedScene" uid="uid://d6ngurhq1r5y" path="res://scenes/gui/dialog_bubble.tscn" id="3_8f573"]
[sub_resource type="AtlasTexture" id="AtlasTexture_tokqm"]
atlas = ExtResource("2_yu1q5")
@@ -37,25 +38,55 @@ region = Rect2(168, 128, 84, 128)
[sub_resource type="SpriteFrames" id="SpriteFrames_2x1cy"]
animations = [{
"frames": [SubResource("AtlasTexture_tokqm"), SubResource("AtlasTexture_qomfj"), SubResource("AtlasTexture_tokqm"), SubResource("AtlasTexture_bsfbd")],
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_tokqm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qomfj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tokqm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bsfbd")
}],
"loop": true,
"name": &"move_down",
"speed": 5.0
}, {
"frames": [SubResource("AtlasTexture_ulejc"), SubResource("AtlasTexture_1x805")],
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ulejc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1x805")
}],
"loop": true,
"name": &"move_side",
"speed": 5.0
"speed": 4.0
}, {
"frames": [SubResource("AtlasTexture_x338k"), SubResource("AtlasTexture_6ynw8"), SubResource("AtlasTexture_x338k"), SubResource("AtlasTexture_2yirn")],
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_x338k")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6ynw8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_x338k")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2yirn")
}],
"loop": true,
"name": &"move_up",
"speed": 5.0
}]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_38v5o"]
radius = 18.057
height = 43.9998
radius = 5.99732
height = 45.968
[node name="player" type="CharacterBody2D"]
process_mode = 1
@@ -71,13 +102,12 @@ collide_with_areas = true
[node name="animated_sprite_2d" type="AnimatedSprite2D" parent="."]
texture_filter = 1
position = Vector2(-0.0625, -17.0625)
scale = Vector2(0.733398, 0.733398)
frames = SubResource("SpriteFrames_2x1cy")
animation = &"move_down"
[node name="collision_shape" type="CollisionShape2D" parent="."]
position = Vector2(0, 12)
position = Vector2(3.72529e-09, 39)
rotation = 1.57345
shape = SubResource("CapsuleShape2D_38v5o")
@@ -97,3 +127,6 @@ editor_draw_drag_margin = true
[node name="audio_listener_2d" type="AudioListener2D" parent="."]
current = true
[node name="dialog_bubble" parent="." instance=ExtResource("3_8f573")]
visible = false