How do I compile main and conf?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
love2d3d
Prole
Posts: 1
Joined: Thu Jun 12, 2014 1:16 am

How do I compile main and conf?

Post by love2d3d »

I have the code and I am having trouble compiling the files together. they are a .txt file when I open them
davisdude
Party member
Posts: 1154
Joined: Sun Apr 28, 2013 3:29 am
Location: North Carolina

Re: How do I compile main and conf?

Post by davisdude »

Hi, and welcome to the forums.
(If you're on Windows) Open up your file and click on the heading "view". Then click the check box "File name extensions"
Then, rename the file from "FILENAME.txt" to "FILENAME.lua", with FILENAME being main.lua, conf.lua, etc.
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 8 guests