Monday, June 1, 2015


Reviewed how to create simple player control.  This should be a lot less complicated due to lack of jumping/ground detection.

Made a sprite.

Set up new project.

Achieved player movement in 8 directions.

Phrases used:

if(Input.GetKey (KeyCode.A)&&Input.GetKey (KeyCode.W) )
            GetComponent<Rigidbody2D>().velocity = new Vector2 (-speedForce, speedForce);


No comments:

Post a Comment