Please Help,
I wanted to make a game of marbles, the form of the game such as billiards or pool.
How do I set the ball?
is there someone who has a project file example of a game like this?
I expect any help you all, thanks.
Develop games in your browser. Powerful, performant & highly capable.
Nalsa try to walk before you can run. Using Physics you can do it. Here is Physic tutorial
https://www.scirra.com/tutorials/1157/p ... ng-physics
For the balls you could use the Physics behavior with a circle collision shape and zero gravity. To hit a ball simply apply an impulse to it.
Everything including collisions, responses and such is handled, without your intervention, by box2D through the Physics behavior. Good luck.