You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
1234567891011121314151617181920212223242526
  1. [gd_scene load_steps=6 format=2]
  2. [ext_resource path="res://jrpg/models/coinGold.glb" type="PackedScene" id=1]
  3. [ext_resource path="res://jrpg/scripts/entities/pickup.gd" type="Script" id=2]
  4. [ext_resource path="res://jrpg/models/gold.material" type="Material" id=3]
  5. [ext_resource path="res://jrpg/models/wood.material" type="Material" id=4]
  6. [sub_resource type="SphereShape" id=1]
  7. radius = 0.436751
  8. [node name="Pickup" type="Area"]
  9. script = ExtResource( 2 )
  10. [node name="coinGold" parent="." instance=ExtResource( 1 )]
  11. transform = Transform( 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, -0.402459, 0 )
  12. [node name="coinGold" parent="coinGold/tmpParent" index="0"]
  13. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
  14. material/0 = ExtResource( 3 )
  15. material/1 = ExtResource( 4 )
  16. [node name="CollisionShape" type="CollisionShape" parent="."]
  17. shape = SubResource( 1 )
  18. [connection signal="body_entered" from="." to="." method="_on_Pickup_body_entered"]
  19. [editable path="coinGold"]