alai/godot/levels/TestLevel.tscn

78 lines
2.5 KiB
Plaintext
Raw Normal View History

2023-02-22 21:16:23 -03:00
[gd_scene load_steps=10 format=2]
2023-02-22 23:12:21 -03:00
[ext_resource path="res://characters/enemies/shelly/Shelly.tscn" type="PackedScene" id=1]
2023-02-22 21:16:23 -03:00
[ext_resource path="res://collectables/coin/Coin.tscn" type="PackedScene" id=2]
[ext_resource path="res://goal/Goal.tscn" type="PackedScene" id=3]
[ext_resource path="res://hud/CoinHUD.tscn" type="PackedScene" id=4]
[ext_resource path="res://characters/player/Player.tscn" type="PackedScene" id=5]
[ext_resource path="res://assets/music/prototype_r.ogg" type="AudioStream" id=6]
[ext_resource path="res://assets/backgrounds/hills.png" type="Texture" id=7]
[ext_resource path="res://levels/TestLevel.tmx" type="PackedScene" id=8]
[ext_resource path="res://CameraLimit.gdns" type="Script" id=9]
[node name="TestLevel" type="Node2D"]
[node name="Player" parent="." instance=ExtResource( 5 )]
position = Vector2( 36, 444 )
collision_layer = 5
[node name="Camera2D" type="Camera2D" parent="Player"]
current = true
limit_left = 0
limit_top = 0
limit_right = 512
limit_bottom = 288
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"]
motion_scale = Vector2( 0.2, 0.1 )
motion_offset = Vector2( 0, -288 )
motion_mirroring = Vector2( 528, 0 )
[node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayer"]
texture = ExtResource( 7 )
centered = false
[node name="Map" type="Node2D" parent="."]
[node name="TestLevel" parent="Map" instance=ExtResource( 8 )]
script = ExtResource( 9 )
[node name="CoinHUD" parent="." instance=ExtResource( 4 )]
[node name="Coins" type="Node" parent="."]
[node name="Coin" parent="Coins" instance=ExtResource( 2 )]
2023-02-22 23:12:21 -03:00
position = Vector2( 144, 504 )
2023-02-22 21:16:23 -03:00
[node name="Coin5" parent="Coins" instance=ExtResource( 2 )]
2023-02-22 23:12:21 -03:00
position = Vector2( 270, 468 )
2023-02-22 21:16:23 -03:00
[node name="Coin7" parent="Coins" instance=ExtResource( 2 )]
2023-02-22 23:12:21 -03:00
position = Vector2( 216, 504 )
2023-02-22 21:16:23 -03:00
[node name="Coin8" parent="Coins" instance=ExtResource( 2 )]
2023-02-22 23:12:21 -03:00
position = Vector2( 459, 468 )
2023-02-22 21:16:23 -03:00
[node name="BGM" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 6 )
volume_db = -25.0
autoplay = true
[node name="Goal" parent="." instance=ExtResource( 3 )]
2023-02-22 23:12:21 -03:00
position = Vector2( 621, 486 )
2023-02-22 21:16:23 -03:00
[node name="Enemies" type="Node" parent="."]
2023-02-22 23:12:21 -03:00
[node name="Shelly" parent="Enemies" instance=ExtResource( 1 )]
position = Vector2( 379, 510 )