flappy-bird/Main.tscn
2020-04-08 12:40:43 +02:00

32 lines
1 KiB
Text

[gd_scene load_steps=6 format=2]
[ext_resource path="res://Camera2D.gd" type="Script" id=1]
[ext_resource path="res://Player.tscn" type="PackedScene" id=2]
[ext_resource path="res://res/sprites.png" type="Texture" id=3]
[ext_resource path="res://UI.tscn" type="PackedScene" id=4]
[sub_resource type="AtlasTexture" id=1]
atlas = ExtResource( 3 )
region = Rect2( 0, 0, 144, 256 )
[node name="View" type="Node2D"]
script = ExtResource( 1 )
[node name="Player" parent="." instance=ExtResource( 2 )]
position = Vector2( 210, 320 )
gravity = 0.0
collision_layer = 0
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"]
motion_scale = Vector2( 0.5, 1 )
motion_mirroring = Vector2( 420, 0 )
[node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayer"]
position = Vector2( 209.839, 320 )
scale = Vector2( 2.91891, 2.5 )
texture = SubResource( 1 )
region_rect = Rect2( 0, 0, 144, 256 )
[node name="UI" parent="." instance=ExtResource( 4 )]