Page 1 of 1

How to start?

Posted: Fri Jun 20, 2014 6:44 pm
by TheGameMaker
I downloaded the 64 bit zipped version for mac and when I open it up it opens up an application called Baby Inspector or something. How do I code?

Re: How to start?

Posted: Fri Jun 20, 2014 8:26 pm
by Plu
The thing you downloaded is the executable, but the actual code has to be written in a regular code editor (like notepad++ or sublime or whatever you have on Mac)

Re: How to start?

Posted: Fri Jun 20, 2014 9:49 pm
by Zeliarden

Re: How to start?

Posted: Sat Jun 21, 2014 9:15 pm
by T-Bone
TLDR: Once you have a folder containing a main.lua, drag that folder onto the Löve .app and it'll run.

Re: How to start?

Posted: Sat Jun 21, 2014 10:03 pm
by Ranguna259
Step by step:
  • Create a folder
  • Create a file and name it main.lua
  • Paste this inside the file:

    Code: Select all

    function love.draw()
      love.graphics.rectangle('fill',100,100,100,100)
    end
  • Drag and drop the folder into the love.app
  • Edit main.lua however you want and do step 4 again to reload your code.
  • Read the wiki and have fun