Hello, I wanted to make a trampoline object, how could I do it? Thank you
Develop games in your browser. Powerful, performant & highly capable.
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.
http://www.scirra.com/forum/how-do-i-bend-objects_t111925[/code:8mt1lqqh]
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.
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 <img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing">
Oh, I don't know how to do that, sorry .
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.
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
Hi statham, its very basic using the platform emulate, play about with the global variables, hopefully it will help.
https://drive.google.com/file/d/0B2ztlkoVxR-FRVl1TEJlZi1DcHc/view?usp=sharing[/code:q1o7u7nv]
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