Clickteam Fusion 2.5

Clickteam Fusion 2.5

platform movement object gravity help
I am making a game, and i'm using the platform object as my movement engine.. I want to know how I would rotate the gravity in the world. similar as to what is done at the end of LIMBO.
< >
1-7 / 7 のコメントを表示
Just modify the ladder movement I had post in your other thread.

alterable value "gravcontrol" = 0 set gravity to (default value) and set y acceleration to 0
alterable value "gravcontrol" = 1 set gravity to 0 and set y acceleration to (whatever speed you prefer)

Just use invisible obstacles that set gravcontrol to 0 or 1 when you overlap them.
hmmm.... yeah that'd probably be good. i'll put it in the game now and see if it works
ok! it works! now I want to make it feel smoother... like instead of just a random shift, the regular gravity decreases until it's the negative gravity... does this make sense? picture jumping in a pool
quintenplague の投稿を引用:
ok! it works! now I want to make it feel smoother... like instead of just a random shift, the regular gravity decreases until it's the negative gravity... does this make sense? picture jumping in a pool

Hrm, if I'm not mistaken, the pmo object should handle that itself. Say if your max y accleration is 1000 and your current y acceleration is -100, it should gradually go to -1000.

If for whatever reason its not, then change the second event to something like this:
alterable value "gravcontrol" = 1 set gravity to 0 and set y acceleration to current y acceleration - 50.

What that does is subtract 50 from the current y acceleration. y accleration is backwards, so negative values move up, and positive values move down.
I don't see anything about Y acceleration. What is that one going to be? if i'm correct it would be velocity?
最近の変更はQuintenPlagueが行いました; 2016年5月19日 17時41分
O I GOT IT WORKING
thanks!
< >
1-7 / 7 のコメントを表示
ページ毎: 1530 50

投稿日: 2016年5月15日 8時16分
投稿数: 7