Please Help me start my journey in love2D

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Aarush
Prole
Posts: 1
Joined: Tue Feb 06, 2024 5:44 pm

Please Help me start my journey in love2D

Post 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)
User avatar
Azzla
Prole
Posts: 38
Joined: Sun Mar 29, 2020 2:23 am

Re: Please Help me start my journey in love2D

Post 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. :)
libraries: Stalkpile
electronic music stuff: https://soundcloud.com/azzlamusic
Post Reply

Who is online

Users browsing this forum: No registered users and 63 guests