Difference between revisions of "Tutorials"

From ComputerCraft Wiki
Jump to: navigation, search
 
(44 intermediate revisions by 29 users not shown)
Line 1: Line 1:
 
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]].
 
== Before you begin ==
 
It is recommended that you read these pages before you begin working with ComputerCraft.
 
*[[Getting Started]]
 
*[[CraftOS Shell | Shell Commands]]
 
 
  
 
== Basic Tutorials ==
 
== Basic Tutorials ==
Line 13: Line 7:
 
*[[Variables]]
 
*[[Variables]]
 
*[[Conditional_statements|If, Then, Else]]
 
*[[Conditional_statements|If, Then, Else]]
*[[Functions]]
+
*[[Function (type)|Functions]]
 +
*[[Loops]]
 +
*[[Tables]]
  
==Advanced tutorials==
+
== Advanced Tutorials ==
These tutorials deal with specific functions you might not need.
+
These tutorials cover more advanced topics which can be useful but are not strictly necessary for simple projects.
===Coding for ComputerCraft===
+
*[[Raw key events]]
+
  
 +
*[[Class]]es
 +
*[[Lua_Resource_Pack_Making_(Tutorial)|Lua Resource Pack Making]]
  
== Exemplar Programs ==
+
== 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.
 
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 ===
*[[Making_a_Delay_function|Making a Delay (timer) function]]
 
 
*[[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 31: 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]]
+
*[[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 39: Line 38:
 
*[[Cobble_Generator|Cobblestone Generator]]
 
*[[Cobble_Generator|Cobblestone Generator]]
 
*[[Turtle_Stairbuilder_(tutorial)|Turtle Stairbuilder]]
 
*[[Turtle_Stairbuilder_(tutorial)|Turtle Stairbuilder]]
 
  
 
== External Tutorials/Guides ==
 
== 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.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://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]]
 
[[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