Back to Browse

Mouse Input - Pygame Tutorial

40.2K views
Jul 12, 2020
7:47

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

Download

1 formats

Video Formats

360pmp410.2 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Mouse Input - Pygame Tutorial | NatokHD