Page 1 of 1

How to Create a .lua File

Posted: Wed Jun 29, 2016 12:43 pm
by PixelPest
There have seemed to be a lot of questions regarding this lately so I made an extensive topic about it.

Method 1 (Windows Vista, Windows 7, and Windows Server 2008)
  • Click on the "Organize" drop-down menu.
  • Click on "Folder and search options".
  • Enter the "View" tab by clicking on it.
  • Uncheck the box entitled "Hide extensions for known file types".
  • Click "OK" to confirm your changes and exit the menu.
  • Right click on a text file.
  • Click "Rename".
  • Rename "txt" to "lua".
  • An alert may come up noting that changing a file extension may cause the file to become unstable. If so, click "OK" to continue.
Method 2 (Windows 10)
  • Expand the Ribbon Bar if it is not yet expanded.
  • Enter the "View" tab by clicking on it.
  • Check the entitled "File name extensions".
  • Right click on a text file.
  • Click "Rename".
  • Rename "txt" to "lua".
  • An alert may come up noting that changing a file extension may cause the file to become unstable. If so, click "OK" to continue.
Method 3 (Windows 2000, Windows XP, and Windows Server 2003)
  • Click on the "Tools" drop-down menu.
  • Click on "Folder Options".
  • Click on "Folder and search options".
  • Enter the "View" tab by clicking on it.
  • Uncheck the box entitled "Hide extensions for known file types".
  • Click "OK" to confirm your changes and exit the menu.
  • Right click on a text file.
  • Click "Rename".
  • Rename "txt" to "lua".
  • An alert may come up noting that changing a file extension may cause the file to become unstable. If so, click "OK" to continue.
Method 4 (Mac OS)
  • Right click on the text file (or CTRL+CLICK).
  • Click "Get Info".
  • Enter the "Name and Extension" tab by clicking on it if it isn't open by default.
  • If there is a checkmark in the box entitled "Hide extension" uncheck it.
  • Rename "txt" to "lua".
Method 5 (Universal)

Re: How to Create a .lua File

Posted: Wed Jun 29, 2016 1:08 pm
by zlaker
can you make a tutorial on how create a smbx .lvl file plz :cry: :cry: :cry: :cry:

Re: How to Create a .lua File

Posted: Wed Jun 29, 2016 1:27 pm
by h2643
zlakergirl357 wrote:can you make a tutorial on how create a smbx .lvl file plz :cry: :cry: :cry: :cry:
create a txt file and rename the extension to lvl

Re: How to Create a .lua File

Posted: Wed Jun 29, 2016 1:49 pm
by RudeGuy
h2643 wrote: create a txt file and rename the extension to lvl
how do you rename files?

Re: How to Create a .lua File

Posted: Wed Jun 29, 2016 2:23 pm
by Aero
I made a lua file but when I double click it nothing happens. Mario doesn't show up or anything.

What do wrong

Re: How to Create a .lua File

Posted: Wed Jun 29, 2016 2:34 pm
by Zipper
you have to collect 50 coins and double jump in your level to enable it

Re: How to Create a .lua File

Posted: Wed Jun 29, 2016 2:43 pm
by Nerx
Is .lua file a virus???? :( :( :(

Re: How to Create a .lua File

Posted: Wed Jun 29, 2016 3:04 pm
by HeroLinik
Nerx wrote:Is .lua file a virus???? :( :( :(
No, it's fine. It won't infect your computer.

Re: How to Create a .lua File

Posted: Wed Jun 29, 2016 4:45 pm
by Aero
Zipper wrote:you have to collect 50 coins and double jump in your level to enable it
thanks

now how do i make a lunaworld file?

Re: How to Create a .lua File

Posted: Wed Jun 29, 2016 6:35 pm
by Radiance
PixelPest wrote:Method 5 (Universal)
The empty .lua file doesn't work. How should I solve this?

Re: How to Create a .lua File

Posted: Wed Jun 29, 2016 7:39 pm
by WerewolfGD
how do i open lua file without installing notepad+

Re: How to Create a .lua File

Posted: Wed Jun 29, 2016 7:51 pm
by PixelPest
Afraid of the Heights wrote:
Camacho wrote:
Are either of these actually legitimate questions? The others were blaringly obvious so I'm not sure if these are actual serious.

Well, this was supposed to be a serious thread since I've answered at least three questions regarding how to make a .lua file in the last week. I spent time putting it together and it would be nice if everyone could either contribute in a serious manner or not post at all

Re: How to Create a .lua File

Posted: Wed Jun 29, 2016 9:26 pm
by Radiance
PixelPest wrote:
Afraid of the Heights wrote:
Are either of these actually legitimate questions? The others were blaringly obvious so I'm not sure if these are actual serious.

Well, this was supposed to be a serious thread since I've answered at least three questions regarding how to make a .lua file in the last week. I spent time putting it together and it would be nice if everyone could either contribute in a serious manner or not post at all
Yes, I am serious. So do you mean I should put codes in the .lua file?

Sorry PixelPest, I'm new to LunaLua.

Re: How to Create a .lua File

Posted: Wed Jun 29, 2016 9:32 pm
by PixelPest
Afraid of the Heights wrote:
PixelPest wrote:
Afraid of the Heights wrote:
Are either of these actually legitimate questions? The others were blaringly obvious so I'm not sure if these are actual serious.

Well, this was supposed to be a serious thread since I've answered at least three questions regarding how to make a .lua file in the last week. I spent time putting it together and it would be nice if everyone could either contribute in a serious manner or not post at all
Yes, I am serious. So do you mean I should put codes in the .lua file?

Sorry PixelPest, I'm new to LunaLua.
Yes. You write Lua code in the .lua file

Re: How to Create a .lua File

Posted: Thu Jun 30, 2016 10:19 am
by Nerx
Linik wrote:
Nerx wrote:Is .lua file a virus???? :( :( :(
No, it's fine. It won't infect your computer.
I'm kidding. I've used Lunalua before.

Re: How to Create a .lua File

Posted: Thu Jul 07, 2016 3:52 pm
by glitch4
Method 6 (Notepad++)
1. Open Notepad++
2. Click 'save' button in the file bar or the image
3. Name it 'lunadll.lua', etc.
4. Click 'save' to create your .lua file :D

Re: How to Create a .lua File

Posted: Mon Jul 11, 2016 1:19 pm
by Sambo
zlakergirl357 wrote:can you make a tutorial on how create a smbx .lvl file plz :cry: :cry: :cry: :cry:
If you have PGE, you can go to Tools->Application Settings, then hit "Associate file extensions." Now, when you go to create a new file, "SMBX Level File" should be an option.

Re: How to Create a .lua File

Posted: Mon Jul 11, 2016 3:06 pm
by zlaker
Sambo wrote: If you have PGE, you can go to Tools->Application Settings, then hit "Associate file extensions." Now, when you go to create a new file, "SMBX Level File" should be an option.
I wasn't being serious.

Re: How to Create a .lua File

Posted: Mon Jul 11, 2016 5:38 pm
by Sambo
Ok, good. For a minute I was genuinely worried about your intelligence level. :P