2020-08-18 14:46:39 +02:00
|
|
|
[gd_scene load_steps=13 format=2]
|
2020-08-17 12:15:41 +02:00
|
|
|
|
|
|
|
[ext_resource path="res://images/game1/opening.tres" type="SpriteFrames" id=1]
|
|
|
|
[ext_resource path="res://images/game1/opening2bg.tres" type="SpriteFrames" id=2]
|
|
|
|
[ext_resource path="res://scripts/game1/Game1Script.gd" type="Script" id=3]
|
2020-08-17 17:27:28 +02:00
|
|
|
[ext_resource path="res://scenes/game1/opening2_player.tscn" type="PackedScene" id=4]
|
2020-08-17 14:37:07 +02:00
|
|
|
[ext_resource path="res://scripts/game1/opening2_next_step_trigger.gd" type="Script" id=5]
|
2020-08-18 14:46:39 +02:00
|
|
|
[ext_resource path="res://scenes/game1/Level2.tscn" type="PackedScene" id=6]
|
2020-08-17 17:27:28 +02:00
|
|
|
[ext_resource path="res://images/game1/game1_player.tres" type="SpriteFrames" id=7]
|
2020-08-18 14:46:39 +02:00
|
|
|
[ext_resource path="res://scenes/game1/Level1.tscn" type="PackedScene" id=8]
|
2020-08-17 14:37:07 +02:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
|
|
extents = Vector2( 114.063, 10 )
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id=2]
|
|
|
|
extents = Vector2( 117.734, 10 )
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id=3]
|
|
|
|
extents = Vector2( 13.4499, 41.9587 )
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id=4]
|
|
|
|
extents = Vector2( 6.44203, 23.0973 )
|
2020-08-17 12:15:41 +02:00
|
|
|
|
|
|
|
[node name="Node2D" type="Node2D"]
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
|
2020-08-17 17:27:28 +02:00
|
|
|
[node name="Game" type="Node2D" parent="."]
|
|
|
|
|
2020-08-18 14:46:39 +02:00
|
|
|
[node name="Level1" parent="Game" instance=ExtResource( 8 )]
|
|
|
|
|
|
|
|
[node name="Level2" parent="Game" instance=ExtResource( 6 )]
|
2020-08-17 17:27:28 +02:00
|
|
|
|
|
|
|
[node name="Player" type="AnimatedSprite" parent="Game"]
|
2020-08-18 14:46:39 +02:00
|
|
|
position = Vector2( 16.0914, 8.06881 )
|
2020-08-17 17:27:28 +02:00
|
|
|
frames = ExtResource( 7 )
|
2020-08-17 12:15:41 +02:00
|
|
|
|
2020-08-17 17:27:28 +02:00
|
|
|
[node name="Camera2D" type="Camera2D" parent="Game/Player"]
|
2020-08-17 14:37:07 +02:00
|
|
|
|
2020-08-17 17:27:28 +02:00
|
|
|
[node name="Opening2" type="Node2D" parent="."]
|
|
|
|
visible = false
|
|
|
|
|
|
|
|
[node name="Opening2Bg" type="AnimatedSprite" parent="Opening2"]
|
2020-08-17 14:37:07 +02:00
|
|
|
frames = ExtResource( 2 )
|
|
|
|
centered = false
|
|
|
|
|
2020-08-17 17:27:28 +02:00
|
|
|
[node name="Player" parent="Opening2" instance=ExtResource( 4 )]
|
2020-08-17 14:37:07 +02:00
|
|
|
position = Vector2( -6.22136, 83.6906 )
|
|
|
|
|
2020-08-17 17:27:28 +02:00
|
|
|
[node name="walls" type="Node2D" parent="Opening2"]
|
2020-08-17 14:37:07 +02:00
|
|
|
|
2020-08-17 17:27:28 +02:00
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="Opening2/walls"]
|
2020-08-17 12:15:41 +02:00
|
|
|
position = Vector2( -6.22136, 83.6906 )
|
2020-08-17 14:37:07 +02:00
|
|
|
|
2020-08-17 17:27:28 +02:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Opening2/walls/StaticBody2D"]
|
2020-08-17 14:37:07 +02:00
|
|
|
position = Vector2( 99.7793, 36.875 )
|
|
|
|
shape = SubResource( 1 )
|
|
|
|
|
2020-08-17 17:27:28 +02:00
|
|
|
[node name="StaticBody2D2" type="StaticBody2D" parent="Opening2/walls"]
|
2020-08-17 14:37:07 +02:00
|
|
|
position = Vector2( -6.22136, 83.6906 )
|
|
|
|
|
2020-08-17 17:27:28 +02:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Opening2/walls/StaticBody2D2"]
|
2020-08-17 14:37:07 +02:00
|
|
|
position = Vector2( 101.948, -20.3563 )
|
|
|
|
shape = SubResource( 2 )
|
|
|
|
|
2020-08-17 17:27:28 +02:00
|
|
|
[node name="StaticBody2D3" type="StaticBody2D" parent="Opening2/walls"]
|
2020-08-17 14:37:07 +02:00
|
|
|
position = Vector2( -6.22136, 83.6906 )
|
|
|
|
|
2020-08-17 17:27:28 +02:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Opening2/walls/StaticBody2D3"]
|
2020-08-17 14:37:07 +02:00
|
|
|
position = Vector2( -25.6957, 6 )
|
|
|
|
shape = SubResource( 3 )
|
|
|
|
|
2020-08-17 17:27:28 +02:00
|
|
|
[node name="StaticBody2D4" type="StaticBody2D" parent="Opening2/walls"]
|
2020-08-17 14:37:07 +02:00
|
|
|
position = Vector2( -6.22136, 83.6906 )
|
|
|
|
|
2020-08-17 17:27:28 +02:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Opening2/walls/StaticBody2D4"]
|
2020-08-17 14:37:07 +02:00
|
|
|
position = Vector2( 224.921, 6 )
|
|
|
|
shape = SubResource( 3 )
|
|
|
|
|
2020-08-17 17:27:28 +02:00
|
|
|
[node name="next_step_trigger" type="Area2D" parent="Opening2"]
|
2020-08-17 14:37:07 +02:00
|
|
|
position = Vector2( -6.22136, 83.6906 )
|
|
|
|
script = ExtResource( 5 )
|
|
|
|
root_path = NodePath("../..")
|
|
|
|
|
2020-08-17 17:27:28 +02:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Opening2/next_step_trigger"]
|
2020-08-17 14:37:07 +02:00
|
|
|
position = Vector2( 210.738, 5 )
|
|
|
|
shape = SubResource( 4 )
|
2020-08-17 17:27:28 +02:00
|
|
|
|
|
|
|
[node name="Opening1" type="AnimatedSprite" parent="."]
|
|
|
|
visible = false
|
|
|
|
frames = ExtResource( 1 )
|
|
|
|
centered = false
|