Bar.tscn 428 B

123456789101112131415161718
  1. [gd_scene load_steps=3 format=2]
  2. [ext_resource path="res://labs/cascade/component/bar/clay.png" type="Texture" id=1]
  3. [sub_resource type="RectangleShape2D" id=1]
  4. extents = Vector2( 31, 15.0513 )
  5. [node name="Bar" type="StaticBody2D"]
  6. [node name="Sprite" type="Sprite" parent="."]
  7. scale = Vector2( 2, 1 )
  8. texture = ExtResource( 1 )
  9. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  10. shape = SubResource( 1 )