How to make a 2D Platformer – CHARACTER – Unity Tutorial number 5′

Updated on April 13, 2016 in [A] Brackeys Courses
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
12 on April 4, 2016

I have a question regarding the ‘How to make a 2D Platformer – CHARACTER – Unity Tutorial number 5’. Where can I get the Platformer Character 2D script for this video. It is not in the Brackey’s 2D assets pack.

When I rewrite the code I am getting an error

Assets/SampleAssets/2D/Scripts/PlatformerCharacter2D.cs(35,9): error CS1525: Unexpected symbol ‘}’

Do you have any suggestions

  • Liked by
Reply
2 on April 4, 2016

Google it , this question already have been asked by someone . 🙂

on April 4, 2016

Do you have any suggestions

on April 4, 2016

Cheers. I have searched the Brackey’s forum and found a similar topic but the error wasn’t the same as the one that I have encountered. When I rewrite the code I am getting an error

Assets/SampleAssets/2D/Scripts/PlatformerCharacter2D.cs(35,9): error CS1525: Unexpected symbol ‘}’

Do you have any suggestions

Show more replies
  • Liked by
Reply
Cancel
3 on April 4, 2016

Cheers. I have searched the Brackey’s forum and found a similar topic but the error wasn’t the same as the one that I have encountered. When I rewrite the code I am getting an error

Assets/SampleAssets/2D/Scripts/PlatformerCharacter2D.cs(35,9): error CS1525: Unexpected symbol ‘}’

 
on April 4, 2016

Do you have any suggestions

Devoted
on April 4, 2016

Well this time , you can create a new topic and copy paste the script 🙂

on April 6, 2016

Cheers

Show more replies
  • Liked by
Reply
Cancel
0 on April 6, 2016

Cheers

  • Liked by
Reply
Cancel
3 on April 6, 2016

Assets/SampleAssets/2D/Scripts/PlatformerCharacter2D.cs(35,9): error CS1525: Unexpected symbol ‘}’

On row 35, 9 characters in, you have an unexpected }

on April 7, 2016

Cheers. I was previously getting the above error but noted that I was missing a semi-colon on line 37. This  was the error.

Assets/SampleAssets/2D/Scripts/PlatformerCharacter2D.cs(39,9): error CS1525: Unexpected symbol ‘}’

But now I am getting two errors which state

Assets/SampleAssets/2D/Scripts/PlatformerCharacter2D.cs(37,121): error CS1026 Unexpected symbol ‘;’, expecting ‘)’

Assets/SampleAssets/2D/Scripts/PlatformerCharacter2D.cs(38,25):error CS1026: Unexpected symbol ‘)’, expecting ‘)’

When I change the symbols to the ones suggested in the Console error window I get another error stating

Assets/SampleAssets/2D/Scripts/PlatformerCharacter2D.cs(38,25): error CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement.

How would I go about getting the copy paste script for the Platformer Character 2D script in the ‘How to make a 2D Platformer – CHARACTER – Unity Tutoril number 5’.

 
Wise
on April 9, 2016

Although not for tutorial #5, Brackey’s has the scripts from tutorial 8 onwards.. SO you could use the scripts from there onwards I guess…

The scripts are in the 2D Assets Pack which can be found *Here*

on April 13, 2016

Cheers

Show more replies
  • Liked by
Reply
Cancel