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.
...
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia