Hunter

The Hunter is a Piece that haves an sword and haves its properties on:


 * Friction: High
 * Bounciness: Low
 * Heaviness: Medium
 * Max Speed: Medium
 * Power: Medium

His piece ID is 10561, his color is red, and he is a taker piece, like the Moon Child.

And, for anyone that don't know how to use his sword, just press the space bar.

He is destroyable, and use the WASD keys or arrow keys to move.

XML
                <always mustBeGrounded="true" notLateral="true" facingLeft="true"> <playAnim animLabel="idleLeft"/> <always mustBeGrounded="true" notLateral="true" facingRight="true"> <playAnim animLabel="idle"/> <always mustBeGrounded="true" facingLeft="true" movingRight="true"> <playAnim animLabel="idleLeft"/> <always mustBeGrounded="true" facingRight="true" movingLeft="true"> <playAnim animLabel="idle"/> <always mustBeGrounded="true" facingLeft="true" movingLeft="true"> <playAnim animLabel="movingLeft"/> <always mustBeGrounded="true" facingRight="true" movingRight="true"> <playAnim animLabel="movingRight"/> <keyPress key="UP" extraKey="W" action="OnDown" mustBeGrounded="true"> <thrust impulse="editable" onePerLife="false" offsetAng="90" absoluteAng="true"/> </keyPress> <keyPress key="RIGHT" extraKey="D" action="WhileDown" mustBeGrounded="true"> <thrust impulse="0.25" onePerLife="false" offsetAng="0" absoluteAng="true" groundHug="true"/> </keyPress> <keyPress key="LEFT" extraKey="A" action="WhileDown" mustBeGrounded="true"> <thrust impulse="0.25" onePerLife="false" offsetAng="180" absoluteAng="true" groundHug="true"/> </keyPress> <keyPress key="RIGHT" extraKey="D" action="WhileDown" mustBeAirborne="true"> <thrust impulse="0.15" onePerLife="false" offsetAng="0" absoluteAng="true"/> </keyPress> <keyPress key="LEFT" extraKey="A" action="WhileDown" mustBeAirborne="true"> <thrust impulse="0.15" onePerLife="false" offsetAng="180" absoluteAng="true"/> </keyPress> <keyPress key="SPACE" extraKey="CONTROL" action="OnDown" facingLeft="true"> <playAnim animLabel="shootLeft" blockAnim="true"/> <shoot projectile="Melee" xOffset="-0.9" yOffset="-0.25" impulse="0.0" angleOffset="180" onePerLife="false" inheritMomentum="true" reloadTime="0.1" blockAnim="true" angleAtTarget="false"/> <shoot projectile="DrawMelee" xOffset="-0.7" yOffset="0.0" impulse="0.0" angleOffset="180" onePerLife="false" inheritMomentum="true" reloadTime="0.1" blockAnim="true" angleAtTarget="false"/> <shoot projectile="Melee" xOffset="-0.9" yOffset="0.25" impulse="0.0" angleOffset="180" onePerLife="false" inheritMomentum="true" reloadTime="0.1" blockAnim="true" angleAtTarget="false"/> </keyPress> <keyPress key="SPACE" extraKey="CONTROL" action="OnDown" facingRight="true"> <playAnim animLabel="shootRight" blockAnim="true"/> <shoot projectile="Melee" xOffset="0.9" yOffset="-0.25" impulse="0.0" angleOffset="0" onePerLife="false" inheritMomentum="true" reloadTime="0.1" blockAnim="true" angleAtTarget="false"/> <shoot projectile="DrawMelee" xOffset="0.7" yOffset="0.0" impulse="0.0" angleOffset="0" onePerLife="false" inheritMomentum="true" reloadTime="0.1" blockAnim="true" angleAtTarget="false"/> <shoot projectile="Melee" xOffset="0.9" yOffset="0.25" impulse="0.0" angleOffset="0" onePerLife="false" inheritMomentum="true" reloadTime="0.1" blockAnim="true" angleAtTarget="false"/> </keyPress> <onDestroyed> <emitPFX lifetime="R(1,2.0)" quantity="14" scale="R(1,2) to 0.0" color_r="R(0.4,1.0)" color_g="R(0.4,1.0)" color_b="R(0.4,1.0)" inheritMomentum="false" resistance="R(0,0.05)" sourcePixelsPerMeter="40" velocity="R(0.5,2.5)" angleOffset="R(-100,-80)" gravity="false" visualURL="assets/gameAssets/photon_particle.png" inheritRotation="false" alpha="1.0 to 0.0" vAngle="0" xOffset="R(-.25,.25)" yOffset="R(-.4,.4)"/> </onDestroyed>