flappy-bird/Main.tscn

31 lines
1,006 B
Text
Raw Permalink Normal View History

2020-01-29 21:51:40 +01:00
[gd_scene load_steps=5 format=2]
2020-01-14 22:20:17 +01:00
[ext_resource path="res://Camera2D.gd" type="Script" id=1]
2020-01-29 21:51:40 +01:00
[ext_resource path="res://Player.tscn" type="PackedScene" id=2]
[ext_resource path="res://res/sprites.png" type="Texture" id=3]
2020-01-14 22:20:17 +01:00
2020-01-29 21:51:40 +01:00
[sub_resource type="AtlasTexture" id=1]
atlas = ExtResource( 3 )
region = Rect2( 0, 0, 144, 256 )
2020-01-14 22:20:17 +01:00
2020-01-29 21:51:40 +01:00
[node name="View" type="Node2D"]
script = ExtResource( 1 )
2020-01-14 22:20:17 +01:00
2020-01-29 21:51:40 +01:00
[node name="Player" parent="." instance=ExtResource( 2 )]
position = Vector2( 210, 320 )
2020-01-15 14:43:08 +01:00
gravity = 0.0
collision_layer = 0
2020-01-29 21:51:40 +01:00
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"]
motion_scale = Vector2( 0.5, 1 )
motion_mirroring = Vector2( 420, 0 )
2020-02-08 11:36:48 +01:00
[node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayer"]
2020-01-29 21:51:40 +01:00
position = Vector2( 209.839, 320 )
scale = Vector2( 2.91891, 2.5 )
texture = SubResource( 1 )
region_rect = Rect2( 0, 0, 144, 256 )
2020-01-14 22:20:17 +01:00
[connection signal="move" from="Player" to="." method="_on_Player_move"]