2020-08-17 14:37:07 +02:00
|
|
|
[gd_scene load_steps=10 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]
|
|
|
|
[ext_resource path="res://scenes/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]
|
|
|
|
|
|
|
|
[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 )
|
|
|
|
|
|
|
|
[node name="Opening" type="AnimatedSprite" parent="."]
|
|
|
|
visible = false
|
|
|
|
frames = ExtResource( 1 )
|
|
|
|
centered = false
|
|
|
|
|
2020-08-17 14:37:07 +02:00
|
|
|
[node name="Open2" type="Node2D" parent="."]
|
|
|
|
|
|
|
|
[node name="Opening2Bg" type="AnimatedSprite" parent="Open2"]
|
|
|
|
frames = ExtResource( 2 )
|
|
|
|
centered = false
|
|
|
|
|
|
|
|
[node name="Player" parent="Open2" instance=ExtResource( 4 )]
|
|
|
|
position = Vector2( -6.22136, 83.6906 )
|
|
|
|
|
|
|
|
[node name="walls" type="Node2D" parent="Open2"]
|
|
|
|
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="Open2/walls"]
|
2020-08-17 12:15:41 +02:00
|
|
|
position = Vector2( -6.22136, 83.6906 )
|
2020-08-17 14:37:07 +02:00
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Open2/walls/StaticBody2D"]
|
|
|
|
position = Vector2( 99.7793, 36.875 )
|
|
|
|
shape = SubResource( 1 )
|
|
|
|
|
|
|
|
[node name="StaticBody2D2" type="StaticBody2D" parent="Open2/walls"]
|
|
|
|
position = Vector2( -6.22136, 83.6906 )
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Open2/walls/StaticBody2D2"]
|
|
|
|
position = Vector2( 101.948, -20.3563 )
|
|
|
|
shape = SubResource( 2 )
|
|
|
|
|
|
|
|
[node name="StaticBody2D3" type="StaticBody2D" parent="Open2/walls"]
|
|
|
|
position = Vector2( -6.22136, 83.6906 )
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Open2/walls/StaticBody2D3"]
|
|
|
|
position = Vector2( -25.6957, 6 )
|
|
|
|
shape = SubResource( 3 )
|
|
|
|
|
|
|
|
[node name="StaticBody2D4" type="StaticBody2D" parent="Open2/walls"]
|
|
|
|
position = Vector2( -6.22136, 83.6906 )
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Open2/walls/StaticBody2D4"]
|
|
|
|
position = Vector2( 224.921, 6 )
|
|
|
|
shape = SubResource( 3 )
|
|
|
|
|
|
|
|
[node name="next_step_trigger" type="Area2D" parent="Open2"]
|
|
|
|
position = Vector2( -6.22136, 83.6906 )
|
|
|
|
script = ExtResource( 5 )
|
|
|
|
root_path = NodePath("../..")
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Open2/next_step_trigger"]
|
|
|
|
position = Vector2( 210.738, 5 )
|
|
|
|
shape = SubResource( 4 )
|