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?
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~
Ohh, i mean like in a game. I’m trying to make a game, so maybe what I mean is variables could help?
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 )
Thanks for your help
@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)
Yeah, also I want to know how to make a character not go through something.