Mouse Input - Pygame Tutorial

Subscribers:
102,000
Published on ● Video Link: https://www.youtube.com/watch?v=vhNiwvUv4Jw



Category:
Tutorial
Duration: 7:47
35,553 views
729


Somehow I went all this time without making a video on how to get mouse input in Pygame, so here it is! Mouse input is very useful for a variety of games.

Code Written in Video:
https://pastebin.com/7ndjJrM2

Relevant Documentation:
https://www.pygame.org/docs/ref/mouse.html

Devlog Playlist:
https://www.youtube.com/playlist?list=PLX5fBCkxJmm1F3PofHWCGNH6se7QO7L3d

Discord:
https://discord.gg/9Qt2GxF

Twitter:
https://twitter.com/DaFluffyPotato

Watch ep. 1 & 2 if you don't understand the base code:
https://www.youtube.com/playlist?list=PLX5fBCkxJmm3nAalPU6gGfRIFLlghRuYy

Outro Music is Pancakes by AdhesiveWombat
https://soundcloud.com/adhesivewombat/

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.

#pygame #python #gamedevelopment







Tags:
DaFluffyPotato
python
pygame
python tutorial
pygame tutorial
mouse input
pygame mouse
programming
computer science
coding
education
how to
tutorial
Mouse Input - Pygame Tutorial
gamedev
indiedev
game development
python programming