We are going to need to add several new classes for this chapter. Obviously, if we want a camera in our game, we will need to add a Camera class. In previous versions of the code, the rendering was done through direct calls to SDL. Because SDL does not have a camera as a part of the API, we will need to add a RenderManager class that will act as an intermediate step in our rendering process. This class will use the position of the camera to determine where on our canvas we will be rendering our game object. We will be increasing our gameplay area to four screens wide and four screens high. This creates a gameplay problem, because now, we will need to be able to find the enemy spaceship when we play. To solve this problem, we will need to create a locator user interface (UI) element that points an arrow in the direction of the enemy spaceship.
...
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
South Africa
Thailand
Ukraine
Switzerland
Slovakia
Luxembourg
Hungary
Romania
Denmark
Ireland
Estonia
Belgium
Italy
Finland
Cyprus
Lithuania
Latvia
Malta
Netherlands
Portugal
Slovenia
Sweden
Argentina
Colombia
Ecuador
Indonesia
Mexico
New Zealand
Norway
South Korea
Taiwan
Turkey
Czechia
Austria
Greece
Isle of Man
Bulgaria
Japan
Philippines
Poland
Singapore
Egypt
Chile
Malaysia