shadow_25d.tscn 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. [gd_scene load_steps=8 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://addons/node25d-cs/ShadowMath25D.cs" type="Script" id=3]
  5. [ext_resource path="res://addons/node25d-cs/icons/shadow_math_25d_icon.png" type="Texture2D" id=4]
  6. [ext_resource path="res://assets/shadow/textures/forty_five.png" type="Texture2D" id=5]
  7. [ext_resource path="res://assets/shadow/shadow_sprite.gd" type="Script" id=6]
  8. [sub_resource type="BoxShape3D" id=1]
  9. extents = Vector3(0.5, 0.001, 0.5)
  10. [node name="Shadow25D" type="Node2D"]
  11. visible = false
  12. script = ExtResource( 1 )
  13. __meta__ = {
  14. "_editor_icon": ExtResource( 2 )
  15. }
  16. spatialPosition = Vector3(0, 10, 0)
  17. [node name="ShadowMath25D" type="CharacterBody3D" parent="."]
  18. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 10, 0)
  19. collision_layer = 16
  20. collision_mask = 16
  21. script = ExtResource( 3 )
  22. __meta__ = {
  23. "_editor_icon": ExtResource( 4 )
  24. }
  25. [node name="CollisionShape3D" type="CollisionShape3D" parent="ShadowMath25D"]
  26. shape = SubResource( 1 )
  27. __meta__ = {
  28. "_edit_lock_": true
  29. }
  30. [node name="ShadowSprite" type="Sprite2D" parent="."]
  31. scale = Vector2(0.5, 0.5)
  32. texture = ExtResource( 5 )
  33. script = ExtResource( 6 )