Search found 2 matches

by BPLeon
Tue Jan 27, 2015 9:57 pm
Forum: Support and Development
Topic: Memory Leak, help, 3rd day and can't find [Solved]
Replies: 3
Views: 2589

Re: Memory Leak, help, 3rd day and can't find :*(

function BRICK:Destroy() self.xPos = nil self.yPos = nil self.width = nil self.height = nil self.bColor = nil Collider:remove( self.Collider ) -- <-- added this line, it removes the collision from the world at least I think it does self.Collider = nil self.drawnBrick = nil self = nil end This line ...
by BPLeon
Tue Jan 27, 2015 4:31 pm
Forum: Support and Development
Topic: Memory Leak, help, 3rd day and can't find [Solved]
Replies: 3
Views: 2589

Memory Leak, help, 3rd day and can't find [Solved]

I usually never ask for help on this kind of stuff, it took me 3 days of debate whether to ask or not. I decided to try using Love2D to help myself understand lua a bit better, and while working with it, I somehow made myself a memory leak when making a clone of breakout , there isn't much code and ...