There is some sort of memory leak in my code?

stackoverflow.com/questions/37893106/game-slows-down-after-a-while-potential-data-leak

Here is the original post, essentially I'm trying to make a game with p5 and p5.play but don't see why it is slowing down after 30 seconds of run time. If anyone here knows how to detect collisions on certain sides of a sprite that would be very useful as well. (IE if I have a player sprite that is being squished on top and bottom by two block sprites how would I detect such a thing). Thanks in advance!

Sign In or Register to comment.