flappy-bird/Main.tscn

33 lines
1.1 KiB
Text
Raw Permalink Normal View History

2024-04-16 12:44:28 +02:00
[gd_scene load_steps=6 format=3 uid="uid://lm2d6kimhksi"]
2020-01-14 22:20:17 +01:00
2024-04-18 15:53:19 +02: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 12:44:28 +02: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 22:20:17 +01:00
2024-04-16 12:44:28 +02: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"]
2024-04-16 12:44:28 +02:00
script = ExtResource("1")
2020-01-14 22:20:17 +01:00
2024-04-16 12:44:28 +02:00
[node name="Player" parent="." instance=ExtResource("2")]
position = Vector2(210, 320)
2020-01-15 14:43:08 +01:00
collision_layer = 0
2024-04-16 12:44:28 +02:00
gravity = 0.0
2020-01-29 21:51:40 +01:00
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"]
2024-04-16 12:44:28 +02:00
motion_scale = Vector2(0.5, 1)
motion_mirroring = Vector2(420, 0)
2020-01-29 21:51:40 +01:00
2024-04-16 12:44:28 +02: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 12:40:43 +02:00
2024-04-16 12:44:28 +02:00
[node name="UI" parent="." instance=ExtResource("4")]