How do I make a float platform

Get help using Construct 2

Post » Mon Jul 22, 2013 6:45 am

Hi Guys, I am new to Construct 2 and am trying to make an action game, where a fish swims at the surface of the ocean and you can tab the screen to make it jump or dive.

What i have tried is make the fish a platform and make gravity 0 so that it doesnt fall, and make float at the certain height. but now without a solid, the fish cannot jump (not even mention dive).

Could some one point me to the right direction? Is a platform behavior the right one to use?

Thanks heaps
B
4
S
1
Posts: 6
Reputation: 369

Post » Wed Jul 24, 2013 5:36 am

any one?
B
4
S
1
Posts: 6
Reputation: 369

Post » Wed Jul 24, 2013 9:51 am

try the physics behavior instead. With that you can apply a impulse in a direction (for your jump) and you could do the same with reversed gravity for your dive.
B
20
S
6
G
4
Posts: 347
Reputation: 4,451

Post » Mon Jul 29, 2013 1:03 am

interesting.... i might try this:

initially, gravity = 0 to make it float,

on jump, impulse up and apply gravity.

on dive, reverse gravity and impulse down


Thanks
B
4
S
1
Posts: 6
Reputation: 369


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, cb130felix, Kermad, Lancifer, tarek2 and 8 guests