I think what you would do it set all globals to zero and call love.load. If you wrote your code well (put all loading things in love.load) it should work. But there is a better way. Just use gamestates. Link here: https://github.com/kikito/stateful.lua It is a library written by kikito (he writes lots of awesome libs centered around LOVE check out his github account for all of his stuff https://github.com/kikito).
For having multiple levels maybe you could use gamestates. Here is a great example game that kikito wrote: https://github.com/kikito/ekrixion
I'm another noob and lover... And I need some help :)
Re: I'm another noob and lover... And I need some help :)
My Tox ID: 0F1FB9170B94694A90FBCF6C4DDBDB9F58A9E4CDD0B4267E50BF9CDD62A0F947E376C5482610
Who is online
Users browsing this forum: Bing [Bot] and 2 guests