MovingPlatform.tscn 539 B

12345678910111213141516
  1. [gd_scene load_steps=3 format=2]
  2. [ext_resource path="res://platform/moving_platform.gd" type="Script" id=1]
  3. [ext_resource path="res://platform/moving_platform.png" type="Texture" id=2]
  4. [node name="MovingPlatform" type="Node2D"]
  5. script = ExtResource( 1 )
  6. [node name="Platform" type="KinematicBody2D" parent="."]
  7. [node name="Sprite" type="Sprite" parent="Platform"]
  8. texture = ExtResource( 2 )
  9. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Platform"]
  10. polygon = PoolVector2Array( -88, -24, 88, -24, 88, 24, -88, 24 )