RetroPlatformer/addons/platformer_controller/DemoScene.tscn

74 lines
2.1 KiB
Plaintext

[gd_scene load_steps=7 format=2]
[ext_resource path="res://icon.png" type="Texture" id=1]
[ext_resource path="res://addons/platformer_controller/platformer_controller.gd" type="Script" id=2]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 512, 56 )
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 208, 56 )
[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 32, 304 )
[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 32, 32 )
[node name="Main" type="Node2D"]
[node name="StaticBody2D" type="StaticBody2D" parent="."]
position = Vector2( 520, 544 )
[node name="ColorRect" type="ColorRect" parent="StaticBody2D"]
margin_left = -520.0
margin_top = -56.0
margin_right = 504.0
margin_bottom = 56.0
color = Color( 0, 0.443137, 0.027451, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2( -8, 0 )
shape = SubResource( 1 )
[node name="StaticBody2D2" type="StaticBody2D" parent="."]
position = Vector2( 520, 360 )
[node name="ColorRect" type="ColorRect" parent="StaticBody2D2"]
margin_left = -520.0
margin_top = 16.0
margin_right = -104.0
margin_bottom = 128.0
color = Color( 0, 0.443137, 0.027451, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"]
position = Vector2( -312, 72 )
shape = SubResource( 2 )
[node name="StaticBody2D3" type="StaticBody2D" parent="."]
position = Vector2( 520, 360 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"]
position = Vector2( -552, -64 )
shape = SubResource( 3 )
[node name="CollisionShape2D2" type="CollisionShape2D" parent="StaticBody2D3"]
position = Vector2( 536, -64 )
shape = SubResource( 3 )
[node name="PlatformerController2D" type="KinematicBody2D" parent="."]
position = Vector2( 272, 167 )
script = ExtResource( 2 )
[node name="icon" type="Sprite" parent="PlatformerController2D"]
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="PlatformerController2D"]
shape = SubResource( 4 )