English Japanese Korean Thai Traditional Chinese 简体中文
Publish Now
Publish Books Publish Media Products My Store Self Publish
Gold Log In Cart
Category
Browse all kinds of eBooks, magazines, videos by category
    More services
    • All You Can Read

    • Channels

    • Hot topics

    Language
    English Japanese Korean Thai Traditional Chinese 简体中文
    Back
    Category
    • Home

    • Books

    • Pubook E-Ink reader

    • Magazines

    • Media

    • Newspapers

    • Adult

    Back
    Books
    • All

    • Free to read

    • Finance

      Finance
      • All

      • Management

      • Investing

      • Marketing

    • Literature/Fiction

      Literature/Fiction
      • All

      • LGBTQ

      • Literature

      • Fiction

      • Romantic Fiction

    • Leisure Life

      Leisure Life
      • All

      • Recreation

      • Illustrated Book

      • Fortune Telling

      • Travel

      • Eating Habits

      • Fitness

    • Humanities

      Humanities
      • All

      • History/Geography

      • Law

      • Politics/Military

      • Applied Sciences

      • Natural Sciences

      • Philosophy

      • Biographies

      • Sociology

    • News/Entertainment

    • Language/Computers

      Language/Computers
      • All

      • Computers/Technology

      • Language

    • Religion/Spirituality

      Religion/Spirituality
      • All

      • Motivational

      • Health/Nutrition

      • Christianity

      • Buddhism

      • Taoism

      • Islam

      • Other Religions

      • Relationships

    • Mangas

      Mangas
      • All

      • Comics

      • Illustrations

      • Fan Works

      • Romance Mangas for Teens

      • Teenage Mangas

      • High School Mangas

      • Romance Mangas

      • Yaoi Mangas

      • GL Mangas

      • TL Mangas

      • Gay Mangas

      • Others

    • Art/Design

      Art/Design
      • All

      • Performance Art

      • Art

      • Design

      • Photography

    • Parenting/Relationships

      Parenting/Relationships
      • All

      • Education

      • Kids/Teenagers

      • Pregnancy/Childbirth

    • Exams

      Exams
      • All

      • Study

      • Government Exams

      • Financial Licenses

      • Teacher Exams

      • Professional Exams

      • TOEFL/TOEIC

      • Learning Skills

      • Official Publications

      • Job Hunting Exams

    • Photo Books

      Photo Books
      • All

      • Female Photo Books

      • Male Photo Books

    Back
    Magazines
    • All

    • Free to read

    • Finance

      Finance
      • All

      • Business Management

      • Investing

      • Direct Marketing

      • Advertising

      • Law

    • News/Entertainment

      News/Entertainment
      • All

      • News Analysis

      • General News

      • Stars

    • Leisure Life

      Leisure Life
      • All

      • Travel

      • Hobby

      • Family Life

      • Fitness

    • Art/Design

      Art/Design
      • All

      • Design

      • Art Appreciation

      • Decoration

      • Photography

    • Literature/Spirituality

      Literature/Spirituality
      • All

      • Literature

      • Christianity

      • Buddhism

    • Male Fashion

      Male Fashion
      • All

      • Fashion

    • Female Fashion

      Female Fashion
      • All

      • Urban Fashion

      • Teen Fashion

    • Car/Audio

      Car/Audio
      • All

      • Music/Audio

      • Cars/Motorbikes

    • Sports

      Sports
      • All

      • Basketball

      • Baseball

      • Outdoor Sports

    • Language/Computers

      Language/Computers
      • All

      • Computers/Technology

      • Natural Sciences

      • Language

    • Parenting/Relationships

      Parenting/Relationships
      • All

      • Pregnancy/Childbirth

      • Education

      • Books for Kids

      • Books for Teenagers

    • Photo Books

      Photo Books
      • All

      • Female Photo Books

      • Male Photo Books

    Back
    Media
    • All

    • Free to read

    • Careers

    • Careers
      • All

    • Investing

    • Investing
      • All

    • Parenting/Relationships

    • Parenting/Relationships
      • All

    • Art/Culture

    • Art/Culture
      • All

    • Religion/Spirituality

    • Religion/Spirituality
      • All

      • Buddhism

      • Christianity

      • Motivational

    • Exams

    • Exams
      • All

      • Government Exams

      • Learning Skills

      • Professional Exams

      • Teacher Exams

      • Study

      • Financial Licenses

    • Language

    • Language
      • All

    • Leisure Life

    • Leisure Life
      • All

    • Literature/Fiction

    • Literature/Fiction
      • All

    Back
    Newspapers
    • All

    • 工商時報

    • 中國時報

    • 旺報

    • 联合日報

    • 光華日報

    Back
    Adult
    • Free to read

    • Gay

    • Nude male

    • Lesbian

    • Nude female

    • Adult Manga

    Finance
    • All

    • Management

    • Investing

    • Marketing

    Literature/Fiction
    • All

    • LGBTQ

    • Literature

    • Fiction

    • Romantic Fiction

    Leisure Life
    • All

    • Recreation

    • Illustrated Book

    • Fortune Telling

    • Travel

    • Eating Habits

    • Fitness

    Humanities
    • All

    • History/Geography

    • Law

    • Politics/Military

    • Applied Sciences

    • Natural Sciences

    • Philosophy

    • Biographies

    • Sociology

    News/Entertainment
    • All

    Language/Computers
    • All

    • Computers/Technology

    • Language

    Religion/Spirituality
    • All

    • Motivational

    • Health/Nutrition

    • Christianity

    • Buddhism

    • Taoism

    • Islam

    • Other Religions

    • Relationships

    Mangas
    • All

    • Comics

    • Illustrations

    • Fan Works

    • Romance Mangas for Teens

    • Teenage Mangas

    • High School Mangas

    • Romance Mangas

    • Yaoi Mangas

    • GL Mangas

    • TL Mangas

    • Gay Mangas

    • Others

    Art/Design
    • All

    • Performance Art

    • Art

    • Design

    • Photography

    Parenting/Relationships
    • All

    • Education

    • Kids/Teenagers

    • Pregnancy/Childbirth

    Exams
    • All

    • Study

    • Government Exams

    • Financial Licenses

    • Teacher Exams

    • Professional Exams

    • TOEFL/TOEIC

    • Learning Skills

    • Official Publications

    • Job Hunting Exams

    Photo Books
    • All

    • Female Photo Books

    • Male Photo Books

    Back
    Finance
    • All

    • Business Management

    • Investing

    • Direct Marketing

    • Advertising

    • Law

    Back
    News/Entertainment
    • All

    • News Analysis

    • General News

    • Stars

    Back
    Leisure Life
    • All

    • Travel

    • Hobby

    • Family Life

    • Fitness

    Back
    Art/Design
    • All

    • Design

    • Art Appreciation

    • Decoration

    • Photography

    Back
    Literature/Spirituality
    • All

    • Literature

    • Christianity

    • Buddhism

    Back
    Male Fashion
    • All

    • Fashion

    Back
    Female Fashion
    • All

    • Urban Fashion

    • Teen Fashion

    Back
    Car/Audio
    • All

    • Music/Audio

    • Cars/Motorbikes

    Back
    Sports
    • All

    • Basketball

    • Baseball

    • Outdoor Sports

    Back
    Language/Computers
    • All

    • Computers/Technology

    • Natural Sciences

    • Language

    Back
    Parenting/Relationships
    • All

    • Pregnancy/Childbirth

    • Education

    • Books for Kids

    • Books for Teenagers

    Back
    Photo Books
    • All

    • Female Photo Books

    • Male Photo Books

    Back
    Channels
    • 今周刊

    • 飽讀商周

    • 經理人

    • 大師輕鬆讀

    • 普洛達康

    • 禾馬

    • 台灣武俠傳說

    You haven't completed email verification, please complete email verification to purchase DRM Free or magazine subscription products
    You haven't completed phone verification, please complete phone verification to enable publishing features
    You haven't completed email verification, please complete email verification to enable publishing features
    • Home

    • Favorite

    • Account

    • Gold

    • Library

    More
    1. Home
    2. Books
    3. Language/Computers
    4. Computers/Technology
    5. Python遊戲開發(PyGame基礎篇)
    Python Game Programming(An Introduction to PyGame)

    Python遊戲開發(PyGame基礎篇)

    5.0分,1 ratings
    Author 曹永忠 許智誠 蔡英德
    Publisher 建國老師的小書鋪(渥瑪數位) /渥瑪數位
    Follow Save Saved Share
    Released
    2024/10/31
    Language
    Traditional Chinese
    File format
    PDF (16MB), fit in large screen and Pubook
    Pages
    407
    ID
    472167
    ISBN
    9786269896912
    Provide Adobe DRM
    Provide PDF
    Offer DRM free license
    Yes

    Buy products firstAnd download app to watch

    Details
    DRM
    NT$199
    DRM Free
    NT$219
    Explanation
    eBook
    Printed book
    Get NT$30 off
    查看適用禮券
    Buy

    Preview View

    Buy for others
    庫存
    • Intro

    • Chapters

    • Author

    本書是『遊戲設計與開發系列』的第一本書,主要教導新手與初階使用者之讀者熟悉使用Python進行程式開發,配合Pygame套件進入遊戲設計與開發的實際應用,本書Pygame遊戲設計與開發的基礎入門書,主要目的是給初學者可以一步一步安裝好Python程式開發環境,安裝與設定Pygame套件的遊戲開發與設定等等。
    目前已經有許多Pygame遊戲開發的網路教學影片與許多文章與討論,由於Pygame遊戲開發充分使用到Python物件導向程式設計與開發的許多技巧,對於學習高階的Python物件導向程式攥寫有許多助益,PyGame 是一個用於開發 2D 遊戲的 Python 套件模組,它為遊戲開發者提供了簡單易用的 API。PyGame這個套件建立在 SDL(Simple DirectMedia Layer)之上,並且能夠處理多種多媒體任務,如音頻、視覺效果、輸入控制等,適合用來創建遊戲、模擬器或其他多媒體應用,雖然目前遊戲設計與開發仍是以C與C++語言為主,但是由於C與C++語言入門雖不難,但是要深入C與C++語言後,可以進行遊戲開發,其門檻對許多專業程式開發人員仍然需要多年的訓練與多年不懈的努力才能有基本遊戲開發的程式攥寫技能,然而遊戲設計除了開發工具熟悉與專業之外,對於遊戲設計的領域知識與獨門技巧,尤其對於圖片、影音、人機介面操控與遊戲繪圖時脈與禎數整合與各種程序分時多工的設計技巧,更是C與C++語言之更深入的高階技巧,致使使用C與C++語言開發遊戲成為及少數專業程式開發人員可以進入的領域。
    本書是Python之Pygame遊戲設計中基礎入門書,後續筆者會針對不同遊戲,單獨針對每一種不同類型與獨特的遊戲開發例子,會獨立設計專書來帶領讀者進入遊戲專業開發的殿堂。
    More
    More
    自序 ii
    自序 iv
    自序 vi
    目 錄 viii
    圖目錄 xvii
    表目錄 xxv
    遊戲設計與開發系列 1
    Python介紹 3
    Python起源與創始 3
    發展階段 3
    近期發展 4
    現代發展 4
    關鍵特性 5
    主要用途 5
    內建常數 6
    Python內建函式 9
    Python編譯器安裝 58
    測試Python是否安裝成功 68
    安裝PyCharm整合工具安裝 71
    測試PyCharm是否安裝成功 88
    建立開發基本專案環境 94
    安裝套件 108
    Python環境安裝PyGame套件 108
    Python環境安裝cocos2d套件 113
    Python環境安裝numpy套件 118
    PyCharm環境安裝PyGame套件 123
    章節小結 134
    PyGame基本介紹 136
    如何使用PyGame套件 138
    如何建立繪圖視窗介面 138
    設定視窗介面屬性 138
    建立視窗大小 138
    建立視窗背景顏色 140
    透過畫布建立視窗背景顏色 141
    pygame.display相關函式介紹 145
    使用圖片繪製視窗背景 148
    載入圖片 148
    繪製圖片到視窗 149
    繪製文字到視窗背景 151
    系統字型 151
    載入系統字型 154
    載入字型 155
    設定字型屬性 155
    產生字型內容 156
    繪製文字內容到視窗上 157
    產生結束圖示與正確離開系統 160
    缺乏結束程序產生之系統錯誤 160
    捕抓所有滑鼠相關動作引發的事件 161
    判斷是否是按下系統結束按鈕 162
    確認常在狀態與系統離開狀態 162
    章節小結 167
    PyGame繪圖功能介紹 169
    Surface 對象: 169
    基本繪圖功能 170
    處理顏色 171
    渲染圖像 171
    繪製文字 171
    更新顯示 172
    性能優化 172
    如何繪製線條 173
    建立與視窗大小一致畫布 173
    直接在pygame視窗繪製X的直線 174
    直接在pygame視窗繪製一個格盤 177
    如何繪製矩形 180
    建立與視窗大小一致畫布 181
    直接在pygame視窗繪製三分之一的矩形框 182
    直接在pygame視窗繪製連續縮小的矩形框 185
    如何繪製圓形 190
    建立與視窗大小一致畫布 190
    直接在pygame視窗繪製中心圓形框 191
    直接在pygame視窗繪製連續縮小的圓形框 195
    如何繪製橢圓形 199
    建立與視窗大小一致畫布 199
    直接在pygame視窗繪製中心橢圓形框 200
    直接在pygame視窗繪製連續縮小的橢圓形框 205
    如何繪製圓弧 210
    建立與視窗大小一致畫布 211
    直接在pygame視窗繪製10個20分之一的弧形框 212
    直接在pygame視窗繪製連續縮小的弧形框 217
    如何繪製多邊形 223
    建立與視窗大小一致畫布 223
    直接在pygame視窗繪製四邊形之多邊形框 224
    直接在pygame視窗繪製連續縮小的矩形框 227
    章節小結 231
    PyGame精靈功能介紹 233
    如何使用PyGame套件 236
    如何建立繪圖視窗介面 236
    設定視窗介面屬性 236
    建立視窗大小 236
    建立視窗背景顏色 237
    透過畫布建立視窗背景顏色 239
    建立一個基本Sprite 物件 240
    Pygame 中的 Sprite 類別 240
    Sprite 的基本特性 240
    Sprite 的基本操作 241
    Group 和 GroupSingle 242
    建立最後迴圈程序 244
    離開遊戲 246
    最後整合程式 246
    控充Sprite 物件邊界問題 249
    擴充 Sprite 類別所處視窗 250
    在擴充 Sprite 類別所處方向與位置資訊 252
    擴充邊界之整合程式 254
    擴充Sprite 物件考慮範圍問題 257
    在擴充 Sprite 類別所處二軸方向與位置資訊 258
    擴充全方位邊界之整合程式 261
    擴充Sprite 物件內建屬性設定問題 265
    在擴充 Sprite 類別離動距離資訊為屬性 266
    建立距離屬性對應方法 267
    在程式之中設定距離屬性 267
    擴充亂數設定移動距離之整合程式 268
    產生兩個物件在畫面上同時移動 273
    主程式中加入第二個精靈角色 273
    加入角色名字 280
    加入碰撞反彈處理方法 282
    在主程序中加入檢查是否碰撞 282
    兩物件碰撞之整合程式 283
    章節小結 289
    PyGame音效功能介紹 291
    背景音樂基本介紹 291
    music用途 291
    music原理 291
    music基本用法 291
    載入音樂文件 292
    檢查是否音樂播放中 292
    卸載音樂文件 292
    播放音樂 292
    暫停與繼續播放 293
    重新播放音樂 293
    播放中等待一些時間後停止 293
    設定播放音樂位置 293
    取得播放音樂位置 293
    設置音量 294
    取得目前音量大小 294
    建立一個簡單的背景音樂 295
    設定視窗介面屬性 295
    建立視窗背景顏色 297
    載入音樂文件 298
    播放音樂 299
    播放科學小飛俠主題曲之整合程式 299
    加入鍵盤控制的背景音樂 301
    讀取使用者按下鍵盤資訊 301
    辨識使用者按下鍵盤資訊進行處理 301
    加入鍵盤控制的背景音樂整合 302
    背景音效基本介紹 304
    Sound用途 304
    Sound原理 305
    Sound基本用法 305
    加入鍵盤控制的音效 308
    載入音效 308
    讀取使用者按下鍵盤資訊 308
    辨識使用者按下鍵盤資訊進行處理 309
    加入鍵盤控制的音效 309
    以球在平面移動撞壁產生音效 311
    初始化pygame 311
    建立視窗大小 312
    建立視窗抬頭 313
    建立視窗背景顏色 313
    建立一個Ball的Sprite類別 315
    Ball的基本操作 315
    Ball的初始化 316
    Ball的屬性讀寫方法 318
    Ball的更新方法 319
    建立精靈群組來處理更新與繪製機制 323
    建立最後迴圈程序 325
    離開遊戲 327
    最後產生一個球碰掉牆壁會發出音效整合程式 327
    章節小結 333
    PyGame操控功能介紹 335
    鍵盤操控介紹 336
    鍵盤檢測用途 336
    鍵盤檢測原理 336
    鍵盤基本用法 337
    常見按鍵常用變數 338
    檢測鍵盤判斷按鍵常用變數 339
    建立一個以方向鍵移動的角色 343
    內部變數部分: 346
    初始化部分: 346
    屬性部分: 347
    類別公開方法部分: 347
    類別使用方法: 348
    建立一個小精靈(吃豆人)可以上下左右鍵移動的角色 348
    Import匯入套件部分: 351
    系統初始化部分: 352
    精靈設計部分: 352
    精靈群組設計部分: 353
    遊戲主程序設計部分: 353
    遊戲主程序迴圈控制部分: 353
    遊戲主程序檢測鍵盤操控部分: 353
    畫面更新部分: 354
    最後程序: 354
    滑鼠操控介紹 355
    滑鼠操控原理 355
    滑鼠操控基本用法 356
    滑鼠操作基本用法 359
    常見按鍵常用變數 360
    建立一個打地鼠可以移動游標與按鍵改變圖片的角色 361
    內部變數部分: 363
    初始化部分: 364
    屬性部分: 364
    類別公開方法部分: 364
    類別使用方法: 365
    建立一個打地鼠可以畫面移動游標與按鍵改變圖片 365
    Import匯入套件部分: 369
    建立程式中使用的函數: 369
    系統初始化部分: 369
    精靈設計部分: 370
    精靈群組設計部分: 370
    遊戲主程序設計部分: 370
    遊戲主程序迴圈控制部分: 371
    遊戲主程序檢測滑鼠位置部分: 371
    畫面更新部分: 371
    最後程序: 372
    章節小結 373
    本書總結 374
    作者介紹 375
    附錄 377
    參考文獻 379

    More
    曹永忠 (Yung-Chung Tsao) ,國立中央大學資訊管理學系博士,目前在國立高雄大學電機工程學系兼任助理教授,專注於軟體工程、軟體開發與設計、物件導向程式設計、物聯網系統開發、Arduino開發、嵌入式系統開發。長期投入資訊系統設計與開發、企業應用系統開發、軟體工程、物聯網系統開發、軟硬體技術整合等領域,並持續發表作品及相關專業著作。
    並通過台灣圖霸的專家認證。
    目前也透過Youtube在直播平台https://www.youtube.com/@dr.ultima/streams,不定其分享系統設計開發的經驗、技術與資訊工具、技術使用的經驗

    Email:prgbruce@gmail.com
    Line ID:dr.brucetsao
    WeChat:dr_brucetsao
    作者介紹網站:http://ncnu.arduino.org.tw/brucetsao/myprofile.php
    臉書社群(Arduino.Taiwan):https://www.facebook.com/groups/Arduino.Taiwan/
    作者github網站:https://github.com/brucetsao/
    原始碼網址:https://github.com/brucetsao/pygame_basic


    蔡英德 (Yin-Te Tsai),國立清華大學資訊科學系博士,目前是靜宜大學資訊傳播工程學系教授、靜宜大學資訊學院院長,主要研究為演算法設計與分析、生物資訊、軟體開發、視障輔具設計與開發。
    Email:yttsai@pu.edu.tw
    作者網頁:http://www.csce.pu.edu.tw/people/bio.php?PID=6#personal_writing



    許智誠 (Chih-Cheng Hsu),美國加州大學洛杉磯分校(UCLA) 資訊工程系博士,曾任職於美國IBM等軟體公司多年,現任教於中央大學資訊管理學系專任副教授,主要研究為軟體工程、設計流程與自動化、數位教學、雲端裝置、多層式網頁系統、系統整合、金融資料探勘、Python建置(金融)資料探勘系統。
    Email: khsu@mgt.ncu.edu.tw
    作者網頁:http://www.mgt.ncu.edu.tw/~khsu/

    More

    Details

    Released
    2024/10/31
    Language
    Traditional Chinese
    File format
    PDF: Fit in large screen
    Provide Adobe DRM
    Provide PDF
    Offer DRM free license
    Yes
    ID
    472167
    ISBN
    9786269896912

    曹永忠

    建國老師

    Python

    PyGame

    遊戲開發

    電玩

    文字遊戲

    RPG

    角色扮演

    動作遊戲

    Buy products firstAnd download app to watch

    Details

    See more 建國老師的小書鋪(渥瑪數位) / 渥瑪數位

    More

    BMDuino整合NFC讀寫器擴充板

    設計自己的KiCad元件

    BMDuino開發板整合16鍵電容式觸控感測擴充板

    RFID裝置之雲端刷卡號開門紀錄顯示篇

    BMDuino整合土壤濕度感測模組

    RFID裝置之雲端卡號作廢篇

    RFID裝置之雲端刷卡號開門紀錄篇

    RFID裝置之雲端卡號註冊篇

    RFID裝置之雲端卡號停用篇

    介紹BMduino官網感測零件

    Related Product

    Unity 3D + Photon 線上遊戲開發入門

    Python游戏开发(PyGame基础篇)

    Esports全攻略(II):電競企劃師養成術

    Esports全攻略(I):電子競技面面觀

    Visual C# 網路程式設計-線上遊戲實作

    作文遊戲簿

    3ds Max 2017建模技巧與動畫設計實務

    完美的憂傷

    Python好好玩|趣學電玩遊戲程式設計

    虛擬俠影01

    靈魂整理師-遊戲開發紀錄

    App Inventor 2:趣味手遊自己做

      

    Review

    5 ,Highest 5
    1 ratings
    1 stars
    0%
    2 stars
    0%
    3 stars
    0%
    4 stars
    0%
    5 stars
    100%
    Write a review
    Eligible to write reviews after purchasing products or add to Library
    Explanation
    DRM needs to login with Pubu Web or App, DRM free can be opened with any device or App
    You already owned this product
    Are you sure you want to buy Python遊戲開發(PyGame基礎篇) again? This will generate duplicated items in your Library
    Buy again
    Buy for others
    After completing the checkout process, go to "Profile, Manage gift codes" to send the gift code to your friends or group members
    Quantity
    OK
    English Japanese Korean Thai Traditional Chinese 简体中文

    • About Pubu

    • Terms of Service

    • Privacy policy

    • Publish Books

    • Publish Media Products

    • Self Publish

    • Support

    • Join AP Alliance

    • 用台灣之星看飽讀

    • Redeem Retail Products

    Free downloaddddddddddddd
    Free download
    Payment
    About Pubu
    湛天創新科技股份有限公司
    24488585
    Copyright © Nuazure Innovative Technology Co., Ltd. & HK Renascimedia Co., Ltd.
    pubu-web-3.9.0.202009251127
    Download Android APK
    Download

    系統訊息


    您的合約條件不符合推廣聯盟申請資格,如有疑問請洽詢Pubu版權部窗口

    系統訊息


    您必須啟用賣家功能,才能透過專屬推廣連結,賣書賺回饋金
    Choose language
    English 日本語 한국어 ไทย 繁體中文 简体中文
    Processing