Falling smoothly

#1

I am planning to make a platformer, and I am new to this program so does anyone know how to make an object fall smoothly?

0 Likes

#2

can u give more detail, for the fall smoothly, u can adjust the framerate in the project setting, like set it 30, and make a animation, it will become more smoothky~

0 Likes

#3

Ohh, i mean like in a game. I’m trying to make a game, so maybe what I mean is variables could help?

0 Likes

#4

use slow in and slow out. i didn’t take the time to really code it, but i’ll try to explain it.
var i = 0;
if (character isn’t on a platform) {
i += 1;
character.yPos -= 1;
};
if (character is on a platform) {
i = 0;
};
go along these lines. (i haven’t done code in wick, but i tried :smiley:)

0 Likes

#5

Thanks for your help

0 Likes

#6

@awc95014 great start to this and a good suggestion!

@MakerMan, I have a slightly different way to do a smooth fall, which is to use fake gravity. Here’s a project I made in the alpha editor that implements some super basic fake gravity. Check it out and let me know what you think.

FakeGravity.wick (2.6 KB)

0 Likes