Table of Contents
For reading of this chapter it is strongly recommended that you've spent a few hours programming in Ruby, because otherwise you will have big problems - it isn't hard to understand and copy basic syntactic constructs, but as soon as errors occur, you can't go on without some Ruby programming experience.
Look at the directory with examples for this chapter
(examples/CH3_Scripting/
). I have prepared
two levels for you. In directory FullLevel
you will find level with several objects - you can try it right now
to see how it works and look into it as to kind of reference.
Directory EmptyLevel
contains the same map
as FullLevel, but without any objects. You should copy
EmptyLevel somewhere and follow this tutorial. If you
follow it carefully step-by-step, you will finally get
the same as is in FullLevel.