How do I make a trampoline

Get help using Construct 2

Post » Mon Nov 21, 2016 6:16 pm

Hello, I wanted to make a trampoline object, how could I do it? Thank you ;)
B
13
S
2
Posts: 297
Reputation: 1,717

Post » Tue Nov 22, 2016 10:50 am

:|
B
13
S
2
Posts: 297
Reputation: 1,717

Post » Tue Nov 22, 2016 1:03 pm

Hi, checkout the second last post on this page, there's really cool rubber.capx by RojoHound which should put a smile on your face. ;)
Code: Select all
http://www.scirra.com/forum/how-do-i-bend-objects_t111925
B
13
S
3
G
2
Posts: 38
Reputation: 1,428

Post » Tue Nov 22, 2016 5:46 pm

Player on collision with Trampoline
--------Player platform is falling
--------Player Y < Trampoline.Y ------------------------- Player set platform vector Y to -500

You can replace the "-500" with the value you want.
B
41
S
10
G
9
Posts: 213
Reputation: 7,089

Post » Wed Nov 23, 2016 7:10 pm

anty21ro wrote:Player on collision with Trampoline
--------Player platform is falling
--------Player Y < Trampoline.Y ------------------------- Player set platform vector Y to -500

You can replace the "-500" with the value you want.

Why does it come at right angles? I want to put a trampoline from another angle
https://www.dropbox.com/s/awhvx63fwb4w711/tra.capx :lol:
B
13
S
2
Posts: 297
Reputation: 1,717

Post » Wed Nov 23, 2016 7:27 pm

Oh, I don't know how to do that, sorry :) .
B
41
S
10
G
9
Posts: 213
Reputation: 7,089

Post » Thu Nov 24, 2016 11:42 am

:( thank you anyway.
Can somebody help me? I want it to bounce towards the other direction not that it bounces straight as in the example.
B
13
S
2
Posts: 297
Reputation: 1,717

Post » Thu Nov 24, 2016 1:21 pm

I think you explain me wrong, what I want to do is when the red object touches the black object will come out propelled but not return to the black object
It is not an exact trampoline :|
B
13
S
2
Posts: 297
Reputation: 1,717

Post » Thu Nov 24, 2016 7:09 pm

Hi statham, its very basic using the platform emulate, play about with the global variables, hopefully it will help.
Code: Select all
https://drive.google.com/file/d/0B2ztlkoVxR-FRVl1TEJlZi1DcHc/view?usp=sharing
B
13
S
3
G
2
Posts: 38
Reputation: 1,428

Post » Fri Nov 25, 2016 11:33 am

I guess u want to use physics behaviour. Try to disable the platform behaviour of the player and increase the elasticity. Try and tell if u want something like that. Of course, disable the line that says set Vector Y -500
B
6
S
2
Posts: 61
Reputation: 1,099


Return to How do I....?

Who is online

Users browsing this forum: LunaticCat and 5 guests