Distant

Used by

  • MapWorldView

These are the tiny balls that appear in the distance on the main title screen. You can pick them up and throw them around!

<ball name="Distant"
      shape="circle,10,0.25"
      mass="30"
      towermass="7.5" 
      strands="2" 
      walkspeed="0.1"
      climbspeed="2.0"
      speedvariance="0.2" 
      detachable="true" 
      jump="0.4,1.2"
      >
 
  <marker drag="IMAGE_BALL_DISTANT_DRAGMARKER" 
          detach="IMAGE_BALL_DISTANT_DETACHMARKER" 
          rotspeed="2"/>
 
  <particles id="sleepyZzz" states="sleeping" overball="true" />
 
  <strand type="spring" 
          image="IMAGE_BALL_DISTANT_STRAND" 
          inactiveimage="IMAGE_BALL_DISTANT_STRAND" 
          springconstmin="6" springconstmax="6" 
          dampfac="1.9" 
          maxlen2="50" maxlen1="80" 
          maxforce="600"
          minlen="40"/>
 
  <detachstrand image="IMAGE_BALL_DISTANT_DSTRAND" maxlen="60" />
 
  <splat image="IMAGE_BALL_DISTANT_SPLAT1,IMAGE_BALL_DISTANT_SPLAT2"/>
 
  <part name="body"
        layer="1" 
        x="0" y="0" 
        image="IMAGE_BALL_DISTANT_BODY" 
        rotate="true" 
        scale="0.5625"
        stretch="12,2,0.5"/>
 
 
  <!-- walking animations -->
  <sinvariance freq="1.2" amp="0.1" shift="0.0">
    <sinanim part="body"             state="walking" type="scale"     axis="x" freq="2.0" amp="0.1" shift="0"   />
    <sinanim part="body"             state="walking" type="scale"     axis="y" freq="2.0" amp="0.1" shift="0.5" />
    <sinanim part="body"             state="walking" type="translate" axis="y" freq="2.0" amp="2"   shift="0"   />
  </sinvariance>
 
  <!-- attached animations -->
  <sinvariance freq=".6" amp="0.025" shift="0.0">
    <sinanim part="body"             state="attached" type="scale"     axis="x" freq="1.0" amp="0.07" shift="0"   />
    <sinanim part="body"             state="attached" type="scale"     axis="y" freq="1.0" amp="0.07" shift="0.5" />
  </sinvariance>
 
  <!-- dragging animations -->
  <sinvariance freq="1.5" amp="0.05" shift="0">
    <sinanim part="body" state="dragging" type="scale" axis="x" freq="1.0" amp="0.2" shift="0" />
    <sinanim part="body" state="dragging" type="scale" axis="y" freq="1.0" amp="0.2" shift="0.33" />
  </sinvariance>
 
 
  <!-- climbing animations -->
  <sinvariance freq="1.2" amp="0.1" shift="0.0">
    <sinanim part="body"             state="climbing" type="scale"     axis="x" freq="2.0" amp="0.1" shift="0"   />
    <sinanim part="body"             state="climbing" type="scale"     axis="y" freq="2.0" amp="0.1" shift="0.5" />
    <sinanim part="body"             state="climbing" type="translate" axis="y" freq="2.0" amp="2"   shift="0"   />
  </sinvariance>
 
 
 
 
  <!-- Sound FX -->
 
 
 
</ball>