Game Development Reference
In-Depth Information
Source Control and
Other Tips
This chapter considers three main tips and tricks to script in C# or to work with
scripts. These tips are themselves powerful and important but do not belong
squarely in any of the previous chapters, which are divided mainly by subject
matter. The tips are listed here in no particular order and their main justification for
inclusion is based largely on their usefulness, and also because their documentation
elsewhere is sparse and often inconclusive. Consequently, this chapter reads as
a useful collection of did-you-know tips and tricks, which taken together, offer
knowledge that is substantial and practical. The three tips cover:
• Git revision control
• Resource folders and externals files
• Loading and saving games
Git - source control
The term source control or revision control refers to any software aimed at making
development in practice both simpler and safer for as many people as possible.
In short, it allows you to track and undo changes to your files easily and quickly, as
well as share these changes with others. Typically, software development (including
game development) relies on two important facts or ingredients. First, it's a collective
effort where multiple developers work together as part of a team, either at the same
physical location (such as an office) or across distant locations but sharing a virtual
space (such as a virtual office, forum, or even e-mail). Second, during development,
developers will tweak, edit, and make improvements to the source code. From these
two seemingly simple facts comes a range of important needs that revision control
aims to satisfy.
Search WWH ::




Custom Search