Page 1 of 1

Please Help me start my journey in love2D

Posted: Tue Feb 06, 2024 5:49 pm
by Aarush
Whenever I try to open a file in Love2D I get the error:

Error

[love "boot.lua"]:330: Cannot load game at path '/home/aarush/Desktop/Game/./Scripts/main.lua'.
Make sure a folder exists at the specified path.


Traceback

[love "callbacks.lua"]:228: in function 'handler'
[C]: in function 'error'
[C]: in function 'xpcall'
[C]: in function 'xpcall'[/b]

This question might seem silly but I am a newcomer so if someone can please help me.

(I am using linux as the operating system)

Re: Please Help me start my journey in love2D

Posted: Tue Feb 06, 2024 8:52 pm
by Azzla
As is mentioned here viewtopic.php?t=85111 your solution is (probably) to use the folder path without main.lua. Love needs the project folder containing main.lua.

This may be of use to you: https://love2d.org/wiki/Getting_Started
Once you get the framework up and running, also consider checking out: https://sheepolution.com/learn/book/contents

Good luck. :)