shadow_25d.tscn 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. [gd_scene load_steps=7 format=3 uid="uid://ivolxaqaaddk"]
  2. [ext_resource type="Script" path="res://addons/node25d/node_25d.gd" id="1"]
  3. [ext_resource type="Script" path="res://addons/node25d/shadow_math_25d.gd" id="3"]
  4. [ext_resource type="Texture2D" uid="uid://dunp4dxxpftxb" path="res://addons/node25d/icons/shadow_math_25d_icon.png" id="4"]
  5. [ext_resource type="Texture2D" uid="uid://4fvxohv2aowy" path="res://assets/shadow/textures/forty_five.png" id="5"]
  6. [ext_resource type="Script" path="res://assets/shadow/shadow_sprite.gd" id="6"]
  7. [sub_resource type="BoxShape3D" id="1"]
  8. size = Vector3(1, 0.002, 1)
  9. [node name="Shadow25D" type="Node2D"]
  10. visible = false
  11. position = Vector2(0, 22401.1)
  12. script = ExtResource("1")
  13. spatial_position = Vector3(0, -990, 0)
  14. [node name="ShadowMath25D" type="CharacterBody3D" parent="."]
  15. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -990, 0)
  16. collision_layer = 16
  17. collision_mask = 16
  18. script = ExtResource("3")
  19. __meta__ = {
  20. "_editor_icon": ExtResource("4")
  21. }
  22. [node name="CollisionShape3D" type="CollisionShape3D" parent="ShadowMath25D"]
  23. shape = SubResource("1")
  24. [node name="ShadowSprite" type="Sprite2D" parent="."]
  25. texture_filter = 2
  26. scale = Vector2(0.5, 0.5)
  27. texture = ExtResource("5")
  28. script = ExtResource("6")