Difference between revisions of "Tutorials"

From ComputerCraft Wiki
Jump to: navigation, search
(Re-added a link to the tutorials category as some of them might not be listed here.)
 
(64 intermediate revisions by 36 users not shown)
Line 1: Line 1:
Look for the [[Getting Started]] guide if this is your first try. As some tutorials might not be listed here, you can also browse the [[:Category:Tutorials|tutorials category]].
+
As some tutorials might not be listed here, you can also browse the [[:Category:Tutorials|tutorials category]].
  
=== Basics ===
+
== Basic Tutorials ==
Common things that may need some explanation.
+
These tutorials are designed to be used in the order shown, each tutorial will build on the previous ones.
*[[The console and its shell]]
+
=== 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 ===
*[[Hello_World_Tutorial|Hello World!]]
 
 
*[[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]]
 
*[[Making_an_API_(tutorial)|Programming an API]]
 
*[[Making_an_API_(tutorial)|Programming an API]]
 
*[[Startup|Running script automatically at boot with Startup]]
 
*[[Startup|Running script automatically at boot with Startup]]
 +
*[[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()]]
 +
*[[Calculator Tutorial]]
 +
*[[Rednet Tutorial]].
 +
*[[Usage of the bundled cable using the Redstone API]]
  
 
=== Turtles ===
 
=== Turtles ===
Line 18: Line 37:
 
*[[Advanced_Turtle_Lumberjack_(tutorial)|Advanced Turtle Lumberjack]]
 
*[[Advanced_Turtle_Lumberjack_(tutorial)|Advanced Turtle Lumberjack]]
 
*[[Cobble_Generator|Cobblestone Generator]]
 
*[[Cobble_Generator|Cobblestone Generator]]
 +
*[[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.

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

Turtles

The nice little robots that do the hard work for you.

External Tutorials/Guides