FANDOM


Hunter
250px

Type

player

Creator

unknown

Destroyable?

yes

Projectiles

Melee
DrawMelee

Taker?

yes

Movement

walk, jump & use sword

Solid?

yes

Costs

no pips

Special properties

none

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.

XMLEdit

<object name="Hunter" type="player" color="0xff3d3d" instructions="Arrow keys or WASD to move. Space to attack.">
	<shape destroyable="true">
		<perimeter>
			<polygon x="0" y="0">
				<vertex x="0.16" y="-0.59"/>
				<vertex x="0.21" y="0.24"/>
				<vertex x="0.04" y="0.4"/>
				<vertex x="-0.04" y="0.4"/>
				<vertex x="-0.21" y="0.24"/>
				<vertex x="-0.16" y="-0.59"/>
			</polygon>
		</perimeter>
		<visual priority="8" sourcePixelsPerMeter="40"/>
		<physics source="perimeter" gravity="true" density="1.05" bounciness="0.05" friction="1.0" solid="true" anchored="false" angleLock="true" collisionSoundURL="assets/gameAssets/woodLight.mp3" collisionSoundPriority="1"/>
	</shape>
	<controller>
		<always>
			<targetTypeNearest targetType="mouse"/>
			<lookAtTarget secondaryDisplayLayerOnly="true"/>
			<regulateSpeed min="0" max="editable"/>
		</always>
		<always mustBeAirborne="true" facingLeft="true">
			<playAnim animLabel="airborneLeft"/>
		</always>
		<always mustBeAirborne="true" facingRight="true">
			<playAnim animLabel="airborneRight"/>
		</always>
		<always mustBeGrounded="true" notLateral="true" facingLeft="true">
			<playAnim animLabel="idleLeft"/>
		</always>
		<always mustBeGrounded="true" notLateral="true" facingRight="true">
			<playAnim animLabel="idle"/>
		</always>
		<always mustBeGrounded="true" facingLeft="true" movingRight="true">
			<playAnim animLabel="idleLeft"/>
		</always>
		<always mustBeGrounded="true" facingRight="true" movingLeft="true">
			<playAnim animLabel="idle"/>
		</always>
		<always mustBeGrounded="true" facingLeft="true" movingLeft="true">
			<playAnim animLabel="movingLeft"/>
		</always>
		<always mustBeGrounded="true" facingRight="true" movingRight="true">
			<playAnim animLabel="movingRight"/>
		</always>
		<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>
	</controller>
</object>

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.