Pads.tscn 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://scripts/OutboundPad.gd" type="Script" id=1]
  3. [ext_resource path="res://scripts/Pads.gd" type="Script" id=2]
  4. [ext_resource path="res://scripts/IncomingPad.gd" type="Script" id=3]
  5. [sub_resource type="BoxShape" id=1]
  6. [node name="Pads" type="Spatial"]
  7. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.2808, 0, 5.4267 )
  8. script = ExtResource( 2 )
  9. [node name="JumpPadOut" type="Spatial" parent="."]
  10. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.29982 )
  11. script = ExtResource( 1 )
  12. [node name="Area" type="Area" parent="JumpPadOut"]
  13. collision_mask = 9
  14. [node name="CollisionShape" type="CollisionShape" parent="JumpPadOut/Area"]
  15. transform = Transform( 0.687351, 0, 0, 0, 1, 0, 0, 0, 2.28388, 0.836665, 0, 0 )
  16. shape = SubResource( 1 )
  17. [node name="orient" type="Spatial" parent="JumpPadOut"]
  18. transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 0 )
  19. [node name="JumpPadIn" type="Spatial" parent="."]
  20. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1.7362 )
  21. script = ExtResource( 3 )
  22. left = false
  23. [node name="orient" type="Spatial" parent="JumpPadIn"]
  24. transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, 0.589586 )
  25. [node name="Area" type="Area" parent="JumpPadIn"]
  26. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.527389 )
  27. collision_mask = 9
  28. [node name="CollisionShape" type="CollisionShape" parent="JumpPadIn/Area"]
  29. transform = Transform( 0.687351, 0, 0, 0, 1, 0, 0, 0, 2.28388, 0.836665, 0, 0 )
  30. shape = SubResource( 1 )
  31. [connection signal="body_entered" from="JumpPadOut/Area" to="JumpPadOut" method="_on_Area_body_entered"]
  32. [connection signal="body_entered" from="JumpPadIn/Area" to="JumpPadIn" method="_on_Area_body_entered"]