32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
[gd_scene format=3 uid="uid://pmnwck5v0ntm"]
|
|
|
|
[ext_resource type="Script" uid="uid://cojhnj15psd2x" path="res://player_2d.gd" id="1_sy00s"]
|
|
[ext_resource type="Texture2D" uid="uid://ccxq1fh72bsdk" path="res://art/player.png" id="2_p3026"]
|
|
[ext_resource type="Texture2D" uid="uid://dpdxs6gjmexgh" path="res://art/background.png" id="3_p3026"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_fj7yv"]
|
|
size = Vector2(10, 16)
|
|
|
|
[node name="Player2D" type="CharacterBody2D" unique_id=889851478]
|
|
script = ExtResource("1_sy00s")
|
|
|
|
[node name="Parallax2D" type="Parallax2D" parent="." unique_id=270393374]
|
|
repeat_size = Vector2(1, 1)
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Parallax2D" unique_id=1267606565]
|
|
scale = Vector2(100, 100)
|
|
texture = ExtResource("3_p3026")
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="." unique_id=962368438]
|
|
zoom = Vector2(1.75, 1.75)
|
|
process_callback = 0
|
|
position_smoothing_enabled = true
|
|
position_smoothing_speed = 3.0
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=77404965]
|
|
texture_filter = 1
|
|
texture = ExtResource("2_p3026")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1294571021]
|
|
shape = SubResource("RectangleShape2D_fj7yv")
|