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