Love2d-samples icon indicating copy to clipboard operation
Love2d-samples copied to clipboard

Playground for love2d games and applications

Results 3 Love2d-samples issues
Sort by recently updated
recently updated
newest added

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}