Skip to content

Commit a9ba0b8

Browse files
committed
add step-by-step mac tutorial
1 parent fcb4f83 commit a9ba0b8

10 files changed

Lines changed: 26 additions & 0 deletions

File tree

32.6 KB
Loading
18.4 KB
Loading
43.7 KB
Loading
18.2 KB
Loading
12.1 KB
Loading
37.6 KB
Loading
22.2 KB
Loading
17.9 KB
Loading

docs/download.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ In the Terminal, you can run `love path/to/main.lua`. Or if you are in the folde
5252

5353
### Mac
5454

55+
**[There is a step-by-step Mac installation tutorial](tutorials/install-mac.md)**
56+
5557
Drag and drop the folder holding L5.lua and your main.lua onto the Love application, being sure to add `printToScreen()` to your setup function to be able to see `print()` output.
5658

5759
OR

docs/tutorials/install-mac.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Installation on Mac
2+
3+
This tutorial walks you through installing Love (Love2d) and the L5 Starter project on your Macintosh computer.
4+
5+
1. Go to the [Love website](https://love2d.org) and click to download the 64-bit zipped Mac program.
6+
![Love2d website with downloads](/assets/tutorials/mac/install-mac1.webp "Love2d website with downloads")
7+
2. Click **"Allow"** when it asks 'Do you want to allow downloads on "love2d.org"?' It will download to your *Downloads* folder by default.
8+
![Alert box asking permission to download Love2d](/assets/tutorials/mac/install-mac2.webp "Alert box asking permission to install Love2d")
9+
3. From the L5lua.org Download page, [download the L5 Starter project](/L5-starter.zip).
10+
![L5 website download page with L5 Starter](/assets/tutorials/mac/install-mac3.webp "L5 website download page with L5 Starter")
11+
4. Click **"Allow"** when it asks 'Do you want to allow downloads on "l5lua.org"?'
12+
![Alert box asking permission to download L5-Starter](/assets/tutorials/mac/install-mac4.webp "Alert box asking permission to download L5 Starter")
13+
5. Return to your *Downloads* folder on your computer. **Right click with two fingers** on the Love application icon. Choose "Open".
14+
![Folder with love application and L5 Starter folder](/assets/tutorials/mac/install-mac5.webp "Folder with love application and L5 Starter folder")
15+
6. A warning popup box opens with the title 'macOS cannot verify the developer of "love". Are you sure you want to open it?'. Click **Open.**
16+
![Alert box stating macOS cannot verify the developer of love. The correct option is Open.](/assets/tutorials/mac/install-mac6.webp "Alert box stating macOS cannot verify the developer of love. The correct option is Open")
17+
7. You should see a window open with a flying bird-shaped balloon and clouds, verifying that Love is now properly installed on your computer. Close the window.
18+
![A flying bird-shaped balloon and cartoon clouds](/assets/tutorials/mac/install-mac7.webp "A flying bird-shaped balloon and cartoon clouds")
19+
8. Back in your downloads folder, **drag the L5-starter folder onto the Love application**. It should now launch and you should see a new window open with your code sketch.
20+
![A yellow background window appearing on top of folder holding L5 Starter and love application](/assets/tutorials/mac/install-mac8.webp "A yellow background window appearing on top of folder holding L5 Starter and love application")
21+
22+
### Next Steps
23+
24+
Congratulations. You've installed Love and have L5 on your computer and verified you can run your own programs. Inside the L5-Starter folder you can open the `main.lua` file in a text editor to edit the program. Save your modifications, then again drag and drop the L5 Starter folder on the love application to see it run. Check out the [tutorials](index.md) page to learn more.

0 commit comments

Comments
 (0)