ItsNoah

love main template

Feb 21st, 2023
625
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.82 KB | None | 0 0
  1. --=================================[ imports ]======================================--
  2.  
  3. io.stdout:setvbuf("no")
  4.  
  5. --================================[ variables ]=====================================--
  6.  
  7.  
  8. --============================[ default functions ]=================================--
  9.  
  10. function love.load()
  11.  
  12. end
  13.  
  14. function love.update(dt)
  15.  
  16. end
  17.  
  18. function love.draw()
  19.  
  20. end
  21.  
  22. function love.quit()
  23.  
  24. end
  25.  
  26. --=============================[ input functions ]==================================--
  27.  
  28. function love.mousepressed(x, y, button)
  29. end
  30.  
  31. function love.mousereleased(x, y, button)
  32. end
  33.  
  34. function love.wheelmoved(dx, dy)
  35. end
  36.  
  37. function love.keypressed(key, unicode)
  38. end
  39.  
  40. function love.keyreleased(key, unicode)
  41. end
  42.  
  43. --=============================[ custom functions ]=================================--
  44.  
  45.  
Advertisement
Add Comment
Please, Sign In to add comment