Love2d-samples
Love2d-samples copied to clipboard
Playground for love2d games and applications
Fixed 4 things: 1) Random obstacle generation Previously, every time the game was launched generated obstacles would have the same positions. Adding `math.randomseed(os.time())` before obstacle generation fixed this. Now they...
I think many of these are outdated, i still appreciate them though :) https://love2d.org/wiki/Canvas:getImageData it changed to "newImageData"
You were doing this: if {statement}==true then return true else return This does the same thing: return {statement}