Controller Input - Pygame Tutorial
Channel:
Subscribers:
102,000
Published on ● Video Link: https://www.youtube.com/watch?v=Hp0M8iExfDc
This video covers a way to implement controller (gamepad/joystick) input in Pygame using the joystick module.
Code Written in Video:
https://dafluffypotato.com/static/scripts/pygame_controller.py
Relevant Documentation:
https://www.pygame.org/docs/ref/joystick.html
All my games can be found here:
https://dafluffypotato.com/projects
Discord: https://discord.gg/9Qt2GxF
Twitter: https://twitter.com/DaFluffyPotato
Patreon: https://www.patreon.com/dafluffypotato
This video and the code produced in it are released under: CC0 1.0 Universal (CC0 1.0). This puts the video and code produced in it in the public domain, so use it for whatever you want.
#python #pygame
Other Videos By DaFluffyPotato
2021-08-21 | How to ACTUALLY get into Gamedev |
2021-07-31 | Pygame's Performance - What You Need to Know |
2021-07-05 | Kite vs. Tabnine: An Autocomplete Software Comparison |
2021-06-17 | Pygame Performance Stress Test |
2021-06-15 | Why I'm STILL Glad I Didn't Use a Game Engine |
2021-05-25 | Python Webdev #4 - CSS |
2021-05-13 | Python Webdev #3 - HTML |
2021-04-24 | i make fast gaem |
2021-04-08 | 3D Terrain Generation in Python/Pygame - Demo/Explanation |
2021-03-16 | I Coded VTubing Software the DUMB Way |
2021-03-09 | Controller Input - Pygame Tutorial |
2021-03-03 | The Story Behind My 16 Hour Game |
2021-02-18 | hello |
2021-02-17 | I mapped my face to a cube. (python/pygame/node.js/face-api.js) |
2021-02-10 | Python Webdev #2 - Cookies and Arguments (Flask) |
2021-02-03 | Python Webdev #1 - Flask |
2021-01-26 | Learning Gamedev and Why I'm Glad I Didn't Start with Unity |
2021-01-11 | My Inexperienced Development Podcast Segment |
2021-01-01 | 2020 Pygame Projects |
2020-12-30 | Isometric Rendering - Pygame Tutorial |
2020-12-17 | Mechanical Rework Necessary - Devlog #8 (Pygame) |
Tags:
DaFluffyPotato
python
pygame
pygame controller
controller
gamepad
joystick
controller layout
game controller
gamedev
programming
game development
tutorial
Controller Input - Pygame Tutorial