Skip to content

Instantly share code, notes, and snippets.

View chaseWilliams's full-sized avatar

Chase Williams chaseWilliams

  • Together
  • Provo, UT
View GitHub Profile
@chaseWilliams
chaseWilliams / controller.cs
Created October 19, 2017 21:04
Old School Platformer Controls in Unity
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerControllerOldSchool : MonoBehaviour
{
public float jumpForce = 800f;
public float moveSpeed = 5f;
@chaseWilliams
chaseWilliams / controller.cs
Created October 19, 2017 21:03
Realistic Platformer Movement in Unity
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour {
public float jumpForce = 800f;
public float moveForce = 5000f;
public float maxSpeed = 5f;