moving_platform.tscn 434 B

123456789101112
  1. [gd_scene load_steps=2 format=3 uid="uid://dtbrdmojpvetu"]
  2. [ext_resource type="Texture2D" uid="uid://cde7btbdorp8f" path="res://platform/moving_platform.png" id="2"]
  3. [node name="MovingPlatform" type="CharacterBody2D"]
  4. [node name="Sprite2D" type="Sprite2D" parent="."]
  5. texture = ExtResource("2")
  6. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
  7. polygon = PackedVector2Array(-44, -12, 44, -12, 44, 12, -44, 12)