Skip to content

Instantly share code, notes, and snippets.

@jquave
Created December 10, 2013 01:37
Show Gist options
  • Select an option

  • Save jquave/7884450 to your computer and use it in GitHub Desktop.

Select an option

Save jquave/7884450 to your computer and use it in GitHub Desktop.
using UnityEngine;
using System.Collections;
public class PlayerSettings : MonoBehaviour {
// Player settings
public float slideTime = 0.5f;
public float walkSpeed = 2.0f;
public float maxWalkSpeed = 4.0f;
public float initialJumpSpeed = 5.5f;
public float airFriction = 0.4f;
public float slideFriction = 0.4f;
public float walkFriction = 1.0f;
public float walkAcceleration = 70.0f;
public float maxJumpHeight = 2.0f;
public float jumpAccumulationVelocity = 0.2f;
public float jumpAccumulationTime = 0.5f;
public float maxFallSpeed = -7.0f;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment