Tutorial 12: Mouse Handling in Love -- GameDev For Complete Beginners Tutorial Series

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



Category:
Tutorial
Duration: 20:29
4,353 views
89


In this tutorial we look at handling mouse events in the love game engine. We cover polling for and event driven approaches to getting the mouse position and mouse button presses. We also look at handling the scroll wheel, how to change the mouse cursor and how to implement edge scrolling. Touch will be covered in more detail later, but single touch is the same as clicking the left mouse button for now.







Tags:
Gamedev
Lua
Love
Love2D
Tutorial
Gamefromscratch
Game Programming
2D
Mouse
Programming