feature/Level_2 #13

Closed
Martin wants to merge 7 commits from feature/Level_2 into develop
3 changed files with 46 additions and 4 deletions
Showing only changes of commit 55e8df4b79 - Show all commits

View File

@ -2,12 +2,12 @@
importer="vnen.tiled_importer" importer="vnen.tiled_importer"
type="PackedScene" type="PackedScene"
path="res://.import/level02.tmx-080f0f454d3030b26a814f52fc82f11c.scn" path="res://.import/Level3.tmx-daf40a8673079d899baf88e9ff0cd3db.scn"
[deps] [deps]
source_file="res://levels/level02.tmx" source_file="res://levels/Level3.tmx"
dest_files=[ "res://.import/level02.tmx-080f0f454d3030b26a814f52fc82f11c.scn" ] dest_files=[ "res://.import/Level3.tmx-daf40a8673079d899baf88e9ff0cd3db.scn" ]
[params] [params]
@ -15,7 +15,8 @@ custom_properties=true
tile_metadata=false tile_metadata=false
uv_clip=true uv_clip=true
image_flags=7 image_flags=7
collision_layer=1 collision_layer=2
collision_mask=0
embed_internal_images=false embed_internal_images=false
save_tiled_properties=false save_tiled_properties=false
add_background=true add_background=true

41
godot/levels/Level3.tscn Normal file
View File

@ -0,0 +1,41 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://CameraLimit.gdns" type="Script" id=1]
[ext_resource path="res://characters/player/Player.tscn" type="PackedScene" id=2]
[ext_resource path="res://assets/backgrounds/snow.png" type="Texture" id=3]
[ext_resource path="res://levels/Level3.tmx" type="PackedScene" id=4]
[node name="Level2" type="Node2D"]
[node name="Player" parent="." instance=ExtResource( 2 )]
[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.2 )
motion_offset = Vector2( 0, -288 )
motion_mirroring = Vector2( 528, 0 )
[node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayer"]
texture = ExtResource( 3 )
centered = false
[node name="Map" type="Node2D" parent="."]
[node name="Level3" parent="Map" instance=ExtResource( 4 )]
script = ExtResource( 1 )