Follow TV Tropes

Following

History MediaNotes / Lua

Go To

OR

Is there an issue? Send a MessageReason:
None


* MediaNotes/{{Roblox}}: Programming language for the game creation system, so all games are scripted with Lua.

to:

* MediaNotes/{{Roblox}}: Platform/{{Roblox}}: Programming language for the game creation system, so all games are scripted with Lua.

Added: 64

Changed: 117

Removed: 109

Is there an issue? Send a MessageReason:
None


* VideoGame/{{Roblox}}: Programming language for the game creation system, so all games are scripted with Lua



* ''LÖVE'', a popular open-source engine for 2D games, uses Lua.



* ''LÖVE'', a popular open-source engine for 2D games, uses Lua.

to:

* ''LÖVE'', a popular open-source engine MediaNotes/{{Roblox}}: Programming language for 2D games, uses the game creation system, so all games are scripted with Lua.
Is there an issue? Send a MessageReason:
Trope was cut/disambiguated due to cleanup


It's important to note that [[SpellMyNameWithAnS the name of the language is "Lua", not "LUA"]]. It is not an acronym, but rather the Portugese word for "moon", as Lua was developed in UsefulNotes/{{Brazil}}.

to:

It's important to note that [[SpellMyNameWithAnS the name of the language is "Lua", not "LUA"]]."LUA". It is not an acronym, but rather the Portugese word for "moon", as Lua was developed in UsefulNotes/{{Brazil}}.
Is there an issue? Send a MessageReason:
None


Lua is an Imperative, Dynamically and Strongly typed, Multi-Paradigm UsefulNotes/ProgrammingLanguage. It is the most commonly used publicly available scripting language in VideoGames development. While the Unreal engine's scripting language ''might'' be more commonly used, that language is bound to the Unreal engine, while Lua can be used in anything.

to:

Lua is an Imperative, Dynamically and Strongly typed, Multi-Paradigm UsefulNotes/ProgrammingLanguage.MediaNotes/ProgrammingLanguage. It is the most commonly used publicly available scripting language in VideoGames development. While the Unreal engine's scripting language ''might'' be more commonly used, that language is bound to the Unreal engine, while Lua can be used in anything.
Is there an issue? Send a MessageReason:
Page was movedfrom Useful Notes.Lua to Media Notes.Lua. Null edit to update page.
Is there an issue? Send a MessageReason:
None


* ''UsefulNotes/Pico8'' games are all coded in a variant of Lua (some alternative syntax is provided, and the Lua standard libraries are replaced with PICO-8's own set of functions).

to:

* ''UsefulNotes/Pico8'' ''MediaNotes/Pico8'' games are all coded in a variant of Lua (some alternative syntax is provided, and the Lua standard libraries are replaced with PICO-8's own set of functions).

Added: 257

Changed: 23

Is there an issue? Send a MessageReason:
None



to:

[[folder:Game Engines]]
* ''UsefulNotes/Pico8'' games are all coded in a variant of Lua (some alternative syntax is provided, and the Lua standard libraries are replaced with PICO-8's own set of functions).
* ''LÖVE'', a popular open-source engine for 2D games, uses Lua.
[[/folder]]
Is there an issue? Send a MessageReason:
None


* ''VideoGame/PAYDAY2'' uses Lua for all of its systems. Modders can use the [=SuperBLT=] Lua hook to overwrite it with other files, enabling many kings of mods.

to:

* ''VideoGame/PAYDAY2'' uses Lua for all of its systems. Modders can use the [=SuperBLT=] Lua hook to overwrite it with other files, enabling many kings kinds of mods.
Is there an issue? Send a MessageReason:
None

Added DiffLines:

* ''VideoGame/PAYDAY2'' uses Lua for all of its systems. Modders can use the [=SuperBLT=] Lua hook to overwrite it with other files, enabling many kings of mods.
Is there an issue? Send a MessageReason:
None



* All '''Roblox''' games are written in Lua

to:

\n* All '''Roblox''' ''VideoGame/GarrysMod''
* VideoGame/{{Roblox}}: Programming language for the game creation system, so all
games are written in scripted with Lua
* ''VideoGame/SonicUnleashed''
Is there an issue? Send a MessageReason:
None

Added: 2

Changed: 50

Is there an issue? Send a MessageReason:
None


-- Outputs 17

to:

-- Outputs 1717\\



!!!



to:

!!!


!!!For Loops
@@for i = 0,9,1 do\\
    print(i)\\
end\\
@@

Added: 300

Changed: 12

Is there an issue? Send a MessageReason:
None



to:

!!!Hello Lua


Added DiffLines:

!!!Variable Declarations and Concatenation
@@a = 10\\
b = 7\\
c = "hi"\\
print(a + b)\\
-- Outputs 17
print(b .. c)\\
-- Outputs 7hi\\
print("Hello and " .. c)\\
-- Outputs Hello and hi\\
@@
\\
Lua is unique in that it has a unique operator dedicated to concatenating. Making the + operator only for addition.

!!!


Added: 311

Changed: 10

Is there an issue? Send a MessageReason:
None


Lua is an imperative, dynamically and strongly typed, multi-paradigm UsefulNotes/ProgrammingLanguage. It is the most commonly used publicly available scripting language in VideoGames development. While the Unreal engine's scripting language ''might'' be more commonly used, that language is bound to the Unreal engine, while Lua can be used in anything.

to:

Lua is an imperative, dynamically Imperative, Dynamically and strongly Strongly typed, multi-paradigm Multi-Paradigm UsefulNotes/ProgrammingLanguage. It is the most commonly used publicly available scripting language in VideoGames development. While the Unreal engine's scripting language ''might'' be more commonly used, that language is bound to the Unreal engine, while Lua can be used in anything.
anything.

You can try Lua out [[https://www.lua.org/demo.html here]].


Added DiffLines:

[[hardline]]

[[folder:Code Examples]]

@@print("Hello World!")\\
@@
\\
Outputs Hello World! to the console. Can also be written as print 'Hello World!'

[[/folder]]

!!Works That Use Lua

[[folder:Video Games]]

* All '''Roblox''' games are written in Lua

[[/folder]]
Is there an issue? Send a MessageReason:
None


Lua is a scripting language; it is the most commonly used publicly available scripting language in VideoGames development. While the Unreal engine's scripting language ''might'' be more commonly used, that language is bound to the Unreal engine, while Lua can be used in anything.

to:

Lua is a scripting language; it an imperative, dynamically and strongly typed, multi-paradigm UsefulNotes/ProgrammingLanguage. It is the most commonly used publicly available scripting language in VideoGames development. While the Unreal engine's scripting language ''might'' be more commonly used, that language is bound to the Unreal engine, while Lua can be used in anything.



Lua is a pretty respectable language by itself. {{Tropers/STUART}} provides standalone Lua scripts for editing TV Tropes.

to:

Lua is a pretty respectable language by itself. {{Tropers/STUART}} provides standalone Lua scripts for editing TV Tropes.----
Is there an issue? Send a MessageReason:
None

Added DiffLines:

[[quoteright:250:https://static.tvtropes.org/pmwiki/pub/images/d238d9f2_81b8_44d1_b584_6c6e6be4be2f.png]]
Is there an issue? Send a MessageReason:
No, actually, those other languages are often embedded as well.


# Lua, unlike many other publicly available scripting languages, is designed to be embedded in an application. Python, Perl, and the like are designed to be used on the command line. Embedded scripting languages offer a degree of developer control that non-embedded languages lack.

to:

# Lua, unlike many other publicly available scripting languages, is designed to be embedded in an application. Python, Perl, and the like are designed to be used on the command line. Embedded scripting languages offer a degree of developer control that non-embedded languages lack.
Is there an issue? Send a MessageReason:
None


The Lua language was developed in UsefulNotes/{{Brazil}}.

to:

The Lua It's important to note that [[SpellMyNameWithAnS the name of the language is "Lua", not "LUA"]]. It is not an acronym, but rather the Portugese word for "moon", as Lua was developed in UsefulNotes/{{Brazil}}.
Is there an issue? Send a MessageReason:
None


Lua is a pretty respectable language by itself. @/STUART provides standalone Lua scripts for editing TV Tropes.

to:

Lua is a pretty respectable language by itself. @/STUART {{Tropers/STUART}} provides standalone Lua scripts for editing TV Tropes.

Changed: 1325

Removed: 598

Is there an issue? Send a MessageReason:
None


1: Lua is the smallest scripting language available. It has very little overhead, and its standard library is very small and tight.

2: Lua is ''the'' fastest VM-based scripting language, and even ''faster'' as [=LuaJIT=].

3: Lua, as a language, is very flexible and easy to learn.

4: Lua, unlike many other publicly available scripting languages, is designed to be embedded in an application. Python, Perl, and the like are designed to be used on the command line. Embedded scripting languages offer a degree of developer control that non-embedded languages lack.

5: On top of being easily ''embedded'', Lua is easily ''extended'', with a simple API used for both that can be used to make Lua interface modules for any C library. (This allows, for instance, an external window using the IUP UI library to control an NES game running in the FCEUX emulator, which has Lua embedded.)

6: Unlike almost all other open source projects, Lua (and other projects in its culture) has no "copyleft" clause (under the MIT license), meaning that you are free to do whatever you want with derivative works that use it, including selling them without disclosing the source code.

to:

1: # Lua is the smallest scripting language available. It has very little overhead, and its standard library is very small and tight.

2: Lua
tight.
#Lua
is ''the'' fastest VM-based scripting language, and even ''faster'' as [=LuaJIT=].

3:
[=LuaJIT=].
#
Lua, as a language, is very flexible and easy to learn.

4:
learn.
#
Lua, unlike many other publicly available scripting languages, is designed to be embedded in an application. Python, Perl, and the like are designed to be used on the command line. Embedded scripting languages offer a degree of developer control that non-embedded languages lack.

5:
lack.
#
On top of being easily ''embedded'', Lua is easily ''extended'', with a simple API used for both that can be used to make Lua interface modules for any C library. (This allows, for instance, an external window using the IUP UI library to control an NES game running in the FCEUX emulator, which has Lua embedded.)

6:
)
#
Unlike almost all other open source projects, Lua (and other projects in its culture) has no "copyleft" clause (under the MIT license), meaning that you are free to do whatever you want with derivative works that use it, including selling them without disclosing the source code.

Added: 450

Changed: 453

Is there an issue? Send a MessageReason:
JIT Java Script is stupid


1: Lua is the smallest scripting language available. It has a very little overhead, and its standard library is very small and tight.

2: Lua is one of the fastest executing scripting languages. [=JavaScript=] is the only one that is consistently faster, and that only when it is Just-In-Time compiled.

to:

1: Lua is the smallest scripting language available. It has a very little overhead, and its standard library is very small and tight.

2: Lua is one of the ''the'' fastest executing VM-based scripting languages. [=JavaScript=] is the only one that is consistently faster, language, and that only when it is Just-In-Time compiled.
even ''faster'' as [=LuaJIT=].



The Lua language was developed in UsefulNotes/{{Brazil}}.

to:

5: On top of being easily ''embedded'', Lua is easily ''extended'', with a simple API used for both that can be used to make Lua interface modules for any C library. (This allows, for instance, an external window using the IUP UI library to control an NES game running in the FCEUX emulator, which has Lua embedded.)

6: Unlike almost all other open source projects, Lua (and other projects in its culture) has no "copyleft" clause (under the MIT license), meaning that you are free to do whatever you want with derivative works that use it, including selling them without disclosing the source code.

The Lua language was developed in UsefulNotes/{{Brazil}}.UsefulNotes/{{Brazil}}.

Lua is a pretty respectable language by itself. @/STUART provides standalone Lua scripts for editing TV Tropes.

Top