Search found 3 matches

by XBiscuits
Sat Dec 02, 2017 12:31 am
Forum: Support and Development
Topic: How do i create a auto moving character without any user inputs
Replies: 4
Views: 892

Re: How do i create a auto moving character without any user inputs

If you take away the if where you check if someone's pressing the key, the characters moves without any user input. In this case it keeps moving forward function love.update(dt) player.y = player.y + player.speed * dt end thanks!! now that`s the use of delta time.. one question.. if i change the va...
by XBiscuits
Sat Dec 02, 2017 12:27 am
Forum: Support and Development
Topic: How do i create a auto moving character without any user inputs
Replies: 4
Views: 892

Re: How do i create a auto moving character without any user inputs

Question: What do you think could possibly happen if you do the same that you did with the y axis to the x axis, but without the if loop? (And btw, you might want to use dt to calculate your movement.) Ahhh so i need the dt to create a much smoother control system? and that`s what i am missing in m...
by XBiscuits
Fri Dec 01, 2017 7:14 am
Forum: Support and Development
Topic: How do i create a auto moving character without any user inputs
Replies: 4
Views: 892

How do i create a auto moving character without any user inputs

Hi!! Im have this idea of creating a endless runner but i cant seem to create a function for the player's character to move forward without any user inputs(much like how flappy bird moves forward) please help me get some idea in how to do this and how it works so that i can implement it on future st...