0

I'm starting to code with love2d, so I installed love2d with the love2d support extension, there is no problem running the code and it works perfectly (I can draw hello world and have it appear on a black screen for example), but I keep getting the same warning every time I write "love".enter image description here

I have no idea why it happens

2
  • Is it really necessary to make love a global variable rather than local? Commented Mar 3, 2024 at 8:54
  • 4
    Why are you requiring love at all? love will be present in main.lua, you don't need to require it. Commented Mar 3, 2024 at 11:14

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.