diff options
| author | LeightonGinty <leightonginty@gmail.com> | 2022-10-29 13:57:17 +0100 |
|---|---|---|
| committer | LeightonGinty <leightonginty@gmail.com> | 2022-10-29 13:57:17 +0100 |
| commit | 67d551a4b2867d943247eb5be720020de1117034 (patch) | |
| tree | 4e2e2b1e798f54203438b6e5051dd6d53ecb01d5 /Node2D.tscn | |
movement
Diffstat (limited to 'Node2D.tscn')
| -rw-r--r-- | Node2D.tscn | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Node2D.tscn b/Node2D.tscn new file mode 100644 index 0000000..c4b47a3 --- /dev/null +++ b/Node2D.tscn @@ -0,0 +1,20 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://icon.png" type="Texture" id=1] +[ext_resource path="res://KinematicBody2D.gd" type="Script" id=2] + +[sub_resource type="CircleShape2D" id=1] + +[node name="Node2D" type="Node2D"] +position = Vector2( 46, 10 ) + +[node name="KinematicBody2D" type="KinematicBody2D" parent="."] +position = Vector2( 149, 52 ) +input_pickable = true +script = ExtResource( 2 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"] +shape = SubResource( 1 ) + +[node name="Sprite" type="Sprite" parent="KinematicBody2D/CollisionShape2D"] +texture = ExtResource( 1 ) |
