123456789101112131415161718192021222324252627282930313233343536373839404142 |
- [gd_scene load_steps=3 format=2]
- [ext_resource path="res://moving_platform.gd" type="Script" id=1]
- [ext_resource path="res://moving_platform.png" type="Texture" id=2]
- [node name="moving_platform" type="Node2D"]
- script = ExtResource( 1 )
- motion = Vector2( 0, 0 )
- cycle = 1.0
- [node name="platform" type="RigidBody2D" parent="."]
- input_pickable = false
- collision_layer = 1
- collision_mask = 1
- mode = 3
- mass = 1.0
- friction = 1.0
- bounce = 0.0
- gravity_scale = 1.0
- custom_integrator = false
- continuous_cd = 0
- contacts_reported = 0
- contact_monitor = false
- sleeping = false
- can_sleep = true
- linear_velocity = Vector2( 0, 0 )
- linear_damp = -1.0
- angular_velocity = 0.0
- angular_damp = -1.0
- [node name="Sprite" type="Sprite" parent="platform"]
- texture = ExtResource( 2 )
- [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="platform"]
- build_mode = 0
- polygon = PoolVector2Array( -88, -24, 88, -24, 88, 24, -88, 24 )
|