Template:ScriptTutorial: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Gamer3D
m Fixed "Lua" links.
>NXTBoy
No edit summary
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This is an '''{{{1}}}''' user tutorial.  
<includeonly>
<div style="margin: 1em auto; {{border-radius|4px}}; width: 300px; background-color: #ffdddd; border-top: dashed 2px #ff0000; border-left: dashed 2px #ff0000; border-bottom: dashed 2px #aa0000; border-right: dashed 2px #aa0000; padding: 2px;">
This is {{switch|{{lc:{{{1}}}}}|easy=an|intermediate=an|a}} '''{{{1}}}''', {{{2}}} related tutorial.
</div>
</includeonly><noinclude>


'''Scripting in Roblox'''


Scripting allows advanced users of [[Roblox Studio]] to add interactive components to their maps. If you have ever played a [[BrickBattle]] map, then you have seen these scripts in action. In [[BrickBattle]] maps, scripts are used to program all of the weapons, the leaderboard, the random player spawning and the team beacons. Roblox embeds the [[Lua Help|Lua]] language for scripting. [[Lua Help|Lua]] is easy to learn and even those without previous programming experience can probably make some cool things with it. That being said, the task of learning how scripting in Roblox works is best approached with a playful hacker mentality. It requires persistence to become good at it. You won't be able to build a hovercraft with auto-firing rocket launchers right off the bat.
Creates a little box indicating that the page is a tutorial in the center of the page.


'''Warning''': The scripting language in Roblox is in '''Super Alpha''' release. Anything and everything may change between Roblox releases. Do not expect it to be flawless.
<pre>
{{ScriptTutorial|
First argument is difficulty
|Second argument is what it's related to.
}}
</pre>


<includeonly>[[Category:Scripting Tutorials]]</includeonly>
<pre>
{{ScriptTutorial|Hard|Building}}
</pre>
 
{{ScriptTutorial|Hard|Building}}
[[Category:Templates]]

Latest revision as of 13:32, 24 December 2011


Creates a little box indicating that the page is a tutorial in the center of the page.

{{ScriptTutorial|
First argument is difficulty
|Second argument is what it's related to.
}}
{{ScriptTutorial|Hard|Building}}


This is a Hard, Building related tutorial.