diff options
Diffstat (limited to 'Level.tscn')
| -rw-r--r-- | Level.tscn | 21 |
1 files changed, 14 insertions, 7 deletions
@@ -1,8 +1,10 @@ -[gd_scene load_steps=27 format=2] +[gd_scene load_steps=29 format=2] [ext_resource path="res://Player.tscn" type="PackedScene" id=1] [ext_resource path="res://Assets/kenney_pixelplatformer/Tilemap/tiles_packed.png" type="Texture" id=2] [ext_resource path="res://Assets/background_glacial_mountains.png" type="Texture" id=3] +[ext_resource path="res://PatrolEnemy.tscn" type="PackedScene" id=4] +[ext_resource path="res://SimplePlatform.tscn" type="PackedScene" id=5] [sub_resource type="ConvexPolygonShape2D" id=2] points = PoolVector2Array( 0, 0, 18, 0, 18, 18, 0, 18 ) @@ -245,19 +247,17 @@ points = PoolVector2Array( 0, 0, 18, 0, 18, 18, 0, 18 ) [node name="Level" type="Node2D"] [node name="Player" parent="." instance=ExtResource( 1 )] -position = Vector2( 90, 54 ) +position = Vector2( 74, 54 ) scale = Vector2( 1, 1 ) -GRAVITY = 1200.0 JUMP_FORCE = 600.0 -MAX_FALL_SPEED = 1200.0 -COYOTE_TIME = 200.0 +COYOTE_TIME = 120.0 [node name="ParallaxBackground" type="ParallaxBackground" parent="Player"] offset = Vector2( 0, -450 ) transform = Transform2D( 1, 0, 0, 1, 0, -450 ) [node name="ParallaxLayer" type="ParallaxLayer" parent="Player/ParallaxBackground"] -motion_scale = Vector2( 0.5, 0.1 ) +motion_scale = Vector2( 0.1, 0.05 ) motion_mirroring = Vector2( 1536, 0 ) [node name="Sprite" type="Sprite" parent="Player/ParallaxBackground/ParallaxLayer"] @@ -271,7 +271,7 @@ current = true limit_left = 0 limit_top = -100000000 smoothing_enabled = true -smoothing_speed = 10.0 +smoothing_speed = 8.0 [node name="AutoTileMap" type="TileMap" parent="."] position = Vector2( 3, -2 ) @@ -288,3 +288,10 @@ tile_set = SubResource( 23 ) cell_size = Vector2( 18, 18 ) format = 1 tile_data = PoolIntArray( -196575, -536870912, 131091, -196574, 1073741824, 131090, -196573, 1073741824, 131091, -131039, 536870912, 131091, -131038, 536870912, 262161, -131037, -2147483648, 131091, -65502, 536870912, 262160, 33, 1073741824, 262162, 34, 1610612736, 327697, 35, 1073741824, 262163, 36, 1610612736, 262162, 65570, 0, 327696, 131075, 0, 262149 ) + +[node name="PatrolEnemy" parent="." instance=ExtResource( 4 )] +position = Vector2( 702, 450 ) + +[node name="SimplePlatform" parent="." instance=ExtResource( 5 )] +position = Vector2( 910, 490 ) +rotation = -0.555015 |
