platform.tscn 949 B

12345678910111213141516171819202122232425262728293031
  1. [gd_scene load_steps=6 format=2]
  2. [ext_resource path="res://addons/node25d/node_25d.gd" type="Script" id=1]
  3. [ext_resource path="res://addons/node25d/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 = -3996
  10. script = ExtResource( 1 )
  11. __meta__ = {
  12. "_editor_icon": ExtResource( 2 )
  13. }
  14. [node name="PlatformMath" type="StaticBody3D" parent="."]
  15. collision_layer = 1048575
  16. collision_mask = 1048575
  17. [node name="CollisionShape3D" type="CollisionShape3D" parent="PlatformMath"]
  18. shape = SubResource( 1 )
  19. __meta__ = {
  20. "_edit_lock_": true
  21. }
  22. [node name="PlatformSprite" type="Sprite2D" parent="."]
  23. scale = Vector2(0.5, 0.5)
  24. texture = ExtResource( 3 )
  25. script = ExtResource( 4 )