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 van 7 reacties weergegeven
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
Origineel geplaatst door 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?
Laatst bewerkt door QuintenPlague; 19 mei 2016 om 17:41
O I GOT IT WORKING
< >
1-7 van 7 reacties weergegeven
Per pagina: 1530 50

Geplaatst op: 15 mei 2016 om 8:16
Aantal berichten: 7