flappy-bird/Main.tscn

33 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2024-04-16 10:44:28 +00:00
[gd_scene load_steps=6 format=3 uid="uid://lm2d6kimhksi"]
2020-01-14 21:20:17 +00:00
2024-04-18 13:53:19 +00:00
[ext_resource type="Script" path="res://Main.gd" id="1"]
[ext_resource type="PackedScene" uid="uid://bkppr8vsso41l" path="res://Player.tscn" id="2"]
2024-04-16 10:44:28 +00:00
[ext_resource type="Texture2D" uid="uid://1wdcw8ne7j5w" path="res://res/sprites.png" id="3"]
[ext_resource type="PackedScene" path="res://UI.tscn" id="4"]
2020-01-14 21:20:17 +00:00
2024-04-16 10:44:28 +00:00
[sub_resource type="AtlasTexture" id="1"]
atlas = ExtResource("3")
region = Rect2(0, 0, 144, 256)
2020-01-14 21:20:17 +00:00
2020-01-29 20:51:40 +00:00
[node name="View" type="Node2D"]
2024-04-16 10:44:28 +00:00
script = ExtResource("1")
2020-01-14 21:20:17 +00:00
2024-04-16 10:44:28 +00:00
[node name="Player" parent="." instance=ExtResource("2")]
position = Vector2(210, 320)
2020-01-15 13:43:08 +00:00
collision_layer = 0
2024-04-16 10:44:28 +00:00
gravity = 0.0
2020-01-29 20:51:40 +00:00
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"]
2024-04-16 10:44:28 +00:00
motion_scale = Vector2(0.5, 1)
motion_mirroring = Vector2(420, 0)
2020-01-29 20:51:40 +00:00
2024-04-16 10:44:28 +00:00
[node name="Sprite2D" type="Sprite2D" parent="ParallaxBackground/ParallaxLayer"]
position = Vector2(209.839, 320)
scale = Vector2(2.91891, 2.5)
texture = SubResource("1")
region_rect = Rect2(0, 0, 144, 256)
2020-04-08 10:40:43 +00:00
2024-04-16 10:44:28 +00:00
[node name="UI" parent="." instance=ExtResource("4")]