2016年4月27日 星期三

球的方向

function draw() { ctx.clearRect(0, 0, canvas.width, canvas.height); drawBall(); x -= dx; y -= dy; }
++右上
+-右下
-+左上
--左下

沒有留言:

張貼留言