GearTypes: hog facing dir
authorWuzzy
Wed, 04 Oct 2017 20:12:03 +0100
changeset 1061 f5bc09b93b64
parent 1060 7b2cde186c96
child 1062 40a80eb9d8cc
GearTypes: hog facing dir
GearTypes.wiki
--- a/GearTypes.wiki	Wed Oct 04 15:21:47 2017 +0100
+++ b/GearTypes.wiki	Wed Oct 04 20:12:03 2017 +0100
@@ -173,6 +173,7 @@
  * `Radius`: Collision radius. Default: 9
  * `Boom`: Explosion size and damage caused when the hedgehog dies (default: 30)
  * `FlightTime`: Time (in milliseconds) since the hedgehog stood the last time on solid ground
+ * `dX`: Contains the horizontal speed (obviously). But also tells you which way the hog is looking. If negative, hog is facing left, otherwise it's facing right
 
 Hedgehogs also make heavy use of the gear state, see [States]. [GearMessages Gear messages] are used for controlling a hedgehogs movement and actions (e.g. moving left, attacking, jumping, etc.)