Bar.tscn 476 B

123456789101112131415
  1. [gd_scene load_steps=3 format=3 uid="uid://dpbr2u8co4824"]
  2. [ext_resource type="Texture2D" uid="uid://co3mhslawua87" path="res://slides/204/physics_demo/clay.png" id="1"]
  3. [sub_resource type="RectangleShape2D" id="1"]
  4. size = Vector2(248, 120.412)
  5. [node name="Bar" type="StaticBody2D"]
  6. [node name="Sprite" type="Sprite2D" parent="."]
  7. scale = Vector2(8, 4)
  8. texture = ExtResource("1")
  9. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  10. shape = SubResource("1")