wenwen
wenwen

探索網路世界和進入區塊鏈的過程或許很平凡,但我就是想分享給大家,若能幫助到有需要幫助的人,那就更好了。 有幫到你的話,記得按下方拍手圖,不需花你任何金錢,免費註冊Liker ID,就可對我化讚為賞:https://button.like.co/willie5068

029第12章 A SHIP THAT FIRES BULLETS_續6_

一口氣PO了三篇

💛20230129 晨讀感言:

💔我們習慣使用的 十進位(含小數點) ,與在電腦螢幕 上使用screen.get_rect() 方法 來標示位置 所使用的 rect.x 是不同 的資料型態,一個是 float ,另一個 是 int 。

💛晨讀摘要:

💚242 We’re using decimal values for the speed setting to give us finer control of the ship’s speed when we increase the tempo of the game later on. However, rect attributes such as x store only integer values, so we need to make some modifications to Ship。

from:《python crash course》

CC BY-NC-ND 2.0 版权声明

喜欢我的文章吗?
别忘了给点支持与赞赏,让我知道创作的路上有你陪伴。

加载中…
加载中…

发布评论