platform.tscn 989 B

1234567891011121314151617181920212223242526272829303132
  1. [gd_scene load_steps=6 format=2]
  2. [ext_resource path="res://addons/node25d-cs/Node25D.cs" type="Script" id=1]
  3. [ext_resource path="res://addons/node25d-cs/icons/node_25d_icon.png" type="Texture2D" id=2]
  4. [ext_resource path="res://assets/platform/textures/forty_five.png" type="Texture2D" id=3]
  5. [ext_resource path="res://assets/platform/platform_sprite.gd" type="Script" id=4]
  6. [sub_resource type="BoxShape3D" id=1]
  7. extents = Vector3(5, 0.5, 5)
  8. [node name="Platform" type="Node2D"]
  9. z_index = -3954
  10. script = ExtResource( 1 )
  11. __meta__ = {
  12. "_editor_icon": ExtResource( 2 )
  13. }
  14. spatialPosition = Vector3(0, 0, 0)
  15. [node name="PlatformMath" type="StaticBody3D" parent="."]
  16. collision_layer = 1048575
  17. collision_mask = 1048575
  18. [node name="CollisionShape3D" type="CollisionShape3D" parent="PlatformMath"]
  19. shape = SubResource( 1 )
  20. __meta__ = {
  21. "_edit_lock_": true
  22. }
  23. [node name="PlatformSprite" type="Sprite2D" parent="."]
  24. scale = Vector2(0.5, 0.5)
  25. texture = ExtResource( 3 )
  26. script = ExtResource( 4 )