y = maxspeed; // Now we have our final velocity. Use it to update our position, and move our object pos += vel; sprite.setPosition(pos); ...
確定! 回上一頁