I'm making a platform game. There's a ball in the game and I want it to move upwards. It is in perpetual motion horizontally, like a Flappy bird game. I want it to move up. How can I do it.
See Construct Templates
construct.net/en/tutorials/explaining-samples-flappy-bird-2645
I must have explained it wrong. I want my character to rise constantly. I'm not making a Flappy Bird game. Flappy Bird is moving horizontally, I want it to always move up in my game. Let my character move vertically
If you look at the Flappy Bird template, you will notice that the bird actually stands still. Who moves is the scenario on the X axis.
I didn't understand your project very well, but there are several ways to do it. You can simply change the X axis to Y (Vertical), or use Behaviors, such as the Bullet with the movement angle to 270º (Up) for example.
Every tick - Sprite A - Set Y to self.Y-1
increase the number to move faster
to smooth it out when using larger numbers use:
Every tick - Sprite A - Set Y to lerp(self.y,self.y-10,0.5)
again, increase the -10 number to make it faster
Every tick - Sprite A - Set Y to self.Y-1 increase the number to move faster to smooth it out when using larger numbers use: Every tick - Sprite A - Set Y to lerp(self.y,self.y-10,0.5) again, increase the -10 number to make it faster
Thanks for your answer. But when I write the parameters you give in my game, it goes down. I want the game to move up.
if you are using Y-1 then it will go up. If you use Y+1 it will go down.
Develop games in your browser. Powerful, performant & highly capable.
Thank you