Help with Planet Physics and Jump

Get help using Construct 2

Post » Mon Aug 31, 2015 5:49 pm

Hello guys,

I have a physical problem in my project.
I have a planet where my player moves around it via the keyboard.
When he jumps and is out of the gravitational field (yellow circle), I would like to retorar the standard physical and make him fall down naturally. But before falling, it is rising in veritcal. And I wish he just fell.

Can you help me? (Sorry, but I can't permission to post URL about my .capx file)
My file .capx https : //goo.gl/hQSjSJ

To make it clearer understanding, I would make a game like TA Little Red Riding Hood
I would like a result like this www . youtube.com/watch?v=paySxNHeuUI

This is my EventSheet
Image

This is my layout game
My player has a Platform behavior and my Planet have a Solid behavior (just it)

Image
Last edited by guslarsen on Wed Sep 02, 2015 1:34 pm, edited 3 times in total.
B
6
S
2
Posts: 8
Reputation: 514

Post » Tue Sep 01, 2015 10:30 pm

Your description is vague and you need to post the image links in text.
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
23
S
6
G
1
Posts: 1,419
Reputation: 4,857

Post » Wed Sep 02, 2015 1:24 pm

@gumshoe2029 My file .capx https : //goo.gl/hQSjSJ

When the player leaves the gravitational orbits it is forced upward, but it should only fall.

I would like a result like this www . youtube.com/watch?v=paySxNHeuUI
B
6
S
2
Posts: 8
Reputation: 514

Post » Thu Sep 03, 2015 5:31 pm

You probably want to use the sprite collision detection, then see if the Physics behavior has a flag something like:

if Sperm sprite is colliding with planet sprite
then
Sperm sprite physics flag = off

then you can just manually move the sperm sprite around the planet object.
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
23
S
6
G
1
Posts: 1,419
Reputation: 4,857


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests