playMaker

Author Topic: 2D Physics Based Platformer Tutorial  (Read 104640 times)

cloud03

  • Full Member
  • ***
  • Posts: 249
  • Viva Playmaker!
    • Milkish Game Studios Blog
2D Physics Based Platformer Tutorial
« on: December 03, 2013, 07:31:29 PM »
[UPDATE, 05/16/2014] New Episodes for the 2.5D Series, which is part 9 cover Deploying onto Android Device.

Hi guys, I've just uploaded a physics based platform setup tutorial purely using playmaker, here is the link:

Part 1 - Basic Movement:

Part 2 - Moving Platform:

Part 3 - Ledge Grab and Climb:

Part 4 - Converting to Mecanim:

Part 4a - Mecanim Tweaks:

Part 5 - Rope Swing:

Part 6 - Ladder System:

Part 7 - Weapon System:

Part 8 - Adding Enemy:

Part 9 - Android Deployment:


2D Sprite Based Platformer:

Part 1 - Basic Movement

Part 2 - One Way and Moving Platform


PS:English is not my native language, so please excuse if there any part that are unclear, you can just comment and I will reply ASAP, or maybe discuss it here...
« Last Edit: May 16, 2015, 12:46:12 PM by cloud03 »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15602
  • Official Playmaker Support
Re: 2D Physics Based Platformer Tutorial
« Reply #1 on: December 04, 2013, 05:03:03 AM »
Hi,

 This is very much welcomed!! thanks for this.

It would be good you share the project too, that will help people relate to what you are saying and see it in unity as well, it's very important. Also so that they can compare with their own attempt later, and prevent the typical ( it doesn't work, tho I did exactly like how you said :) )


Bye,

 Jean

cloud03

  • Full Member
  • ***
  • Posts: 249
  • Viva Playmaker!
    • Milkish Game Studios Blog
Re: 2D Physics Based Platformer Tutorial
« Reply #2 on: December 06, 2013, 03:23:40 AM »
thanks for the feedback jean...

I've sent you a PM regarding sharing the project files, could you check it?

Thanks

cloud03

  • Full Member
  • ***
  • Posts: 249
  • Viva Playmaker!
    • Milkish Game Studios Blog
Re: 2D Physics Based Platformer Tutorial
« Reply #3 on: December 11, 2013, 05:07:49 AM »
updated, just added the 2nd part, which deals moving platform... :)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15602
  • Official Playmaker Support
Re: 2D Physics Based Platformer Tutorial
« Reply #4 on: December 11, 2013, 02:24:18 PM »
Hi,

 can you bump me next week on this? thanks :)

bye,

 Jean

cloud03

  • Full Member
  • ***
  • Posts: 249
  • Viva Playmaker!
    • Milkish Game Studios Blog
Re: 2D Physics Based Platformer Tutorial
« Reply #5 on: December 21, 2013, 10:11:47 AM »
Hi Jean, I've sent you a private message regarding your suggestion for sharing project files, could you check it? Thanks

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15602
  • Official Playmaker Support
Re: 2D Physics Based Platformer Tutorial
« Reply #6 on: December 26, 2013, 09:24:23 AM »
Hi,

 I have nothing in my pm inbox coming from Cloud03, can you send me your message again? thanks,

 Bye,

 Jean

cloud03

  • Full Member
  • ***
  • Posts: 249
  • Viva Playmaker!
    • Milkish Game Studios Blog
Re: 2D Physics Based Platformer Tutorial
« Reply #7 on: December 26, 2013, 10:16:48 AM »
I've sent it to your mail by mistake....please check it, thanks

parallel

  • Full Member
  • ***
  • Posts: 155
Re: 2D Physics Based Platformer Tutorial
« Reply #8 on: December 26, 2013, 12:46:22 PM »
Excellent, really helpful tutorials cloud03.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15602
  • Official Playmaker Support
Re: 2D Physics Based Platformer Tutorial
« Reply #9 on: December 27, 2013, 05:48:45 AM »
Hi,

 yes, received. As far as packaging. You should not put the PlayMaker Folder at all iny our package, that will be the best approach.

So you should create a single top level folder with all your assets in there and package that folder only.

If in doubt simply send me packages and I'll validate them.

Bye,

 Jean

parallel

  • Full Member
  • ***
  • Posts: 155
Re: 2D Physics Based Platformer Tutorial
« Reply #10 on: December 27, 2013, 03:36:08 PM »
I haven't had any real success with physics and characters before so have avoided that so far, so your tutorial is a good starting point. I have a question that may be better suited in the unity forums 'absolute 101', but anyways; why does my character, after having set up rigidbody and capsule collider with the getAxis+setVelocity, tip over on the capsule colider? pressing left or right will initially just tip him one way or the other on the capsule coliders axis until the bot is flat on the floor and then you can drag him either way lying down, what am I missing?

Edit: I had frozen the wrong axis  ::)
« Last Edit: December 27, 2013, 06:07:36 PM by parallel »

cloud03

  • Full Member
  • ***
  • Posts: 249
  • Viva Playmaker!
    • Milkish Game Studios Blog
Re: 2D Physics Based Platformer Tutorial
« Reply #11 on: December 27, 2013, 08:25:47 PM »
Hahaha that is also happens to me when I first trying to create this...glad you got this sorted...

I'm in the middle of creating the next lesson on adding rope jump, and hang on the ledge, hopefully I can release it soon....

cloud03

  • Full Member
  • ***
  • Posts: 249
  • Viva Playmaker!
    • Milkish Game Studios Blog
Re: 2D Physics Based Platformer Tutorial
« Reply #12 on: January 07, 2014, 06:50:20 AM »
Hi guys, finally got the time to finish the third series of the tutorial, which covers ledge grabbing and climbing...so enjoy guys!

Feel free to ask if there is any part that are unclear..cheers

KomalR

  • Playmaker Newbie
  • *
  • Posts: 16
Re: 2D Physics Based Platformer Tutorial
« Reply #13 on: January 24, 2014, 10:23:36 AM »
This is really great. I've been looking for this kind of tutorial, in the end you'll get a sorta finished game, type. All I've been getting are bits of tutorial that are not carried onto the next video. They are great but doesn't help a noob like me.. :p

Anyway, looking forward to the next part.

softreset

  • Playmaker Newbie
  • *
  • Posts: 1
Re: 2D Physics Based Platformer Tutorial
« Reply #14 on: February 02, 2014, 05:18:28 AM »
Hi Jean, I've sent you a private message regarding your suggestion for sharing project files, could you check it? Thanks
Is there any project files? Sorry, I don't see any, althought tutorial is self explanatory and very wll done, thanks for sharing your knowledge.