Difference between revisions of "Basic lua: Introduction"
(36 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | == What is Lua | + | {| class="in" |
− | '''Lua Script''' is a lightweight, cross-platform scripting language that was originally created as an extension of sorts | + | |- |
+ | | class="i_arrow clickablecell" | [[basic_lua:_Index|<]] | ||
+ | | class="i_norm clickablecell" | '''[[basic_lua:_Index|Index]]''' | ||
+ | | class="i_arrow clickablecell" | [[basic_lua:_Basics|>]] | ||
+ | |} | ||
+ | <hr> | ||
+ | == What is Lua script == | ||
+ | <span style="position:absolute;top:12px;right:40px;">[[File:Lua-Logo.svg.png|60px|link=http://www.lua.org/]]</span> | ||
+ | '''Lua Script''' is a lightweight, cross-platform scripting language that was originally created as an extension - of sorts - to further extend upon already existing programming languages; but over time it has grown in popularity due to how easy it is to learn, & the amount of time saved in creating simple procedural scripts, functions & tables, which is why Lua script is now the '''primary''' or '''secondary''' scripting language used by multiple game engines. | ||
For more information please see: [http://www.lua.org here] & [http://en.wikipedia.org/wiki/Lua_%28programming_language%29 here]. | For more information please see: [http://www.lua.org here] & [http://en.wikipedia.org/wiki/Lua_%28programming_language%29 here]. | ||
== What is the meaning of LUA == | == What is the meaning of LUA == | ||
− | Actually it's not <strike>''LUA''</strike> at all. Lua is '''not''' an | + | Actually it's not <strike>'''LUA'''</strike> at all. '''Lua''' is '''not''' an abbreviation or acronym of any kind, it is simply the Portuguese word for '''moon'''. |
== What languages is Lua similar to == | == What languages is Lua similar to == | ||
− | Lua, is similar to programming languages such as C, C#, C++, & Java to name a few, although Lua is relatively basic in comparison. | + | Lua, is similar to programming languages such as C, C#, C++, & Java to name a few, although Lua is relatively basic in comparison because we don't have to declare the variable type each time we create a new variable. |
+ | == Why learn Lua == | ||
+ | Why would you want to learn Lua script? I mean honestly why would you? Visionaire Studio already comes with enough pre-existing actions & queries, that you could technically (almost) make a finished game of commercial caliber; the caliber part being entirely up to you &/or your team, but still... | ||
− | + | My answer is pretty simple. Why not? Lua can be used to further enhance the pre-existing actions & queries, or create entirely new functions & features that do not come standard with Visionaire Studio by default. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | Lua is fairly easy to learn, has a short learning curve, & anyone with any previous programming experience - ''I'm even including basic '''html''' in this category'' - shouldn't have much trouble getting to grips with the basic fundamentals. Plus you will '''need''' to use it, if you want to allow players to create screenshots, have your game remember the players options configuration each time the game is launched, or go beyond the limitations of the Visionaire Studio: Adventure Game Engine, in general. | |
− | |||
− | |||
− | ''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | In the very least, I recommend trying to learn the basics, as from there you could potentially apply what you have learned into other scripting & programming languages; & who knows... you might even have an aptitude for learning code & be able to learn more advanced programming languages like c# or c++, thus allowing you to make games with more powerful engines like Unity, UDK (unreal engine) or CRYENGINE; or potentially bang out the next biggest metroidvania hit since sliced bread with Game Maker Studio. | |
− | + | <hr> | |
− | + | {| class="in" | |
− | + | |- | |
− | < | + | | class="i_arrow clickablecell" | [[basic_lua:_Index|<]] |
− | + | | class="i_norm clickablecell" | '''[[basic_lua:_Index|Index]]''' | |
− | + | | class="i_arrow clickablecell" | [[basic_lua:_Basics|>]] | |
− | + | |}{{toc}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ]] | ||
− | |||
− | {{toc}} |
Latest revision as of 02:23, 4 September 2022
< | Index | > |
What is Lua script
Lua Script is a lightweight, cross-platform scripting language that was originally created as an extension - of sorts - to further extend upon already existing programming languages; but over time it has grown in popularity due to how easy it is to learn, & the amount of time saved in creating simple procedural scripts, functions & tables, which is why Lua script is now the primary or secondary scripting language used by multiple game engines.
For more information please see: here & here.
What is the meaning of LUA
Actually it's not LUA at all. Lua is not an abbreviation or acronym of any kind, it is simply the Portuguese word for moon.
What languages is Lua similar to
Lua, is similar to programming languages such as C, C#, C++, & Java to name a few, although Lua is relatively basic in comparison because we don't have to declare the variable type each time we create a new variable.
Why learn Lua
Why would you want to learn Lua script? I mean honestly why would you? Visionaire Studio already comes with enough pre-existing actions & queries, that you could technically (almost) make a finished game of commercial caliber; the caliber part being entirely up to you &/or your team, but still...
My answer is pretty simple. Why not? Lua can be used to further enhance the pre-existing actions & queries, or create entirely new functions & features that do not come standard with Visionaire Studio by default.
Lua is fairly easy to learn, has a short learning curve, & anyone with any previous programming experience - I'm even including basic html in this category - shouldn't have much trouble getting to grips with the basic fundamentals. Plus you will need to use it, if you want to allow players to create screenshots, have your game remember the players options configuration each time the game is launched, or go beyond the limitations of the Visionaire Studio: Adventure Game Engine, in general.
In the very least, I recommend trying to learn the basics, as from there you could potentially apply what you have learned into other scripting & programming languages; & who knows... you might even have an aptitude for learning code & be able to learn more advanced programming languages like c# or c++, thus allowing you to make games with more powerful engines like Unity, UDK (unreal engine) or CRYENGINE; or potentially bang out the next biggest metroidvania hit since sliced bread with Game Maker Studio.
< | Index | > |