So I would like to make a loading screen for my project at the startup, instead of that white screen. I've looked through this forum, but I couldn't find a very clear solution. I want an image written "Loading" to appear while other stuff is loading. Oh, and please explain every part of the code so I can understand,
Oh, and I also like to use the love.draw() and love.update() functions like this:

Um, you shouldn't do that? newImage is wasteful like that?
Also what note about love.run? and where's the explanation that that code looks like love.run's part, and you shouldn't even need to call clear nor present?
What's happening :V

Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.

Edited to add: Ok, that was a bit too terse. Let me expand a bit.
1) love.graphics.clear() is needed because the contents of the screen are undefined without it. The main loop in love.graphics.run() normally takes care of that, but the whole intention here is being able to show something before (or within) love.load, which happens before the main loop.
2) The image won't be used for anything else. If you need the dimensions then sure, use a variable to hold it and let you get the size then draw it.
3) love.graphics.present() is what actually shows on the screen the image that was previously drawn, as the docs say.

Last edited by pgimeno on Mon Jan 14, 2019 1:11 am, edited 1 time in total.

Apologies, i found the context a bit lacking so i was confused about your first answer;

That said, i tested your solution, and on my end, the initial SDL window with the initialized contents (ie white, or apparently black on OSX, according to slime) won't "replace" that startup phenomenon, (and in my case, there's an added transparent window effect as well, for a split second after the initial whiteness, on win7), it'll just show the image -after- all that happens... which is probably not what OP expects as a solution.

Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.

Well, if this doesn't work, then there's little else that can be done: window creation is delayed until the very last moment where it can be done, and right after that come the rest of unavoidable things.