man has entered the forest
This commit is contained in:
1 parent
f6ad5142bf
commit
f31033dd59
9 files changed
+330
-92
No files matched your search
+11
-10
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=14 format=4 uid="uid://dxvvtcldbhsac"]
|
||||
[gd_scene load_steps=15 format=4 uid="uid://dxvvtcldbhsac"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dordo7deet5y0" path="res://assets/graphics/terrains/backgrounds/forestbackground.png" id="1_fca7k"]
|
||||
[ext_resource type="Texture2D" uid="uid://cukevm4avtgnp" path="res://assets/graphics/terrains/backgrounds/sky.png" id="2_7a0hu"]
|
||||
@@ -9,6 +9,7 @@
|
||||
[ext_resource type="Script" path="res://scripts/trigger.gd" id="7_vcera"]
|
||||
[ext_resource type="PackedScene" uid="uid://djkjmi7bo58uv" path="res://scenes/crate.tscn" id="8_q5n2b"]
|
||||
[ext_resource type="PackedScene" uid="uid://cey0ymp1n0iqe" path="res://scenes/coin.tscn" id="9_iql8u"]
|
||||
[ext_resource type="PackedScene" uid="uid://bk0pk4m1ln716" path="res://scenes/badguy.tscn" id="10_w2bl5"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_v72u6"]
|
||||
texture = ExtResource("5_qoo1j")
|
||||
@@ -456,21 +457,21 @@ rotation = -0.0982481
|
||||
[node name="RigidBody2D" parent="crates" instance=ExtResource("8_q5n2b")]
|
||||
position = Vector2(501, 265)
|
||||
|
||||
[node name="enemies" type="Node2D" parent="."]
|
||||
|
||||
[node name="Area2D" parent="enemies" instance=ExtResource("10_w2bl5")]
|
||||
position = Vector2(79, 415)
|
||||
|
||||
[node name="Area2D2" parent="enemies" instance=ExtResource("10_w2bl5")]
|
||||
position = Vector2(215, 415)
|
||||
|
||||
[node name="coins" type="Node2D" parent="."]
|
||||
|
||||
[node name="Area2D" parent="coins" instance=ExtResource("9_iql8u")]
|
||||
position = Vector2(72, 107)
|
||||
script = null
|
||||
|
||||
[node name="Area2D2" parent="coins" instance=ExtResource("9_iql8u")]
|
||||
position = Vector2(-42, 11)
|
||||
script = null
|
||||
|
||||
[node name="Area2D3" parent="coins" instance=ExtResource("9_iql8u")]
|
||||
position = Vector2(-55, 295)
|
||||
|
||||
[node name="Area2D4" parent="coins" instance=ExtResource("9_iql8u")]
|
||||
position = Vector2(321, 198)
|
||||
position = Vector2(-178, 75)
|
||||
|
||||
[connection signal="areaTrigger" from="Area2D" to="." method="_on_trigger"]
|
||||
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]
|
||||
+116
-2
@@ -1,7 +1,9 @@
|
||||
[gd_scene load_steps=28 format=3 uid="uid://b2hyqfqh02ep6"]
|
||||
[gd_scene load_steps=44 format=3 uid="uid://b2hyqfqh02ep6"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/charController.gd" id="1_4o8do"]
|
||||
[ext_resource type="Texture2D" uid="uid://c1l8de3i0kljl" path="res://assets/graphics/player/death/Player Death 64x64.png" id="2_alp3v"]
|
||||
[ext_resource type="Texture2D" uid="uid://bfhqvl875is6f" path="res://assets/graphics/player/idle/Player Idle 48x48.png" id="2_yfuca"]
|
||||
[ext_resource type="Texture2D" uid="uid://d0osk3f111068" path="res://assets/graphics/player/hurt/Player Hurt 48x48.png" id="3_5pi5t"]
|
||||
[ext_resource type="Texture2D" uid="uid://c2s48joyna11q" path="res://assets/graphics/player/jump/player jump 48x48.png" id="3_p8gbr"]
|
||||
[ext_resource type="Texture2D" uid="uid://bvat1vqwtua2p" path="res://assets/graphics/player/run/player run 48x48.png" id="3_y36hw"]
|
||||
|
||||
@@ -9,6 +11,62 @@
|
||||
radius = 9.93
|
||||
height = 35.0
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_iomdd"]
|
||||
atlas = ExtResource("2_alp3v")
|
||||
region = Rect2(0, 0, 48, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_qlc64"]
|
||||
atlas = ExtResource("2_alp3v")
|
||||
region = Rect2(48, 0, 48, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_r8feb"]
|
||||
atlas = ExtResource("2_alp3v")
|
||||
region = Rect2(96, 0, 48, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_pchcp"]
|
||||
atlas = ExtResource("2_alp3v")
|
||||
region = Rect2(144, 0, 48, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ekkmw"]
|
||||
atlas = ExtResource("2_alp3v")
|
||||
region = Rect2(192, 0, 48, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_aenr4"]
|
||||
atlas = ExtResource("2_alp3v")
|
||||
region = Rect2(240, 0, 48, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_c2bld"]
|
||||
atlas = ExtResource("2_alp3v")
|
||||
region = Rect2(288, 0, 48, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_556cp"]
|
||||
atlas = ExtResource("2_alp3v")
|
||||
region = Rect2(336, 0, 48, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hf6j1"]
|
||||
atlas = ExtResource("2_alp3v")
|
||||
region = Rect2(384, 0, 48, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_pvct1"]
|
||||
atlas = ExtResource("2_alp3v")
|
||||
region = Rect2(432, 0, 48, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_0ae2b"]
|
||||
atlas = ExtResource("3_5pi5t")
|
||||
region = Rect2(0, 0, 48, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_0i34p"]
|
||||
atlas = ExtResource("3_5pi5t")
|
||||
region = Rect2(48, 0, 48, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_k17h1"]
|
||||
atlas = ExtResource("3_5pi5t")
|
||||
region = Rect2(96, 0, 48, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_1nyuv"]
|
||||
atlas = ExtResource("3_5pi5t")
|
||||
region = Rect2(144, 0, 48, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_cdvw1"]
|
||||
atlas = ExtResource("2_yfuca")
|
||||
region = Rect2(0, 0, 48, 48)
|
||||
@@ -97,6 +155,58 @@ region = Rect2(336, 0, 48, 48)
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_iomdd")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_qlc64")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_r8feb")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_pchcp")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ekkmw")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_aenr4")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_c2bld")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_556cp")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hf6j1")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_pvct1")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"playerDeath",
|
||||
"speed": 12.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_0ae2b")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_0i34p")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_k17h1")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_1nyuv")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"playerHurt",
|
||||
"speed": 12.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_cdvw1")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
@@ -203,5 +313,9 @@ texture_filter = 1
|
||||
position = Vector2(-1, -3)
|
||||
scale = Vector2(1.29167, 1.29167)
|
||||
sprite_frames = SubResource("SpriteFrames_52pno")
|
||||
animation = &"playerIdle"
|
||||
animation = &"playerDeath"
|
||||
autoplay = "playerIdle"
|
||||
frame = 9
|
||||
frame_progress = 1.0
|
||||
|
||||
[connection signal="animation_finished" from="AnimatedSprite2D" to="." method="_on_animated_finished"]
|
||||
Reference in new issue
Block a user