Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: kallavun on July 28, 2014, 12:21:11 PM

Title: How to make a Running Game?
Post by: kallavun on July 28, 2014, 12:21:11 PM
I want to make a running game.

i tried translate to simulate for contionusly running. but it stucks on obstacles.(box in screenshot)

how can i fix this?

please help me.
Title: Re: How to make a Running Game?
Post by: kallavun on July 28, 2014, 12:25:05 PM

i want to make a game like this.
Title: Re: How to make a Running Game?
Post by: kallavun on July 29, 2014, 04:02:35 AM
What a Friendly Community  :'( :'( :'(
Title: Re: How to make a Running Game?
Post by: escpodgames on July 29, 2014, 05:07:00 AM
It's hard to understand the issue. So you translate the character (assuming it has collision and a rigid body?) and it gets stuck on the box (which also has collision and rigid body set to kinematic?) If you can upload an example or better explain the setup.
Title: Re: How to make a Running Game?
Post by: kallavun on July 29, 2014, 06:36:50 AM
Thanks For Reply.

I am very very new to unity and playmaker, and i want to make a game like at #post2.

my target is clear.
character must run to right side continuously.
on a click or touch simulate jump.

sorry for bad english and thanks again.
factory bird is a good game really. congrulations.
Title: Re: How to make a Running Game?
Post by: escpodgames on July 29, 2014, 06:58:33 AM
Sounds like you want to jump once you hit the box, you could do this by applying a force or adding a value to the position over time.
Title: Re: How to make a Running Game?
Post by: kallavun on July 29, 2014, 04:43:03 PM
these are my methods but not good enough.

how to simulate running;
 - i tried translate action, if collide with an object, it shakes and can't jump.
 - i tried add force it is good, but need to immobilize speed. With time  character moves faster and faster.

how to simulate jumping;
 - i use add force and impulse option.

please someone give me advices.
thank you.
Title: Re: How to make a Running Game?
Post by: kallavun on July 30, 2014, 03:06:31 AM
Controller Simple Move is great for simulate running.
I am trying for jumping event now.