pivoted to top-down RPG style
This commit is contained in:
1 parent
47d9874c36
commit
f9e52d23e5
24 files changed
+5674
-37
No files matched your search
@@ -0,0 +1,14 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://bsmtdok8be7d8"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://1txbj5djbkq0" path="res://scripts/debug_label.gd" id="1_ipbqv"]
|
||||
|
||||
[node name="DebugLabel" type="HBoxContainer"]
|
||||
script = ExtResource("1_ipbqv")
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
text = "Variable: "
|
||||
|
||||
[node name="ValueLabel" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
text = "##somevalue##"
|
||||
+5307
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,75 @@
|
||||
[gd_scene load_steps=11 format=3 uid="uid://pldxcq54fei5"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ddiwahqiekcqp" path="res://scripts/new_player.gd" id="1_j1k7i"]
|
||||
[ext_resource type="Texture2D" uid="uid://cfst1xv0quili" path="res://assets/top-down-adam-idle.png" id="1_ykc1o"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_j1k7i"]
|
||||
atlas = ExtResource("1_ykc1o")
|
||||
region = Rect2(288, 0, 16, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_tidp7"]
|
||||
atlas = ExtResource("1_ykc1o")
|
||||
region = Rect2(304, 0, 16, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_eotbk"]
|
||||
atlas = ExtResource("1_ykc1o")
|
||||
region = Rect2(320, 0, 16, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_vdid1"]
|
||||
atlas = ExtResource("1_ykc1o")
|
||||
region = Rect2(336, 0, 16, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_40y4h"]
|
||||
atlas = ExtResource("1_ykc1o")
|
||||
region = Rect2(352, 0, 16, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_xoay6"]
|
||||
atlas = ExtResource("1_ykc1o")
|
||||
region = Rect2(368, 0, 16, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_11i01"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_j1k7i")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_tidp7")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_eotbk")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_vdid1")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_40y4h")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_xoay6")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"idle_down",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_ykc1o"]
|
||||
radius = 7.0
|
||||
height = 16.0
|
||||
|
||||
[node name="NewPlayer" type="CharacterBody2D"]
|
||||
script = ExtResource("1_j1k7i")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_11i01")
|
||||
animation = &"idle_down"
|
||||
autoplay = "idle_down"
|
||||
frame = 2
|
||||
frame_progress = 0.91331923
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, 8)
|
||||
shape = SubResource("CapsuleShape2D_ykc1o")
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
zoom = Vector2(4, 4)
|
||||
Reference in new issue
Block a user