What do I need before we start?
I will be using Lazarus and JEDI-SDL to create the game. I however, will not cover how to use Lazarus or JEDI-SDL. This does not mean that if you have not used it before you will not be able to follow along. The concepts and game play design will be independent of this. You may substitute with any Object Pascal compiler/IDE or graphics library you like instead.
I will also be making use of objects using Object Pascal. I will assume that the reader knows at least the basics of 'Object Oriented Programming' or OOP for short. This will help to keep the code clean and manageable as we go though it's development.
Though you do not need to know a lot of math for this game, it would most certainly help in some cases. More specifically with the game physics portion where we get into a small bit of trigonometry. But it is not by any means an obstacle, so please read on!
Direction and Scope
Like all tutorials, I will start by covering the basics first. We will create the game as we go along separating each step so that it'll make for easy consumption and act as a reference for later.
We'll start off in the 2nd installment with how to generate the battlefield, draw and display it. Then in the 3rd, placing the
tanks into the battlefield. After we'll move along to the tank controls, the game's physics for fired shots and collision detection. Then we'll later learn tank damage, wind and weapons explosions. These are the basic features of the game before you can go ahead and make it all fancy afterwards.
Go to Index |
Goto page 1 |
Goto page 3