playMaker

Author Topic: How to use Gravity with 2d game.  (Read 3705 times)

DingoMan

  • Playmaker Newbie
  • *
  • Posts: 4
How to use Gravity with 2d game.
« on: August 21, 2012, 07:46:55 AM »
Hi,
I am know to unity and playmaker so...  ;)

I have build a character with animation sprites ( I use sprite manager 2)
I made the character move with controller move action, but now I want to make her jump.
When I try to use gravity nothing happen...
I use - set gravity
         use gravity
         set mass

but nothing happen...

What can I do?

Thanks

Dingo

Slater

  • Full Member
  • ***
  • Posts: 123
Re: How to use Gravity with 2d game.
« Reply #1 on: August 21, 2012, 08:47:05 AM »

DingoMan

  • Playmaker Newbie
  • *
  • Posts: 4
Re: How to use Gravity with 2d game.
« Reply #2 on: August 21, 2012, 09:25:10 AM »
Thanks... my char is jumping now :)

but I think I am still lost... I am trying to build a 2d platform game, do you have any idea where I can see or buy tutorials about it?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: How to use Gravity with 2d game.
« Reply #3 on: August 21, 2012, 09:27:08 AM »
Hi,

 have you checked the jump game I ported in playmaker using M2H game examples?

https://hutonggames.fogbugz.com/default.asp?W880
https://hutonggames.fogbugz.com/default.asp?W890

if not, download the package, and follow the documentation, I tried to describe each Fsm accuratly, so you should have no problem understand what they do and why.

bye,

 Jean