diff options
| author | freddie-a <57713959+freddie-a@users.noreply.github.com> | 2022-10-29 15:02:52 +0100 |
|---|---|---|
| committer | mark9064 <57713959+freddie-a@users.noreply.github.com> | 2022-10-29 15:02:52 +0100 |
| commit | 484c3b4f7eb02ee8fbebd0f806ff432f94caaa62 (patch) | |
| tree | 13c0b1e9c1df8c188157a3315cdf905b31ceecd3 /Player.tscn | |
| parent | 2132a6b7740df74e5e37b44e1a3752d7e7dc159e (diff) | |
Split into scenes
Diffstat (limited to 'Player.tscn')
| -rw-r--r-- | Player.tscn | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Player.tscn b/Player.tscn new file mode 100644 index 0000000..7084f49 --- /dev/null +++ b/Player.tscn @@ -0,0 +1,19 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://KinematicBody2D.gd" type="Script" id=1] +[ext_resource path="res://icon.png" type="Texture" id=2] + +[sub_resource type="CircleShape2D" id=1] + +[node name="KinematicBody2D" type="KinematicBody2D"] +position = Vector2( 299, 140 ) +input_pickable = true +script = ExtResource( 1 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource( 1 ) + +[node name="Sprite" type="Sprite" parent="CollisionShape2D"] +position = Vector2( -15.5, -15 ) +scale = Vector2( 0.515625, 0.53125 ) +texture = ExtResource( 2 ) |
