Coin I guess
No files matched your search
|
Before Width: | Height: | Size: 4.2 MiB After Width: | Height: | Size: 3.8 MiB |
|
Before Width: | Height: | Size: 455 B After Width: | Height: | Size: 480 B |
|
Before Width: | Height: | Size: 454 B After Width: | Height: | Size: 467 B |
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://biv3f67rqumak"
|
||||
path="res://.godot/imported/level_start.png-8708dae279fe9f5ca2f1eeeed1447a7a.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/level_start.png"
|
||||
dest_files=["res://.godot/imported/level_start.png-8708dae279fe9f5ca2f1eeeed1447a7a.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 463 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://lk0f1qyswyxv"
|
||||
path="res://.godot/imported/frame1.png-f88418daeb6a2baa5296354124b2bcfb.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/player/idle/frame1.png"
|
||||
dest_files=["res://.godot/imported/frame1.png-f88418daeb6a2baa5296354124b2bcfb.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 466 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://lmje8plw76e1"
|
||||
path="res://.godot/imported/frame2.png-471f8bc4181188beb9b4612217a25dc9.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/player/idle/frame2.png"
|
||||
dest_files=["res://.godot/imported/frame2.png-471f8bc4181188beb9b4612217a25dc9.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 463 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://lk0f1qyswyxv"
|
||||
path="res://.godot/imported/frame1.png-58c9eb24c2e559c0aff50d51683acb39.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/player/running/frame1.png"
|
||||
dest_files=["res://.godot/imported/frame1.png-58c9eb24c2e559c0aff50d51683acb39.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 466 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://lmje8plw76e1"
|
||||
path="res://.godot/imported/frame2.png-f54f8317d6fe26546ba0c9d9db98f838.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/player/running/frame2.png"
|
||||
dest_files=["res://.godot/imported/frame2.png-f54f8317d6fe26546ba0c9d9db98f838.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 466 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dh7a1knyqn5nd"
|
||||
path="res://.godot/imported/frame3.png-fd63da4c688e79953fb4b0e6fb6a9112.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/player/running/frame3.png"
|
||||
dest_files=["res://.godot/imported/frame3.png-fd63da4c688e79953fb4b0e6fb6a9112.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 463 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://yf13nw31k8ua"
|
||||
path="res://.godot/imported/frame4.png-701f88a6ab00495340825a251fab4c39.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/player/running/frame4.png"
|
||||
dest_files=["res://.godot/imported/frame4.png-701f88a6ab00495340825a251fab4c39.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
Before Width: | Height: | Size: 425 B After Width: | Height: | Size: 445 B |
@@ -13,4 +13,5 @@ freeze = true
|
||||
shape = SubResource("RectangleShape2D_f3sb7")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
texture_filter = 1
|
||||
texture = ExtResource("1_im0tn")
|
||||
@@ -4,7 +4,6 @@ extends Node2D
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
[gd_scene format=3 uid="uid://48omdoc4bp0r"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://biv3f67rqumak" path="res://art/level_start.png" id="1_grtbv"]
|
||||
|
||||
[node name="LevelStart" type="Node2D" unique_id=1489270643]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1314398409]
|
||||
texture = ExtResource("1_grtbv")
|
||||
@@ -1,14 +1,19 @@
|
||||
extends CharacterBody2D
|
||||
|
||||
const SPEED = 380.0
|
||||
|
||||
const DASH_SPEED = 600
|
||||
const FRICTION = 100
|
||||
const GRAVITY_MULT = 0.8
|
||||
|
||||
const JUMP_VELOCITY = -410.0
|
||||
|
||||
const DASH_LENGTH = 0.2
|
||||
|
||||
var fall_timer = 0.0
|
||||
var teleport_cooldown = 0
|
||||
var jumps = 0
|
||||
var dashes = 1
|
||||
var dashing = false
|
||||
var death_threshold = 1000
|
||||
var coins = 0
|
||||
|
||||
@@ -28,6 +33,9 @@ func on_teleport():
|
||||
await get_tree().create_timer(1).timeout
|
||||
teleport_cooldown = 0
|
||||
|
||||
func on_death():
|
||||
position = %LevelStart.position
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
if Input.is_action_just_pressed("jump"):
|
||||
if is_on_floor():
|
||||
@@ -42,20 +50,33 @@ func _process(delta: float) -> void:
|
||||
#velocity.x = 0
|
||||
|
||||
var direction = Input.get_axis("move_left","move_right")
|
||||
|
||||
if direction < 0:
|
||||
$Sprite2D.flip_h = true
|
||||
elif direction > 0:
|
||||
$Sprite2D.flip_h = false
|
||||
|
||||
if direction:
|
||||
if Input.is_action_just_pressed("dash"):
|
||||
dashing = true
|
||||
velocity = Vector2(
|
||||
Input.get_axis("dash_left","dash_right"),
|
||||
Input.get_axis("dash_up","dash_down")
|
||||
) * DASH_SPEED
|
||||
await get_tree().create_timer(DASH_LENGTH).timeout
|
||||
dashing = false
|
||||
|
||||
elif direction and !dashing:
|
||||
velocity.x = direction * SPEED
|
||||
else:
|
||||
velocity.x = move_toward(velocity.x, 0, SPEED)
|
||||
$Sprite2D.play("running")
|
||||
|
||||
elif !dashing:
|
||||
velocity.x = move_toward(velocity.x, 0, FRICTION)
|
||||
$Sprite2D.play("idle")
|
||||
|
||||
#print("PLAYER X POSITION: " + str(position.y))
|
||||
if position.y >= death_threshold:
|
||||
print("SLASH KILL")
|
||||
get_tree().reload_current_scene()
|
||||
on_death()
|
||||
|
||||
fall_timer += 1*delta
|
||||
if is_on_floor():
|
||||
|
||||
@@ -1,8 +1,43 @@
|
||||
[gd_scene format=3 uid="uid://pmnwck5v0ntm"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cojhnj15psd2x" path="res://player_2d.gd" id="1_sy00s"]
|
||||
[ext_resource type="Texture2D" uid="uid://ccxq1fh72bsdk" path="res://art/player.png" id="2_p3026"]
|
||||
[ext_resource type="Texture2D" uid="uid://dpdxs6gjmexgh" path="res://art/background.png" id="3_p3026"]
|
||||
[ext_resource type="Texture2D" uid="uid://lk0f1qyswyxv" path="res://art/player/running/frame1.png" id="5_6jyqn"]
|
||||
[ext_resource type="Texture2D" uid="uid://lmje8plw76e1" path="res://art/player/running/frame2.png" id="6_gt2ls"]
|
||||
[ext_resource type="AudioStream" uid="uid://8iiafankqo4i" path="res://sound/stepping.wav" id="7_cbsa3"]
|
||||
[ext_resource type="Texture2D" uid="uid://dh7a1knyqn5nd" path="res://art/player/running/frame3.png" id="7_pmt5n"]
|
||||
[ext_resource type="Texture2D" uid="uid://yf13nw31k8ua" path="res://art/player/running/frame4.png" id="8_nj6as"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_fvyjh"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("5_6jyqn")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("6_gt2ls")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"idle",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("5_6jyqn")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("6_gt2ls")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("7_pmt5n")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("8_nj6as")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"running",
|
||||
"speed": 12.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_fj7yv"]
|
||||
size = Vector2(10, 16)
|
||||
@@ -23,9 +58,17 @@ process_callback = 0
|
||||
position_smoothing_enabled = true
|
||||
position_smoothing_speed = 3.0
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=77404965]
|
||||
[node name="Sprite2D" type="AnimatedSprite2D" parent="." unique_id=693422376]
|
||||
z_index = 1
|
||||
texture_filter = 1
|
||||
texture = ExtResource("2_p3026")
|
||||
position = Vector2(0, 2)
|
||||
sprite_frames = SubResource("SpriteFrames_fvyjh")
|
||||
animation = &"running"
|
||||
autoplay = "idle"
|
||||
frame_progress = 0.48246452
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1294571021]
|
||||
shape = SubResource("RectangleShape2D_fj7yv")
|
||||
|
||||
[node name="BackgroundMusic" type="AudioStreamPlayer2D" parent="." unique_id=2123463449]
|
||||
stream = ExtResource("7_cbsa3")
|
||||
@@ -173,6 +173,61 @@ move_horizontal={
|
||||
"script": null
|
||||
)]
|
||||
}
|
||||
dash={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventJoypadMotion,
|
||||
"resource_local_to_scene": false,
|
||||
"resource_name": "",
|
||||
"device": -1,
|
||||
"axis": 5,
|
||||
"axis_value": 1.0,
|
||||
"script": null
|
||||
)]
|
||||
}
|
||||
dash_down={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventJoypadMotion,
|
||||
"resource_local_to_scene": false,
|
||||
"resource_name": "",
|
||||
"device": -1,
|
||||
"axis": 1,
|
||||
"axis_value": 1.0,
|
||||
"script": null
|
||||
)]
|
||||
}
|
||||
dash_left={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventJoypadMotion,
|
||||
"resource_local_to_scene": false,
|
||||
"resource_name": "",
|
||||
"device": -1,
|
||||
"axis": 0,
|
||||
"axis_value": -1.0,
|
||||
"script": null
|
||||
)]
|
||||
}
|
||||
dash_right={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventJoypadMotion,
|
||||
"resource_local_to_scene": false,
|
||||
"resource_name": "",
|
||||
"device": -1,
|
||||
"axis": 0,
|
||||
"axis_value": 1.0,
|
||||
"script": null
|
||||
)]
|
||||
}
|
||||
dash_up={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventJoypadMotion,
|
||||
"resource_local_to_scene": false,
|
||||
"resource_name": "",
|
||||
"device": -1,
|
||||
"axis": 1,
|
||||
"axis_value": -1.0,
|
||||
"script": null
|
||||
)]
|
||||
}
|
||||
|
||||
[input_devices]
|
||||
|
||||
@@ -184,6 +239,7 @@ joypads/ignore_joypad_on_unfocused_application=true
|
||||
|
||||
[rendering]
|
||||
|
||||
textures/canvas_textures/default_texture_filter=0
|
||||
rendering_device/driver.windows="d3d12"
|
||||
renderer/rendering_method="gl_compatibility"
|
||||
lights_and_shadows/multi_bounce_occlusion/enabled=true
|
||||
@@ -0,0 +1 @@
|
||||
gTQnAB+LCAAAAAAAAArt3VtvG1eWgNG/EvDZCVi6y2+Jnb4gScewjM5DIw9lqmQXTLIEknLaCPLfp4qkJIpO0iI85ZzNsxozQEdfSaEkmut4Nmv2r4P31WxeN9PB08HxV8PBk8Gsaj/yevB0MbupngzejJvX5fjl8mNfT5qb6WLwdPjV8ZPB6+vJ4GlxMHwyWNST6qJ+My0XN7Pqm6pczAdPj54M5qNyXP3zcvD04OD8yeB9M76ZVO1nfNV9xqwcvXtRTi8Wzax8U/379hEU96n9Gv8Zttd+4v/+/GRwM69mF+Xkelx1X/P2Ax+mi7cvZtW8Wqw/+nrcjN51//3XQT3/dnK9+DB4elWO51X3E7luv6u7f5wvykX7nZy339Wo+66mq8+6vWr1c5s2i+qiWlzc/hC+LH57kvE17Q/4cnYzWf2kul/16srqZjSuL6tyevfDLW8u6+bZuL7uPvGkfRq9Xj2h2qfGuGmul8+s5uqq/b21z8P7p9Xwq7Pz5X9OT4rjs+LooL3+unuCVbOq6XJ77fXy190+z7+rR+++KNqn+rx9Pl9eNDezUfslBlflqH0+frj9ePcAti590T43lx++/cA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ruu6ruuf2ovEH5+u67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67reby8Sf3y6rqfbvX7ouu71Q9d1rx+6ruu6ruu6ruu6ruu6ruu6/tf3IvHHp+u6ruu6ruu6ruu6/qm9SPzx6bqu67qu67qu67q//+p+/7rnj+73r0fsnj+6rnv90HVd1/mh63qE7vVLine truncated
|
||||
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://8iiafankqo4i"
|
||||
path="res://.godot/imported/stepping.wav-b54d66075ebecd62d08e6d57f5a8c5df.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sound/stepping.wav"
|
||||
dest_files=["res://.godot/imported/stepping.wav-b54d66075ebecd62d08e6d57f5a8c5df.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=2
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
@@ -12,6 +12,6 @@ func _process(delta: float) -> void:
|
||||
func on_contact(body: Node2D) -> void:
|
||||
if body==%Player2D:
|
||||
print("SLASH KILL")
|
||||
get_tree().reload_current_scene()
|
||||
%Player2D.on_death()
|
||||
print(body)
|
||||
|
||||
@@ -3,19 +3,21 @@
|
||||
[ext_resource type="Script" uid="uid://brlrpnqrsi2vn" path="res://spike.gd" id="1_7k7bx"]
|
||||
[ext_resource type="Texture2D" uid="uid://bu5wgerfu7cbc" path="res://art/spike.png" id="2_7k7bx"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6qpsl"]
|
||||
radius = 7.0
|
||||
height = 20.0
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xfwl5"]
|
||||
size = Vector2(15, 11)
|
||||
|
||||
[node name="Spike" type="Node2D" unique_id=1739014101]
|
||||
script = ExtResource("1_7k7bx")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=813041394]
|
||||
texture_filter = 1
|
||||
position = Vector2(0, 1)
|
||||
texture = ExtResource("2_7k7bx")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=170499029]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1865546056]
|
||||
shape = SubResource("CapsuleShape2D_6qpsl")
|
||||
position = Vector2(-0.5, 1.5)
|
||||
shape = SubResource("RectangleShape2D_xfwl5")
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
|
||||
@@ -1,13 +1,12 @@
|
||||
[gd_scene format=3 uid="uid://iivvrut0lfsr"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://boovn4st1uq41" path="res://rich_text_label.gd" id="1_036b0"]
|
||||
[ext_resource type="PackedScene" uid="uid://pmnwck5v0ntm" path="res://player_2d.tscn" id="1_aqk2v"]
|
||||
[ext_resource type="PackedScene" uid="uid://ckqable762x8v" path="res://block.tscn" id="2_036b0"]
|
||||
[ext_resource type="Script" uid="uid://bds4m5we8nwe3" path="res://fps_label.gd" id="2_dwbse"]
|
||||
[ext_resource type="PackedScene" uid="uid://dx4pfup3sbk0f" path="res://long_block.tscn" id="3_dwbse"]
|
||||
[ext_resource type="Script" uid="uid://dtomgfu8ib50f" path="res://coin_label.gd" id="3_wse8f"]
|
||||
[ext_resource type="PackedScene" uid="uid://byh115n12sgvt" path="res://teleporter.tscn" id="4_gbfbk"]
|
||||
[ext_resource type="Script" uid="uid://brlrpnqrsi2vn" path="res://spike.gd" id="4_ic0uy"]
|
||||
[ext_resource type="PackedScene" uid="uid://48omdoc4bp0r" path="res://level_start.tscn" id="4_ic0uy"]
|
||||
[ext_resource type="PackedScene" uid="uid://bos6oh7nwyeca" path="res://vertical_long_block.tscn" id="4_pkg7o"]
|
||||
[ext_resource type="PackedScene" uid="uid://biot4cuwgohvo" path="res://longer_block.tscn" id="6_dwbse"]
|
||||
[ext_resource type="PackedScene" uid="uid://kstmxoa4dx55" path="res://coin.tscn" id="8_ioo17"]
|
||||
@@ -19,23 +18,10 @@ scale = Vector2(1, 1.0155824)
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=1982310971]
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="CanvasLayer" unique_id=63102975]
|
||||
visible = false
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
bbcode_enabled = true
|
||||
text = "FALL TIMER:"
|
||||
script = ExtResource("1_036b0")
|
||||
|
||||
[node name="RichTextLabel2" type="RichTextLabel" parent="CanvasLayer" unique_id=1423365940]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = 22.0
|
||||
offset_bottom = 22.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
bbcode_enabled = true
|
||||
@@ -46,24 +32,25 @@ script = ExtResource("2_dwbse")
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = 45.0
|
||||
offset_bottom = 45.0
|
||||
offset_top = 23.0
|
||||
offset_bottom = 23.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
bbcode_enabled = true
|
||||
text = "COINS:"
|
||||
script = ExtResource("3_wse8f")
|
||||
|
||||
[node name="Spike" type="Node2D" parent="CanvasLayer" unique_id=1867201762]
|
||||
position = Vector2(1031, 351)
|
||||
script = ExtResource("4_ic0uy")
|
||||
|
||||
[node name="Player2D" parent="." unique_id=889851478 instance=ExtResource("1_aqk2v")]
|
||||
unique_name_in_owner = true
|
||||
position = Vector2(55, 59)
|
||||
|
||||
[node name="Tutorial" type="Node2D" parent="." unique_id=1391494772]
|
||||
|
||||
[node name="LevelStart" parent="Tutorial" unique_id=1489270643 instance=ExtResource("4_ic0uy")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
position = Vector2(55, 99.45031)
|
||||
|
||||
[node name="Spike" parent="Tutorial" unique_id=1505280758 instance=ExtResource("12_k3n1d")]
|
||||
position = Vector2(162, 184.13078)
|
||||
|
||||
@@ -95,7 +82,15 @@ position = Vector2(250, 141)
|
||||
[node name="Coin" parent="Tutorial" unique_id=1739014101 instance=ExtResource("8_ioo17")]
|
||||
|
||||
[node name="ZoeLevel" type="Node2D" parent="." unique_id=980267417]
|
||||
visible = false
|
||||
|
||||
[node name="LongBlock4" parent="ZoeLevel" unique_id=469408536 instance=ExtResource("6_dwbse")]
|
||||
position = Vector2(544, 399)
|
||||
|
||||
[node name="LongBlock5" parent="ZoeLevel" unique_id=1807703449 instance=ExtResource("6_dwbse")]
|
||||
position = Vector2(880, 399)
|
||||
|
||||
[node name="LongBlock6" parent="ZoeLevel" unique_id=1328813509 instance=ExtResource("6_dwbse")]
|
||||
position = Vector2(1368, 401)
|
||||
|
||||
[node name="Block" parent="ZoeLevel" unique_id=878186522 instance=ExtResource("2_036b0")]
|
||||
position = Vector2(55, 118)
|
||||
@@ -105,12 +100,3 @@ position = Vector2(166, 200)
|
||||
|
||||
[node name="VerticalLongBlock" parent="ZoeLevel" unique_id=1984351408 instance=ExtResource("4_pkg7o")]
|
||||
position = Vector2(250, 141)
|
||||
|
||||
[node name="LongBlock4" parent="." unique_id=469408536 instance=ExtResource("6_dwbse")]
|
||||
position = Vector2(544, 399)
|
||||
|
||||
[node name="LongBlock5" parent="." unique_id=1807703449 instance=ExtResource("6_dwbse")]
|
||||
position = Vector2(880, 399)
|
||||
|
||||
[node name="LongBlock6" parent="." unique_id=1328813509 instance=ExtResource("6_dwbse")]
|
||||
position = Vector2(1368, 401)
|
||||