What is the velocity and dx, day values in a game? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the velocity and dx, day values in a game?

How can we add velocity, speed, direction etc. While we are coding a game. Also, how can we use those in a function?

8th May 2019, 5:58 AM
Dhruva Shah
1 Answer
0
Just create variables for them. float velocity = 0
8th May 2019, 8:22 AM
Dragonxiv
Dragonxiv - avatar