Difference between revisions of "Tutorials"
From ComputerCraft Wiki
(56 intermediate revisions by 31 users not shown) | |||
Line 1: | Line 1: | ||
− | + | As some tutorials might not be listed here, you can also browse the [[:Category:Tutorials|tutorials category]]. | |
− | === | + | == Basic Tutorials == |
− | + | These tutorials are designed to be used in the order shown, each tutorial will build on the previous ones. | |
− | *[[ | + | === Introduction to Coding === |
+ | *[[Hello_World_Tutorial|Hello World!]] | ||
+ | *[[Variables]] | ||
+ | *[[Conditional_statements|If, Then, Else]] | ||
+ | *[[Function (type)|Functions]] | ||
+ | *[[Loops]] | ||
+ | *[[Tables]] | ||
+ | |||
+ | == Advanced Tutorials == | ||
+ | These tutorials cover more advanced topics which can be useful but are not strictly necessary for simple projects. | ||
+ | |||
+ | *[[Class]]es | ||
+ | *[[Lua_Resource_Pack_Making_(Tutorial)|Lua Resource Pack Making]] | ||
+ | |||
+ | == Example Programs == | ||
+ | These pages guide you through programs created by other users. They are not necessarily well-coded, but can be useful as a loose guide. | ||
=== Programming & Wiring === | === Programming & Wiring === | ||
− | |||
− | |||
*[[Guess_The_Number_(tutorial)|Guess the Number]] | *[[Guess_The_Number_(tutorial)|Guess the Number]] | ||
*[[Making_a_Password_Protected_Door|Password Protected Door]] | *[[Making_a_Password_Protected_Door|Password Protected Door]] | ||
Line 14: | Line 27: | ||
*[[Raw key events| Detecting specific keys (such as the arrow keys)]] | *[[Raw key events| Detecting specific keys (such as the arrow keys)]] | ||
*[[Receiving a rednet message through os.pullEvent()|Receiving a rednet message through os.pullEvent()]] | *[[Receiving a rednet message through os.pullEvent()|Receiving a rednet message through os.pullEvent()]] | ||
− | *[[ | + | *[[Calculator Tutorial]] |
+ | *[[Rednet Tutorial]]. | ||
+ | *[[Usage of the bundled cable using the Redstone API]] | ||
+ | |||
=== Turtles === | === Turtles === | ||
The nice little robots that do the hard work for you. | The nice little robots that do the hard work for you. | ||
Line 22: | Line 38: | ||
*[[Cobble_Generator|Cobblestone Generator]] | *[[Cobble_Generator|Cobblestone Generator]] | ||
*[[Turtle_Stairbuilder_(tutorial)|Turtle Stairbuilder]] | *[[Turtle_Stairbuilder_(tutorial)|Turtle Stairbuilder]] | ||
+ | |||
+ | == External Tutorials/Guides == | ||
+ | *[http://www.minecraftforum.net/topic/907632-mod-tutorial-computercraft-v12-very-basic-lua-tutorial-updated-1112/page__p__11556908#entry11556908 Onionnion's Basic Lua Tutorial] | ||
+ | *[http://www.computercraft.info/forums2/index.php?/topic/1516-ospullevent-what-is-it-and-how-is-it-useful/page__view__findpost__p__11156 Onionnion's os.pullEvent() Guide] | ||
+ | *[http://wiki.roblox.com/ Roblox Wiki (Has tutorials on Lua)] | ||
+ | *[http://www.lua.org/pil/contents.html Programming in Lua, a general purpose guidebook written by a programmer that writes the Lua interpreter] | ||
+ | |||
+ | [[Category:Tutorials]] |
Latest revision as of 17:51, 20 October 2015
As some tutorials might not be listed here, you can also browse the tutorials category.
Contents
Basic Tutorials
These tutorials are designed to be used in the order shown, each tutorial will build on the previous ones.
Introduction to Coding
Advanced Tutorials
These tutorials cover more advanced topics which can be useful but are not strictly necessary for simple projects.
Example Programs
These pages guide you through programs created by other users. They are not necessarily well-coded, but can be useful as a loose guide.
Programming & Wiring
- Guess the Number
- Password Protected Door
- Programming an API
- Running script automatically at boot with Startup
- Detecting specific keys (such as the arrow keys)
- Receiving a rednet message through os.pullEvent()
- Calculator Tutorial
- Rednet Tutorial.
- Usage of the bundled cable using the Redstone API
Turtles
The nice little robots that do the hard work for you.