Enviar búsqueda
Cargar
pygame sharing pyhug
•
Descargar como KEY, PDF
•
0 recomendaciones
•
1,798 vistas
Tim (文昌)
Seguir
What I share in pyhug about pygame. it is suitable for beginer
Leer menos
Leer más
Tecnología
Empresariales
Denunciar
Compartir
Denunciar
Compartir
1 de 25
Descargar ahora
Recomendados
Pygame presentation
Pygame presentation
Felix Z. Hoffmann
PyGame Tutorial | PyGame Python Tutorial For Beginners | Python Certification...
PyGame Tutorial | PyGame Python Tutorial For Beginners | Python Certification...
Edureka!
Game Development with Pygame
Game Development with Pygame
Framgia Vietnam
Introduction to Game programming with PyGame Part 1
Introduction to Game programming with PyGame Part 1
Abhishek Mishra
Game Development With Python and Pygame
Game Development With Python and Pygame
Chariza Pladin
The Ring programming language version 1.7 book - Part 53 of 196
The Ring programming language version 1.7 book - Part 53 of 196
Mahmoud Samir Fayed
The Ring programming language version 1.6 book - Part 51 of 189
The Ring programming language version 1.6 book - Part 51 of 189
Mahmoud Samir Fayed
The Ring programming language version 1.7 book - Part 50 of 196
The Ring programming language version 1.7 book - Part 50 of 196
Mahmoud Samir Fayed
Recomendados
Pygame presentation
Pygame presentation
Felix Z. Hoffmann
PyGame Tutorial | PyGame Python Tutorial For Beginners | Python Certification...
PyGame Tutorial | PyGame Python Tutorial For Beginners | Python Certification...
Edureka!
Game Development with Pygame
Game Development with Pygame
Framgia Vietnam
Introduction to Game programming with PyGame Part 1
Introduction to Game programming with PyGame Part 1
Abhishek Mishra
Game Development With Python and Pygame
Game Development With Python and Pygame
Chariza Pladin
The Ring programming language version 1.7 book - Part 53 of 196
The Ring programming language version 1.7 book - Part 53 of 196
Mahmoud Samir Fayed
The Ring programming language version 1.6 book - Part 51 of 189
The Ring programming language version 1.6 book - Part 51 of 189
Mahmoud Samir Fayed
The Ring programming language version 1.7 book - Part 50 of 196
The Ring programming language version 1.7 book - Part 50 of 196
Mahmoud Samir Fayed
The Ring programming language version 1.5.4 book - Part 49 of 185
The Ring programming language version 1.5.4 book - Part 49 of 185
Mahmoud Samir Fayed
The Ring programming language version 1.3 book - Part 39 of 88
The Ring programming language version 1.3 book - Part 39 of 88
Mahmoud Samir Fayed
The Ring programming language version 1.9 book - Part 59 of 210
The Ring programming language version 1.9 book - Part 59 of 210
Mahmoud Samir Fayed
The Ring programming language version 1.5.1 book - Part 48 of 180
The Ring programming language version 1.5.1 book - Part 48 of 180
Mahmoud Samir Fayed
The Ring programming language version 1.5.2 book - Part 48 of 181
The Ring programming language version 1.5.2 book - Part 48 of 181
Mahmoud Samir Fayed
The Ring programming language version 1.5.4 book - Part 50 of 185
The Ring programming language version 1.5.4 book - Part 50 of 185
Mahmoud Samir Fayed
The Ring programming language version 1.5.3 book - Part 49 of 184
The Ring programming language version 1.5.3 book - Part 49 of 184
Mahmoud Samir Fayed
The Ring programming language version 1.5.1 book - Part 47 of 180
The Ring programming language version 1.5.1 book - Part 47 of 180
Mahmoud Samir Fayed
The Ring programming language version 1.7 book - Part 54 of 196
The Ring programming language version 1.7 book - Part 54 of 196
Mahmoud Samir Fayed
The Ring programming language version 1.6 book - Part 52 of 189
The Ring programming language version 1.6 book - Part 52 of 189
Mahmoud Samir Fayed
Snake report ROHIT MALAV
Snake report ROHIT MALAV
Rohit malav
Game maker objects
Game maker objects
Chaffey College
Introduction to Computer Science Using Python and Pygame
Introduction to Computer Science Using Python and Pygame
Daniel Francisco Tamayo
Introduction to Python
Introduction to Python
Sway Wang
Python (práctica 4)
Python (práctica 4)
Fernando Salamero
Introduction to OpenCV (with Java)
Introduction to OpenCV (with Java)
Luigi De Russis
Raspberry Pi 3 + UART/Bluetooth issues
Raspberry Pi 3 + UART/Bluetooth issues
yeokm1
Image Processing with OpenCV
Image Processing with OpenCV
debayanin
OpenCV Introduction
OpenCV Introduction
Zachary Blair
Raspberry pi 3
Raspberry pi 3
Inocentshuja Ahmad
Vanmathy python
Vanmathy python
PriyadharshiniVS
Денис Ковалев «Python в игровой индустрии»
Денис Ковалев «Python в игровой индустрии»
DataArt
Más contenido relacionado
La actualidad más candente
The Ring programming language version 1.5.4 book - Part 49 of 185
The Ring programming language version 1.5.4 book - Part 49 of 185
Mahmoud Samir Fayed
The Ring programming language version 1.3 book - Part 39 of 88
The Ring programming language version 1.3 book - Part 39 of 88
Mahmoud Samir Fayed
The Ring programming language version 1.9 book - Part 59 of 210
The Ring programming language version 1.9 book - Part 59 of 210
Mahmoud Samir Fayed
The Ring programming language version 1.5.1 book - Part 48 of 180
The Ring programming language version 1.5.1 book - Part 48 of 180
Mahmoud Samir Fayed
The Ring programming language version 1.5.2 book - Part 48 of 181
The Ring programming language version 1.5.2 book - Part 48 of 181
Mahmoud Samir Fayed
The Ring programming language version 1.5.4 book - Part 50 of 185
The Ring programming language version 1.5.4 book - Part 50 of 185
Mahmoud Samir Fayed
The Ring programming language version 1.5.3 book - Part 49 of 184
The Ring programming language version 1.5.3 book - Part 49 of 184
Mahmoud Samir Fayed
The Ring programming language version 1.5.1 book - Part 47 of 180
The Ring programming language version 1.5.1 book - Part 47 of 180
Mahmoud Samir Fayed
The Ring programming language version 1.7 book - Part 54 of 196
The Ring programming language version 1.7 book - Part 54 of 196
Mahmoud Samir Fayed
The Ring programming language version 1.6 book - Part 52 of 189
The Ring programming language version 1.6 book - Part 52 of 189
Mahmoud Samir Fayed
Snake report ROHIT MALAV
Snake report ROHIT MALAV
Rohit malav
Game maker objects
Game maker objects
Chaffey College
La actualidad más candente
(12)
The Ring programming language version 1.5.4 book - Part 49 of 185
The Ring programming language version 1.5.4 book - Part 49 of 185
The Ring programming language version 1.3 book - Part 39 of 88
The Ring programming language version 1.3 book - Part 39 of 88
The Ring programming language version 1.9 book - Part 59 of 210
The Ring programming language version 1.9 book - Part 59 of 210
The Ring programming language version 1.5.1 book - Part 48 of 180
The Ring programming language version 1.5.1 book - Part 48 of 180
The Ring programming language version 1.5.2 book - Part 48 of 181
The Ring programming language version 1.5.2 book - Part 48 of 181
The Ring programming language version 1.5.4 book - Part 50 of 185
The Ring programming language version 1.5.4 book - Part 50 of 185
The Ring programming language version 1.5.3 book - Part 49 of 184
The Ring programming language version 1.5.3 book - Part 49 of 184
The Ring programming language version 1.5.1 book - Part 47 of 180
The Ring programming language version 1.5.1 book - Part 47 of 180
The Ring programming language version 1.7 book - Part 54 of 196
The Ring programming language version 1.7 book - Part 54 of 196
The Ring programming language version 1.6 book - Part 52 of 189
The Ring programming language version 1.6 book - Part 52 of 189
Snake report ROHIT MALAV
Snake report ROHIT MALAV
Game maker objects
Game maker objects
Destacado
Introduction to Computer Science Using Python and Pygame
Introduction to Computer Science Using Python and Pygame
Daniel Francisco Tamayo
Introduction to Python
Introduction to Python
Sway Wang
Python (práctica 4)
Python (práctica 4)
Fernando Salamero
Introduction to OpenCV (with Java)
Introduction to OpenCV (with Java)
Luigi De Russis
Raspberry Pi 3 + UART/Bluetooth issues
Raspberry Pi 3 + UART/Bluetooth issues
yeokm1
Image Processing with OpenCV
Image Processing with OpenCV
debayanin
OpenCV Introduction
OpenCV Introduction
Zachary Blair
Raspberry pi 3
Raspberry pi 3
Inocentshuja Ahmad
Destacado
(8)
Introduction to Computer Science Using Python and Pygame
Introduction to Computer Science Using Python and Pygame
Introduction to Python
Introduction to Python
Python (práctica 4)
Python (práctica 4)
Introduction to OpenCV (with Java)
Introduction to OpenCV (with Java)
Raspberry Pi 3 + UART/Bluetooth issues
Raspberry Pi 3 + UART/Bluetooth issues
Image Processing with OpenCV
Image Processing with OpenCV
OpenCV Introduction
OpenCV Introduction
Raspberry pi 3
Raspberry pi 3
Similar a pygame sharing pyhug
Vanmathy python
Vanmathy python
PriyadharshiniVS
Денис Ковалев «Python в игровой индустрии»
Денис Ковалев «Python в игровой индустрии»
DataArt
Let's make a game for the Playdate
Let's make a game for the Playdate
Giorgio Pomettini
The Ring programming language version 1.10 book - Part 71 of 212
The Ring programming language version 1.10 book - Part 71 of 212
Mahmoud Samir Fayed
[EN] Ada Lovelace Day 2014 - Tampon run
[EN] Ada Lovelace Day 2014 - Tampon run
Maja Kraljič
L08 Using Frameworks
L08 Using Frameworks
Ólafur Andri Ragnarsson
The Ring programming language version 1.2 book - Part 37 of 84
The Ring programming language version 1.2 book - Part 37 of 84
Mahmoud Samir Fayed
Teaching Python to 9 Year Old Girl - map mover
Teaching Python to 9 Year Old Girl - map mover
Craig Oda
The following GUI is displayed once the application startsThe sug.pdf
The following GUI is displayed once the application startsThe sug.pdf
arihantsherwani
The Ring programming language version 1.3 book - Part 52 of 88
The Ring programming language version 1.3 book - Part 52 of 88
Mahmoud Samir Fayed
Seaborn graphing present
Seaborn graphing present
Yilin Zeng
The Ring programming language version 1.8 book - Part 56 of 202
The Ring programming language version 1.8 book - Part 56 of 202
Mahmoud Samir Fayed
Java term project final report
Java term project final report
Jiwon Han
The Ring programming language version 1.5 book - Part 9 of 31
The Ring programming language version 1.5 book - Part 9 of 31
Mahmoud Samir Fayed
L10 Using Frameworks
L10 Using Frameworks
Ólafur Andri Ragnarsson
The Ring programming language version 1.5.3 book - Part 79 of 184
The Ring programming language version 1.5.3 book - Part 79 of 184
Mahmoud Samir Fayed
Similar a pygame sharing pyhug
(16)
Vanmathy python
Vanmathy python
Денис Ковалев «Python в игровой индустрии»
Денис Ковалев «Python в игровой индустрии»
Let's make a game for the Playdate
Let's make a game for the Playdate
The Ring programming language version 1.10 book - Part 71 of 212
The Ring programming language version 1.10 book - Part 71 of 212
[EN] Ada Lovelace Day 2014 - Tampon run
[EN] Ada Lovelace Day 2014 - Tampon run
L08 Using Frameworks
L08 Using Frameworks
The Ring programming language version 1.2 book - Part 37 of 84
The Ring programming language version 1.2 book - Part 37 of 84
Teaching Python to 9 Year Old Girl - map mover
Teaching Python to 9 Year Old Girl - map mover
The following GUI is displayed once the application startsThe sug.pdf
The following GUI is displayed once the application startsThe sug.pdf
The Ring programming language version 1.3 book - Part 52 of 88
The Ring programming language version 1.3 book - Part 52 of 88
Seaborn graphing present
Seaborn graphing present
The Ring programming language version 1.8 book - Part 56 of 202
The Ring programming language version 1.8 book - Part 56 of 202
Java term project final report
Java term project final report
The Ring programming language version 1.5 book - Part 9 of 31
The Ring programming language version 1.5 book - Part 9 of 31
L10 Using Frameworks
L10 Using Frameworks
The Ring programming language version 1.5.3 book - Part 79 of 184
The Ring programming language version 1.5.3 book - Part 79 of 184
Más de Tim (文昌)
Python的50道陰影
Python的50道陰影
Tim (文昌)
Frontend django, Django Web 前端探索
Frontend django, Django Web 前端探索
Tim (文昌)
Profile django
Profile django
Tim (文昌)
Introduction to protocol buffer
Introduction to protocol buffer
Tim (文昌)
I18n
I18n
Tim (文昌)
Mock Introduction
Mock Introduction
Tim (文昌)
Ml weka
Ml weka
Tim (文昌)
Tainan.py, Experience about package
Tainan.py, Experience about package
Tim (文昌)
Performance Enhancement Tips
Performance Enhancement Tips
Tim (文昌)
Más de Tim (文昌)
(9)
Python的50道陰影
Python的50道陰影
Frontend django, Django Web 前端探索
Frontend django, Django Web 前端探索
Profile django
Profile django
Introduction to protocol buffer
Introduction to protocol buffer
I18n
I18n
Mock Introduction
Mock Introduction
Ml weka
Ml weka
Tainan.py, Experience about package
Tainan.py, Experience about package
Performance Enhancement Tips
Performance Enhancement Tips
Último
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
LoriGlavin3
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
panagenda
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Pixlogix Infotech
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
ThousandEyes
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
BookNet Canada
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
LoriGlavin3
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
LoriGlavin3
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
LoriGlavin3
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
IES VE
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
AliaaTarek5
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Mark Goldstein
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
panagenda
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
BookNet Canada
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
Farhan Tariq
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
Mydbops
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
LoriGlavin3
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
Nicole Novielli
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
DianaGray10
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
Lonnie McRorey
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
Ingrid Airi González
Último
(20)
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
pygame sharing pyhug
1.
Email tim.yellow@gmail.com
tim hsu
2.
Game in my
mind n 機械工業強的地方,才有 汽車工業 n 資 工業強的地方,才有 遊戲工業
3.
Examples
n http://goo.gl/2qNU2
4.
Introduction PyGame n
Game Engine!! n All we love feature of python
5.
跨平台!
6.
PyGame 為你做什麼
7.
PyGame 為你做什麼
8.
PyGame 為你做什麼
9.
PyGame 為你做什麼
10.
PyGame 為你做什麼
11.
PyGame 為你做什麼
12.
Main Flow of
Game Main Loop initial prepare input simulate draw end
13.
pygame_base_template
na static ball on the screen
14.
Initial Pygame nimport
pygame npygame.init() nclock=pygame.time.Clock()
15.
Prepare Screen, Ball screen=pygame.display.set_mode([700,500]) ball
= pygame.image.load("ball.gif") ballrect = ball.get_rect() ballrect.left, ballrect.top = 300,300
16.
Main Loop done=False while done==False:
input Draw
17.
Input
for event in pygame.event.get(): if event.type == pygame.QUIT: done=True
18.
Draw
screen 是代表整個畫布 screen.fill(black) screen.blit(ball, ballrect) ball 是圖像 clock.tick(20) ball rect 是座標
19.
Simulate
IF you don’t draw screen.fill(black) background first.... screen.blit(ball, ballrect) clock.tick(20)
20.
Simulate screen.fill(black) screen.blit(ball, ballrect) clock.tick(20)
21.
A Moving Ball n
ball_move.py n ball = pygame.image.load("ball.gif") n ballrect = ball.get_rect() n ballrect = ballrect.move(speed)
22.
pygame_input.py
23.
Dive In!! n
Screen, Font, Pictures are all called Surface. n Rect represent a coordination of a surface n Sprite, ( combination of Picture and Rect n Group !! control a lot of Sprite together!
24.
Distribute Your Game n
Py2Exe !! n
25.
Reference n
特訓99 https://bitbucket.org/timtan/my99 n PyGame http://www.pygame.org n PGU http://www.imitationpickles.org/pgu n PyGame for Android http://pygame.renpy.org/ android-packaging.html
Notas del editor
\n
\n
\n
\n
\n
input gamepad, keyboard, mouse\ncollision. overlap\ndrawing of surface, coordinate system, fonts\ntimer, sounds...\n
input gamepad, keyboard, mouse\ncollision. overlap\ndrawing of surface, coordinate system, fonts\ntimer, sounds...\n
input gamepad, keyboard, mouse\ncollision. overlap\ndrawing of surface, coordinate system, fonts\ntimer, sounds...\n
input gamepad, keyboard, mouse\ncollision. overlap\ndrawing of surface, coordinate system, fonts\ntimer, sounds...\n
input gamepad, keyboard, mouse\ncollision. overlap\ndrawing of surface, coordinate system, fonts\ntimer, sounds...\n
\n
\n
all the facilities is in pygame module. \nexplicitly, \n
\n
\n
pygame 的event model, \n
\n
\n
\n
\n
\n
\n
\n
\n
Descargar ahora