Some Changes for Unity 5 - Unity 2D Platformer Tutorial
Unity 5 has some very minor changes that we need to be aware of with this tutorial series.
Just as a note for your reference, every time we have placed rigidbody2d.velocity in a script we need to add a variable at the start e.g.:
public Rigidbody2D myrigidbody2D;
then in the Start function we need to add: (note youtube wont allow brackets in description so replace appropriate brackets in code below)
myrigidbody2D = GetComponent*sharp bracket*Rigidbody2D*Sharp bracket* *Open and close normal brackets* ;
and finally wherever we call rigidbody2D.velocity we need to replace it with myrigidbody2D.velocity
You can of course call that variable anything you want, but myrigidbody2D is a very handy and simple way to refer to it.
The only other small change is to ensure "Apply Root Motion" is unchecked in the animator for both the player and the enemies.
Get the art assets used in the episode here -- https://www.dropbox.com/s/g9zvktnk5fd1zk9/GamesPlusJames_Unity_2D_Tutorial_Resources.zip?dl=0
Get the scripts and project files used in this series & help support the channel over at http://www.patreon.com/gamesplusjames
Get Unity here -- http://www.unity3d.com/download
Don't forget to hit that like button and if you'd like to see more gaming goodness then hit this link to subscribe for more! http://www.youtube.com/subscription_center?add_user=gamesplusjames
And you can also find me on twitter and facebook!
Twitter - http://www.twitter.com/gamesplusjames
Facebook - http://www.facebook.com/gamesplusjames
Outro music "Theme for Harold var 1" by Kevin McLeod - http://www.incompetech.com
Other Videos By gamesplusjames
Other Statistics
R.O.O.T. Statistics For gamesplusjames
Currently, gamesplusjames has 16,510 views for R.O.O.T. across 1 video. Less than an hour worth of R.O.O.T. videos were uploaded to his channel, less than 0.05% of the total video content that gamesplusjames has uploaded to YouTube.