This chapter focuses on persistent data and serialization generally; specifically, this is about saving and loading information to and from files, whether human-readable text files or encrypted binary files, both online and offline. This process has two especially important functions for games: firstly, save-game states allow the player to save and resume their progress in-game, and secondly, Data Driven Design (DDD) lets developers store huge databases (such as weapon and player stats) in text files and spreadsheets to drive gameplay elements. The first use case interests us here for Dead Keys, allowing the player to save their progress as they move through levels. Let's get started.
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine