mirror of
https://github.com/ConjureETS/MeltedBananasOJam2016.git
synced 2026-03-24 02:21:06 +00:00
Merge branch 'master' of https://github.com/ConjureETS/MeltedBananasOJam2016
This commit is contained in:
commit
45b3f1633e
23
Assets/Scripts/PlayerMovement.cs
Normal file
23
Assets/Scripts/PlayerMovement.cs
Normal file
@ -0,0 +1,23 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class PlayerMovement : MonoBehaviour {
|
||||
|
||||
public float speed = 0f;
|
||||
public float turn = 0f;
|
||||
//private Rigidbody rb;
|
||||
|
||||
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
if (Input.GetKey(KeyCode.UpArrow))
|
||||
transform.Translate(Vector3.forward * speed * Time.deltaTime);
|
||||
if (Input.GetKey(KeyCode.DownArrow))
|
||||
transform.Translate(-Vector3.forward * speed * Time.deltaTime);
|
||||
if (Input.GetKey(KeyCode.LeftArrow))
|
||||
transform.Rotate(Vector3.up, -turn * Time.deltaTime);
|
||||
if (Input.GetKey(KeyCode.RightArrow))
|
||||
transform.Rotate(Vector3.up, turn * Time.deltaTime);
|
||||
}
|
||||
}
|
||||
28
README.md
Normal file
28
README.md
Normal file
@ -0,0 +1,28 @@
|
||||
##Team MeltedBananas @ OJam 2016
|
||||
|
||||
####Theme
|
||||
*Stay a while and listen*
|
||||
####Diversifier
|
||||
*Actions speak louder than words - Do not use words*
|
||||
|
||||
###Summary
|
||||
Core gameplay principles
|
||||
* 3D
|
||||
* Minimal look
|
||||
* Runner game
|
||||
* You do not see the level unless you stop moving
|
||||
|
||||
###Task list
|
||||
|
||||
* Playable character implementation
|
||||
* First person view (w/ controls of view and headbobbing) *Assigned to Alex*
|
||||
* Movement (jumping, etc) *Assigned to Kerby*
|
||||
* Gameplay mechanics
|
||||
* Fog of war
|
||||
* Falling tiles *Assigned to Hugo*
|
||||
* Stay a while mechanic *Assigned to Antoine*
|
||||
|
||||
###Possible traps/pick ups
|
||||
* Slow down time
|
||||
* Transparent structures
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user