fix dublicate scene uids and add sound for jumping
This commit is contained in:
parent
59a94bfd7b
commit
683248c666
18 changed files with 32 additions and 1151 deletions
|
@ -1,7 +1,7 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://d0gpnqknarkg7"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/goal.gd" id="1_xjaxa"]
|
||||
[ext_resource type="Texture2D" uid="uid://bje753fyfin0" path="res://textures/01-Portal-Sheet.png" id="2_hsts4"]
|
||||
[ext_resource type="Texture2D" uid="uid://fah747bo1ckk" path="res://textures/01-Portal-Sheet.png" id="2_hsts4"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_v2oub"]
|
||||
length = 0.001
|
||||
|
|
|
@ -1,18 +1,20 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://snxpqx0ony7s"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://snxpqx0ony7s"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/player_movement.gd" id="1_a6lhy"]
|
||||
[ext_resource type="Texture2D" uid="uid://qcx482jc7pqr" path="res://textures/player.png" id="2_sscjv"]
|
||||
[ext_resource type="Texture2D" uid="uid://s7wqkcxerals" path="res://textures/Eye Lase.png" id="3_yg3ur"]
|
||||
[ext_resource type="AudioStream" uid="uid://donbyet486b4" path="res://sound/Jump5.wav" id="4_jit8y"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_31jvr"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_vxfel"]
|
||||
radius = 12.0
|
||||
|
||||
[node name="Player" type="CharacterBody2D"]
|
||||
[node name="Player" type="CharacterBody2D" node_paths=PackedStringArray("sfx")]
|
||||
collision_layer = 4
|
||||
collision_mask = 51
|
||||
script = ExtResource("1_a6lhy")
|
||||
sfx = NodePath("AudioStreamPlayer2D")
|
||||
speed = 250
|
||||
jump_strength = 600
|
||||
|
||||
|
@ -37,4 +39,9 @@ default_color = Color(0.298039, 1, 0.141176, 1)
|
|||
texture = ExtResource("3_yg3ur")
|
||||
texture_mode = 1
|
||||
|
||||
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
|
||||
stream = ExtResource("4_jit8y")
|
||||
volume_db = -3.962
|
||||
pitch_scale = 0.92
|
||||
|
||||
[connection signal="body_entered" from="Hurtbox" to="." method="_on_hurtbox_body_entered"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue