diff --git a/audio/sounds/gold.ogg b/audio/sounds/gold.ogg index fb9b4c9..df7b0c5 100644 Binary files a/audio/sounds/gold.ogg and b/audio/sounds/gold.ogg differ diff --git a/maps/test_room.tscn b/maps/test_room.tscn new file mode 100644 index 0000000..b42e348 --- /dev/null +++ b/maps/test_room.tscn @@ -0,0 +1,208 @@ +[gd_scene load_steps=30 format=2] + +[ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=1] +[ext_resource path="res://tilesets/t_cave.tres" type="TileSet" id=2] +[ext_resource path="res://tilesets/t_mountain.tres" type="TileSet" id=3] +[ext_resource path="res://objects/hud/hud.tscn" type="PackedScene" id=4] +[ext_resource path="res://tilesets/t_death.tres" type="TileSet" id=5] +[ext_resource path="res://objects/Camera2D.tscn" type="PackedScene" id=6] +[ext_resource path="res://graphics/backgrounds/canopy.png" type="Texture" id=7] +[ext_resource path="res://objects/environment/ladder/ladder.tscn" type="PackedScene" id=8] +[ext_resource path="res://objects/environment/rock/rock.tscn" type="PackedScene" id=9] +[ext_resource path="res://objects/enemy/slime.tscn" type="PackedScene" id=10] +[ext_resource path="res://maps/map.gd" type="Script" id=11] +[ext_resource path="res://objects/environment/turniwood/turning_platform.tscn" type="PackedScene" id=12] +[ext_resource path="res://objects/collectibles/arrow.tscn" type="PackedScene" id=13] +[ext_resource path="res://objects/environment/falling_block/falling_block.tscn" type="PackedScene" id=14] +[ext_resource path="res://objects/environment/moving_platform/moving_platform.tscn" type="PackedScene" id=15] +[ext_resource path="res://objects/respawn_point.tscn" type="PackedScene" id=16] +[ext_resource path="res://scripts/1px_border.gdshader" type="Shader" id=17] +[ext_resource path="res://objects/enemy/mine.tscn" type="PackedScene" id=18] +[ext_resource path="res://objects/enemy/explosion.tscn" type="PackedScene" id=19] +[ext_resource path="res://objects/enemy/tin.tscn" type="PackedScene" id=20] +[ext_resource path="res://graphics/enemy/sawblade.png" type="Texture" id=21] +[ext_resource path="res://objects/enemy/rolling_fiend.tscn" type="PackedScene" id=22] +[ext_resource path="res://objects/enemy/steam.tscn" type="PackedScene" id=23] +[ext_resource path="res://objects/enemy/roboturret.tscn" type="PackedScene" id=24] + +[sub_resource type="RectangleShape2D" id=1] +extents = Vector2( 16, 20 ) + +[sub_resource type="ShaderMaterial" id=4] +shader = ExtResource( 17 ) +shader_param/border_color = Color( 0, 0, 0, 1 ) +shader_param/border_corners = false + +[sub_resource type="AtlasTexture" id=6] +atlas = ExtResource( 21 ) +region = Rect2( 0, 0, 12, 12 ) + +[sub_resource type="AtlasTexture" id=7] +atlas = ExtResource( 21 ) +region = Rect2( 12, 0, 12, 12 ) + +[sub_resource type="SpriteFrames" id=5] +animations = [ { +"frames": [ SubResource( 6 ), SubResource( 7 ) ], +"loop": true, +"name": "default", +"speed": 20.0 +} ] + +[node name="Map2" type="Node2D" groups=["map"]] +script = ExtResource( 11 ) + +[node name="Camera2D" parent="." instance=ExtResource( 6 )] +current = false + +[node name="Sprite" type="Sprite" parent="Camera2D"] +position = Vector2( 128, 96 ) +z_index = -50 +texture = ExtResource( 7 ) +__meta__ = { +"_edit_lock_": true +} + +[node name="CanvasLayer" parent="." instance=ExtResource( 4 )] + +[node name="Ground" type="TileMap" parent="."] +tile_set = ExtResource( 3 ) +cell_size = Vector2( 8, 8 ) +collision_layer = 9 +format = 1 +tile_data = PoolIntArray( 393234, 0, 65537, 393235, 0, 65537, 393240, 0, 65537, 393241, 0, 65537, 983064, 0, 65537, 1048579, 0, 65537, 1048580, 0, 65537, 1048581, 0, 65537, 1048582, 0, 65537, 1048583, 0, 65537, 1114125, 0, 0, 1114126, 0, 0, 1310734, 0, 0, 1310735, 0, 0, 1310736, 0, 0, 1310738, 0, 0, 1310739, 0, 0, 1310740, 0, 0, 1310741, 0, 0, 1310742, 0, 0, 1310743, 0, 0, 1310744, 0, 0, 1441792, 0, 0, 1441793, 0, 0, 1441794, 0, 0, 1441795, 0, 0, 1441796, 0, 0, 1441797, 0, 0, 1441798, 0, 0, 1441799, 0, 0, 1441800, 0, 0, 1441801, 0, 0, 1441802, 0, 0, 1441803, 0, 0, 1441804, 0, 0, 1441805, 0, 0, 1441806, 0, 0, 1441807, 0, 0, 1441808, 0, 0, 1441809, 0, 0, 1441810, 0, 0, 1441811, 0, 0, 1441812, 0, 0, 1441813, 0, 0, 1441814, 0, 0, 1441815, 0, 0, 1441816, 0, 0, 1441817, 0, 0, 1441818, 0, 0, 1441819, 0, 0, 1441820, 0, 0, 1441821, 0, 0, 1441822, 0, 0, 1441823, 0, 0, 1507328, 0, 1, 1507329, 0, 1, 1507330, 0, 1, 1507331, 0, 1, 1507332, 0, 1, 1507333, 0, 1, 1507334, 0, 1, 1507335, 0, 1, 1507336, 0, 1, 1507337, 0, 1, 1507338, 0, 1, 1507339, 0, 1, 1507340, 0, 1, 1507341, 0, 1, 1507342, 0, 1, 1507343, 0, 1, 1507344, 0, 1, 1507345, 0, 1, 1507346, 0, 1, 1507347, 0, 1, 1507348, 0, 1, 1507349, 0, 1, 1507350, 0, 1, 1507351, 0, 1, 1507352, 0, 1, 1507353, 0, 1, 1507354, 0, 1, 1507355, 0, 1, 1507356, 0, 1, 1507357, 0, 1, 1507358, 0, 1, 1507359, 0, 1 ) + +[node name="Rock" parent="." instance=ExtResource( 9 )] +position = Vector2( 120, 152 ) + +[node name="Slime" parent="." instance=ExtResource( 10 )] +position = Vector2( 264, 168 ) + +[node name="Slime2" parent="." instance=ExtResource( 10 )] +position = Vector2( 264, 160 ) + +[node name="Slime2" parent="." instance=ExtResource( 10 )] +position = Vector2( 216, 168 ) + +[node name="Slime3" parent="." instance=ExtResource( 10 )] +position = Vector2( 216, 168 ) + +[node name="Slime4" parent="." instance=ExtResource( 10 )] +position = Vector2( 216, 168 ) + +[node name="Arrow" parent="." instance=ExtResource( 13 )] +position = Vector2( 104, 120 ) + +[node name="Player" parent="." instance=ExtResource( 1 )] +position = Vector2( 104, 110 ) + +[node name="Ladder3" parent="." instance=ExtResource( 8 )] +position = Vector2( 40, 136 ) +scale = Vector2( 1, 5 ) + +[node name="Ladder" type="TileMap" parent="."] +tile_set = ExtResource( 2 ) +cell_size = Vector2( 8, 8 ) +collision_layer = 9 +format = 1 +tile_data = PoolIntArray( 1114117, 0, 196610, 1179653, 0, 196608, 1245189, 0, 196608, 1310725, 0, 196608, 1376261, 0, 196609 ) + +[node name="Death" type="TileMap" parent="."] +visible = false +tile_set = ExtResource( 5 ) +cell_size = Vector2( 8, 8 ) +format = 1 + +[node name="Turniwood5" parent="." instance=ExtResource( 12 )] +position = Vector2( 80, 120 ) + +[node name="Turniwood6" parent="." instance=ExtResource( 12 )] +position = Vector2( 72, 112 ) +delay = 0.5 + +[node name="Turniwood8" parent="." instance=ExtResource( 12 )] +position = Vector2( 64, 104 ) +delay = 1.0 + +[node name="Turniwood7" parent="." instance=ExtResource( 12 )] +position = Vector2( 56, 96 ) +delay = 1.5 + +[node name="Turniwood9" parent="." instance=ExtResource( 12 )] +position = Vector2( 48, 88 ) +delay = 2.0 + +[node name="FallingBlock" parent="." instance=ExtResource( 14 )] +position = Vector2( 192, 112 ) + +[node name="MovingPlatform2" parent="." instance=ExtResource( 15 )] +position = Vector2( 176, 48 ) +left_up_boundry = 2.0 +right_down_boundry = 2.0 + +[node name="RespawnPoint" parent="." instance=ExtResource( 16 )] +position = Vector2( 88, 160 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="RespawnPoint"] +position = Vector2( 0, -4 ) +shape = SubResource( 1 ) + +[node name="Mine" parent="." instance=ExtResource( 18 )] +position = Vector2( 232, 144 ) + +[node name="Explosion" parent="." instance=ExtResource( 19 )] +position = Vector2( 112, 40 ) + +[node name="Tin" parent="." instance=ExtResource( 20 )] +position = Vector2( 168, 96 ) +up_boundary = 3.0 +down_boundary = 3.0 + +[node name="Tin2" parent="." instance=ExtResource( 20 )] +position = Vector2( 32, 72 ) +up_boundary = 3.0 +down_boundary = 3.0 + +[node name="SawTest3" type="AnimatedSprite" parent="."] +material = SubResource( 4 ) +position = Vector2( 120, 168 ) +z_index = -3 +frames = SubResource( 5 ) +playing = true + +[node name="SawTest4" type="AnimatedSprite" parent="."] +material = SubResource( 4 ) +position = Vector2( 160, 168 ) +z_index = -3 +frames = SubResource( 5 ) +frame = 1 +playing = true + +[node name="SawTest5" type="AnimatedSprite" parent="."] +material = SubResource( 4 ) +position = Vector2( 56, 176 ) +z_index = -3 +frames = SubResource( 5 ) +frame = 1 +playing = true + +[node name="RollingFiend" parent="." instance=ExtResource( 22 )] +position = Vector2( 48, 120 ) + +[node name="AnimatedSprite" parent="RollingFiend" index="0"] +visible = false + +[node name="SawTest2" type="AnimatedSprite" parent="RollingFiend"] +material = SubResource( 4 ) +position = Vector2( 4, 4 ) +z_index = -3 +frames = SubResource( 5 ) +playing = true + +[node name="Steam" parent="." instance=ExtResource( 23 )] +position = Vector2( 27, 128 ) + +[node name="Roboturret" parent="." instance=ExtResource( 24 )] +position = Vector2( 168, 152 ) + +[editable path="RollingFiend"]