Hero.prefab 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0"?>
  2. <node id="20555">
  3. <attribute name="Is Enabled" value="true" />
  4. <attribute name="Name" value="Hero" />
  5. <attribute name="Position" value="0 0 0" />
  6. <attribute name="Rotation" value="1 0 0 0" />
  7. <attribute name="Scale" value="1 1 1" />
  8. <attribute name="Variables" />
  9. <component type="AnimatedSprite2D" id="1979">
  10. <attribute name="Layer" value="100" />
  11. <attribute name="Animation Set" value="AnimationSet2D;Sprites/Hero/Hero.scml" />
  12. <attribute name="Animation" value="Run" />
  13. </component>
  14. <component type="RigidBody2D" id="1982">
  15. <attribute name="Body Type" value="Dynamic" />
  16. <attribute name="Mass" value="0.785398" />
  17. <attribute name="Fixed Rotation" value="true" />
  18. <attribute name="Bullet" value="true" />
  19. <attribute name="CastShadows" value="false" />
  20. </component>
  21. <component type="CollisionCircle2D" id="1984">
  22. <attribute name="Radius" value="0.5" />
  23. <attribute name="Category Bits" value="1" />
  24. <attribute name="Mask Bits" value="65535" />
  25. <attribute name="Density" value="1" />
  26. <attribute name="Restitution" value="0.1" />
  27. </component>
  28. <component type="JSComponent" id="4617">
  29. <attribute name="FieldValues">
  30. <variant hash="3172950753" type="ResourceRef" value="Sound;Sounds/Jump13.ogg" />
  31. </attribute>
  32. <attribute name="ComponentFile" value="JSComponentFile;Components/Player.js" />
  33. </component>
  34. <component type="SoundSource" id="26471" />
  35. </node>