SimCommon

Used by

This little ball is used only for the mini-game in the MOM level. It has no purpose except FUN!

<ball name="SimCommon"
      shape="circle,12,0.125"
      mass="10"
      towermass="3.5"
      strands="2"
      walkspeed="0.1"
      climbspeed="2.0"
      speedvariance="0.2"
      detachable="false"
      jump="0.4,1.2"
 
	  autobounds="true"
      >
 
  <marker drag="IMAGE_BALL_SIMCOMMON_DRAGMARKER" 
          detach="IMAGE_BALL_SIMCOMMON_DRAGMARKER" 
          rotspeed="2"/>
 
  <strand type="spring" 
          image="IMAGE_BALL_SIMCOMMON_STRAND" 
          inactiveimage="IMAGE_BALL_SIMCOMMON_STRAND" 
          springconstmin="2" springconstmax="3" 
          dampfac="1.9" 
          maxlen2="50" maxlen1="80" 
          maxforce="600"
          minlen="40"/>
 
  <part name="body"
        layer="1" 
        x="0" y="0" 
        image="IMAGE_BALL_SIMCOMMON_BODY" 
        rotate="true" 
        scale="0.5"
        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="1.0" amp="0.1" shift="0"   />
    <sinanim part="body"             state="walking" type="scale"     axis="y" freq="1.0" amp="0.1" shift="0.5" />
    <sinanim part="body"             state="walking" type="translate" axis="y" freq="1.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="1.0" amp="0.1" shift="0"   />
    <sinanim part="body"             state="climbing" type="scale"     axis="y" freq="1.0" amp="0.1" shift="0.5" />
    <sinanim part="body"             state="climbing" type="translate" axis="y" freq="1.0" amp="2"   shift="0"   />
  </sinvariance>
 
 
 
  <!-- Sound FX -->
 
 
 
</ball>