Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by Carolyn K. Barton

  1. C

    JavaScript JavaScript: how to keep track of the circle in canvas on specific path?

    A little update I managed to do what was required initially, <style> #canvas { border: 1px solid black; } </style> <div id="msg"> Waiting</div> <div> <canvas id="canvas" width="500" height="300"></canvas> </div> <script> var gameStarted = false, negscore = 0; var canvas =...
  2. C

    JavaScript JavaScript: how to keep track of the circle in canvas on specific path?

    Hi, everyone I have following code I want the filled circle to remain within the drawn path or dont slip out of the curved (although it can) if it happens the game ends, (I don't want to bound it to the path) I have been working on this can't help myself finding a solution. <html> <head>...
Back
Top Bottom