How to Create a .lua File

This is the place for discussion and support for LunaLua and related modifications and libraries.
Forum rules
Before you make a topic/post, consider the following:
-Is there a topic for this already?
-Is your post on topic/appropriate?
-Are you posting in the right forum/following the forum rules?
User avatar
PixelPest
Link
Link
Posts: 7118
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Current Project: Boom Boom Evolution
Chat Username: PixelPest
Contact:

How to Create a .lua File

Postby PixelPest » Wed Jun 29, 2016 12:43 pm

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)

User avatar
zlaker
Ludwig von Koopa
Ludwig von Koopa
Posts: 2827
Joined: Fri Dec 20, 2013 1:46 pm

Re: How to Create a .lua File

Postby zlaker » Wed Jun 29, 2016 1:08 pm

can you make a tutorial on how create a smbx .lvl file plz :cry: :cry: :cry: :cry:
ImageImageImageImageImageImageImageImageImageImage
I make art lol

User avatar
h2643
Ludwig von Koopa
Ludwig von Koopa
Posts: 2873
Joined: Sat Dec 21, 2013 7:23 am
Current Project: RL
Chat Username: h/a troll

Re: How to Create a .lua File

Postby h2643 » Wed Jun 29, 2016 1:27 pm

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

User avatar
RudeGuy
Luigi
Luigi
Posts: 4972
Joined: Fri Dec 27, 2013 7:36 am
Flair: help
Current Project: a random smw hack
Chat Username: rudeguy

Re: How to Create a .lua File

Postby RudeGuy » Wed Jun 29, 2016 1:49 pm

h2643 wrote: create a txt file and rename the extension to lvl
how do you rename files?
im bored

User avatar
Aero
Palom
Palom
Posts: 4490
Joined: Fri Mar 28, 2014 2:51 pm
Flair: Pirate economy
Chat Username: aero

Re: How to Create a .lua File

Postby Aero » Wed Jun 29, 2016 2:23 pm

I made a lua file but when I double click it nothing happens. Mario doesn't show up or anything.

What do wrong

User avatar
Zipper
Ripper II
Ripper II
Posts: 355
Joined: Wed Aug 12, 2015 11:31 am
Current Project: sos
Chat Username: ZipperQR
Contact:

Re: How to Create a .lua File

Postby Zipper » Wed Jun 29, 2016 2:34 pm

you have to collect 50 coins and double jump in your level to enable it

Nerx
Fighter Fly
Fighter Fly
Posts: 75
Joined: Thu Apr 14, 2016 12:57 pm

Re: How to Create a .lua File

Postby Nerx » Wed Jun 29, 2016 2:43 pm

Is .lua file a virus???? :( :( :(
Hey there! :D

User avatar
HeroLinik
Cyan Yoshi Egg
Cyan Yoshi Egg
Posts: 3433
Joined: Fri Dec 20, 2013 1:28 pm
Current Project: Stupid university assignments :/
Chat Username: Look below my avatar
Contact:

Re: How to Create a .lua File

Postby HeroLinik » Wed Jun 29, 2016 3:04 pm

Nerx wrote:Is .lua file a virus???? :( :( :(
No, it's fine. It won't infect your computer.
Image
I support: show
Lol, you got trolled. Move along, if you please.
Check out my content on YouTube! // Don't forget to check out my project as well!

User avatar
Aero
Palom
Palom
Posts: 4490
Joined: Fri Mar 28, 2014 2:51 pm
Flair: Pirate economy
Chat Username: aero

Re: How to Create a .lua File

Postby Aero » Wed Jun 29, 2016 4:45 pm

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?

User avatar
Radiance
Level Reviewer
Level Reviewer
Posts: 1264
Joined: Thu Dec 10, 2015 7:53 am
Current Project: viewtopic.php?t=16308

Re: How to Create a .lua File

Postby Radiance » Wed Jun 29, 2016 6:35 pm

PixelPest wrote:Method 5 (Universal)
The empty .lua file doesn't work. How should I solve this?

User avatar
WerewolfGD
Wart
Wart
Posts: 3256
Joined: Tue Dec 02, 2014 2:28 am
Flair: Daily life of Alagirez
Current Project: Questioning my life
Chat Username: Alagirez
Contact:

Re: How to Create a .lua File

Postby WerewolfGD » Wed Jun 29, 2016 7:39 pm

how do i open lua file without installing notepad+

A former SMBX level designner
If you want to to talk with me, go here : Alagirez#2056
Also a furry

Image
YT Channel |MxW2 for those who wants it
My osu! Profile | My twitter
Image

Awooo!

User avatar
PixelPest
Link
Link
Posts: 7118
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Current Project: Boom Boom Evolution
Chat Username: PixelPest
Contact:

Re: How to Create a .lua File

Postby PixelPest » Wed Jun 29, 2016 7:51 pm

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

User avatar
Radiance
Level Reviewer
Level Reviewer
Posts: 1264
Joined: Thu Dec 10, 2015 7:53 am
Current Project: viewtopic.php?t=16308

Re: How to Create a .lua File

Postby Radiance » Wed Jun 29, 2016 9:26 pm

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.

User avatar
PixelPest
Link
Link
Posts: 7118
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Current Project: Boom Boom Evolution
Chat Username: PixelPest
Contact:

Re: How to Create a .lua File

Postby PixelPest » Wed Jun 29, 2016 9:32 pm

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

Nerx
Fighter Fly
Fighter Fly
Posts: 75
Joined: Thu Apr 14, 2016 12:57 pm

Re: How to Create a .lua File

Postby Nerx » Thu Jun 30, 2016 10:19 am

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.
Hey there! :D

glitch4
Ludwig von Koopa
Ludwig von Koopa
Posts: 2556
Joined: Tue Dec 31, 2013 3:43 pm
Contact:

Re: How to Create a .lua File

Postby glitch4 » Thu Jul 07, 2016 3:52 pm

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

User avatar
Sambo
Blooper
Blooper
Posts: 187
Joined: Fri Jan 24, 2014 6:43 pm
Current Project: SMBX2, Mario & the 7 Orbs

Re: How to Create a .lua File

Postby Sambo » Mon Jul 11, 2016 1:19 pm

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.
Projects I support:
Image Image Image Image
Current Project:
Image

User avatar
zlaker
Ludwig von Koopa
Ludwig von Koopa
Posts: 2827
Joined: Fri Dec 20, 2013 1:46 pm

Re: How to Create a .lua File

Postby zlaker » Mon Jul 11, 2016 3:06 pm

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.
ImageImageImageImageImageImageImageImageImageImage
I make art lol

User avatar
Sambo
Blooper
Blooper
Posts: 187
Joined: Fri Jan 24, 2014 6:43 pm
Current Project: SMBX2, Mario & the 7 Orbs

Re: How to Create a .lua File

Postby Sambo » Mon Jul 11, 2016 5:38 pm

Ok, good. For a minute I was genuinely worried about your intelligence level. :P
Projects I support:
Image Image Image Image
Current Project:
Image


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest