Search found 2 matches
- Thu Nov 05, 2015 6:19 am
- Forum: Support and Development
- Topic: Is there a way to not clear the screen on update?
- Replies: 5
- Views: 4281
Re: Is there a way to not clear the screen on update?
Thanks Jasoco. I actually just had that idea myself and got it done. I'll post the updated code below incase anyone wants to use it for reference. main.lua -- Example I.1: Traditional random walk -- Debug debug = true -- Set the window title love.window.setTitle('Example I.1: Traditional random walk...
- Thu Nov 05, 2015 4:33 am
- Forum: Support and Development
- Topic: Is there a way to not clear the screen on update?
- Replies: 5
- Views: 4281
Is there a way to not clear the screen on update?
I have started reading The Nature of Code and am trying to port the examples from processing.js to love2D. I've started trying to implement the Random Walker, however the draw function seems to clear the screen every frame, when what I want it to do is to keep the last frame and then draw on top of ...