summaryrefslogtreecommitdiff
path: root/demos/2d/space_shooter/tileset_edit.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'demos/2d/space_shooter/tileset_edit.tscn')
-rw-r--r--demos/2d/space_shooter/tileset_edit.tscn35
1 files changed, 35 insertions, 0 deletions
diff --git a/demos/2d/space_shooter/tileset_edit.tscn b/demos/2d/space_shooter/tileset_edit.tscn
new file mode 100644
index 0000000000..87152a1818
--- /dev/null
+++ b/demos/2d/space_shooter/tileset_edit.tscn
@@ -0,0 +1,35 @@
+[gd_scene load_steps=3 format=1]
+
+[ext_resource path="res://tile.png" type="Texture" id=1]
+
+[sub_resource type="RectangleShape2D" id=1]
+
+custom_solver_bias = 0.0
+extents = Vector2( 16, 16 )
+
+[node name="Node2D" type="Node2D"]
+
+[node name="block" type="Sprite" parent="."]
+
+texture = ExtResource( 1 )
+
+[node name="StaticBody2D" type="StaticBody2D" parent="block"]
+
+input/pickable = false
+shapes/0/shape = SubResource( 1 )
+shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
+shapes/0/trigger = false
+collision/layers = 1
+collision/mask = 1
+constant_linear_velocity = Vector2( 0, 0 )
+constant_angular_velocity = 0.0
+friction = 1.0
+bounce = 0.0
+
+[node name="CollisionShape2D" type="CollisionShape2D" parent="block/StaticBody2D"]
+
+shape = SubResource( 1 )
+trigger = false
+_update_shape_index = -1
+
+