我正在嘗試使用pygame在一個簡單的2D窗口中模擬重力。 ... 20 # pixels per update along the y axis gravity = 0.4 # deduction on initial_speed per update.
確定! 回上一頁