2022-09-01 15:55:02 -04:00
|
|
|
[gd_scene load_steps=9 format=2]
|
2022-04-05 14:51:59 -04:00
|
|
|
|
2022-04-20 11:48:11 -04:00
|
|
|
[ext_resource path="res://CameraLimit.gdns" type="Script" id=1]
|
2022-04-16 14:21:15 -04:00
|
|
|
[ext_resource path="res://characters/player/Player.tscn" type="PackedScene" id=2]
|
|
|
|
[ext_resource path="res://levels/Prototype.tmx" type="PackedScene" id=3]
|
|
|
|
[ext_resource path="res://assets/backgrounds/mountains.png" type="Texture" id=4]
|
2022-06-11 00:26:11 -04:00
|
|
|
[ext_resource path="res://collectables/coin/Coin.tscn" type="PackedScene" id=5]
|
2022-08-01 15:05:09 -04:00
|
|
|
[ext_resource path="res://hud/CoinHUD.tscn" type="PackedScene" id=6]
|
2022-09-01 15:55:02 -04:00
|
|
|
[ext_resource path="res://assets/music/Magic Fx 7.ogg" type="AudioStream" id=7]
|
2022-08-01 14:10:00 -04:00
|
|
|
[ext_resource path="res://goal/Goal.tscn" type="PackedScene" id=8]
|
2022-06-25 20:54:47 -04:00
|
|
|
|
2022-04-16 14:21:15 -04:00
|
|
|
[node name="Prototype" type="Node2D"]
|
2022-04-05 14:51:59 -04:00
|
|
|
|
2022-04-16 14:21:15 -04:00
|
|
|
[node name="Player" parent="." instance=ExtResource( 2 )]
|
2022-05-20 12:50:47 -04:00
|
|
|
collision_layer = 5
|
2022-04-05 14:51:59 -04:00
|
|
|
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="Player"]
|
|
|
|
limit_left = 0
|
|
|
|
limit_top = 0
|
2022-04-16 14:21:15 -04:00
|
|
|
limit_right = 512
|
|
|
|
limit_bottom = 288
|
2022-04-05 14:51:59 -04:00
|
|
|
drag_margin_h_enabled = true
|
|
|
|
drag_margin_v_enabled = true
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_bone_": true
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="Player/Camera2D"]
|
|
|
|
rect = Rect2( 0, 0, 24, 24 )
|
|
|
|
|
|
|
|
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
|
|
|
|
|
|
|
|
[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"]
|
2022-04-16 14:21:15 -04:00
|
|
|
motion_scale = Vector2( 0.2, 0.1 )
|
|
|
|
motion_offset = Vector2( 0, -288 )
|
2022-04-05 14:51:59 -04:00
|
|
|
motion_mirroring = Vector2( 528, 0 )
|
|
|
|
|
|
|
|
[node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayer"]
|
2022-04-16 14:21:15 -04:00
|
|
|
texture = ExtResource( 4 )
|
2022-04-05 14:51:59 -04:00
|
|
|
centered = false
|
|
|
|
|
|
|
|
[node name="Map" type="Node2D" parent="."]
|
|
|
|
|
2022-04-16 14:21:15 -04:00
|
|
|
[node name="Prototype" parent="Map" instance=ExtResource( 3 )]
|
|
|
|
script = ExtResource( 1 )
|
2022-05-20 12:50:47 -04:00
|
|
|
|
2022-08-01 15:05:09 -04:00
|
|
|
[node name="CoinHUD" parent="." instance=ExtResource( 6 )]
|
2022-07-16 18:36:38 -04:00
|
|
|
|
|
|
|
[node name="Coins" type="Node" parent="."]
|
|
|
|
|
|
|
|
[node name="coin" parent="Coins" instance=ExtResource( 5 )]
|
|
|
|
position = Vector2( 72, 450 )
|
|
|
|
|
2022-09-01 15:55:02 -04:00
|
|
|
[node name="AnimatedSprite" parent="Coins/coin" index="1"]
|
|
|
|
frame = 0
|
|
|
|
|
2022-07-16 18:36:38 -04:00
|
|
|
[node name="coin2" parent="Coins" instance=ExtResource( 5 )]
|
|
|
|
position = Vector2( 234, 450 )
|
2022-06-25 20:54:47 -04:00
|
|
|
|
2022-08-01 14:10:00 -04:00
|
|
|
[node name="Goal" parent="." instance=ExtResource( 8 )]
|
2022-07-17 21:51:11 -04:00
|
|
|
|
2022-09-01 15:55:02 -04:00
|
|
|
[node name="BGM" type="AudioStreamPlayer" parent="."]
|
|
|
|
stream = ExtResource( 7 )
|
|
|
|
volume_db = -29.714
|
|
|
|
autoplay = true
|
|
|
|
|
2022-07-16 18:36:38 -04:00
|
|
|
[editable path="Coins/coin"]
|