Search found 3 matches

by Markku
Fri May 05, 2017 3:33 pm
Forum: Support and Development
Topic: [SOLVED]How to implement new levels correctly
Replies: 5
Views: 5705

Re: How to implement new levels correctly

...and after quick testing, one resource loading function seems to work. I just make a love.audio.stop() and then reload stuff to same variables, so when love.draw() works, it has new content to work with.

This is solved then...
by Markku
Fri May 05, 2017 3:09 pm
Forum: Support and Development
Topic: [SOLVED]How to implement new levels correctly
Replies: 5
Views: 5705

Re: How to implement new levels correctly

Ok, thanks, I try to see if I can use those suggestions. Another way I see I could do this is that I make my own resource load function and in the beginning Löve calls it from love.load(), then I do it myself, when a level is complete. Let's see how this works...

Thanks!
by Markku
Fri May 05, 2017 10:35 am
Forum: Support and Development
Topic: [SOLVED]How to implement new levels correctly
Replies: 5
Views: 5705

[SOLVED]How to implement new levels correctly

I can make a game level with load, update, draw and everything works (which is a miracle, thanks devs!). However, if my character then should go to a new level with new graphics, music etc., how do I can start anew? I would need to save the progress for the character and then load new resources. Als...