Game Development Reference
In-Depth Information
Chapter 14
Scripting Introduction
Many game-creation tools use a graphical editor to place objects but also contain
a scripting language or programming language to allow the game
'
s creator to
create the logic. Realm Crafter uses the C# (pronounced
“
C-sharp
�
) language to
create its game logic.
What Is a Programming Language?
Programming languages have been around for many years, and have allowed savvy
computer users to create their own computer programs that perform a particular
function. Programmers could write instructions on a line per line basis and have
the computer interpret them and perform a particular reaction. This program
would only work on the computer that was used to write the code. In other cases
programmers would compile the program into a format that they could then save
to tape or disc, which could then be run on any other computer system.
Early programming languages such as BASIC, COBOL, PASCAL, and Assembly
had different uses and complexity. Some were used in home computers, whereas
others were popular in businesses. Not all computers were able to run all
languages, and each had its own set of instructions that required the pro-
grammer to know special syntax to get it to work correctly.
BASIC (Beginners All Purpose Symbolic Instruction Code) was one of the first
mass-market home user programming languages. From the early eight-bit
Search WWH ::




Custom Search