Add a dedicated Level scene, set it as the default project scene.

This commit is contained in:
Nathan Lovato 2019-07-23 20:53:31 +02:00
parent 56c5eb1b97
commit 4096ba2dbd
5 changed files with 100 additions and 44 deletions

View file

@ -2,14 +2,14 @@
[ext_resource path="res://assets/tilesets/basic.png" type="Texture" id=1]
[sub_resource type="ConvexPolygonShape2D" id=5]
[sub_resource type="ConvexPolygonShape2D" id=1]
points = PoolVector2Array( 0, 0, 40, 0, 40, 40, 0, 40 )
[sub_resource type="ConvexPolygonShape2D" id=6]
[sub_resource type="ConvexPolygonShape2D" id=2]
points = PoolVector2Array( 0, 0, 40, 0, 40, 40, 0, 40 )
[resource]
0/name = "basic.png 0"
0/name = "solid"
0/texture = ExtResource( 1 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
@ -21,11 +21,11 @@ points = PoolVector2Array( 0, 0, 40, 0, 40, 40, 0, 40 )
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 5 ),
"shape": SubResource( 1 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
0/z_index = 0
1/name = "basic.png 1"
1/name = "pass-through"
1/texture = ExtResource( 1 )
1/tex_offset = Vector2( 0, 0 )
1/modulate = Color( 1, 1, 1, 1 )
@ -37,11 +37,11 @@ points = PoolVector2Array( 0, 0, 40, 0, 40, 40, 0, 40 )
"autotile_coord": Vector2( 0, 0 ),
"one_way": true,
"one_way_margin": 1.0,
"shape": SubResource( 6 ),
"shape": SubResource( 2 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
1/z_index = 0
2/name = "basic.png 2"
2/name = "red"
2/texture = ExtResource( 1 )
2/tex_offset = Vector2( 0, 0 )
2/modulate = Color( 1, 1, 1, 1 )
@ -51,7 +51,7 @@ points = PoolVector2Array( 0, 0, 40, 0, 40, 40, 0, 40 )
2/navigation_offset = Vector2( 0, 0 )
2/shapes = [ ]
2/z_index = 0
3/name = "basic.png 3"
3/name = "purple"
3/texture = ExtResource( 1 )
3/tex_offset = Vector2( 0, 0 )
3/modulate = Color( 1, 1, 1, 1 )

View file

@ -135,7 +135,7 @@ _global_script_class_icons={
[application]
config/name="Hook!"
run/main_scene="res://src/Areas/LevelTest.tscn"
run/main_scene="res://src/Levels/Level.tscn"
config/icon="res://icon.png"
[autoload]

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long