Physics or something
This commit is contained in:
1 parent
32f912df9e
commit
9a2e3d8b58
12 files changed
+293
-34
No files matched your search
@@ -0,0 +1,21 @@
|
||||
[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"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_fj7yv"]
|
||||
size = Vector2(16, 16)
|
||||
|
||||
[node name="Player2D" type="CharacterBody2D" unique_id=889851478]
|
||||
script = ExtResource("1_sy00s")
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="." unique_id=962368438]
|
||||
zoom = Vector2(1.2, 1.2)
|
||||
position_smoothing_enabled = true
|
||||
position_smoothing_speed = 0.5
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=77404965]
|
||||
texture = ExtResource("2_p3026")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1294571021]
|
||||
shape = SubResource("RectangleShape2D_fj7yv")
|
||||
Reference in new issue
Block a user