© Seth Kenlon 2019
Seth KenlonDeveloping Games on the Raspberry Pihttps://doi.org/10.1007/978-1-4842-4170-7_10

10. Save Files and Game States

Seth Kenlon1 
(1)
Wellington, New Zealand
 

The Battlejack game is fully functional, but there are still convenience functions to add, including saving and loading game progress, and switching between fullscreen and windowed mode.

Realistically, Battlejack doesn’t exactly demand a fullscreen mode, since it’s a relatively simple game. But for more complex games with a complex story, you might want to encourage immersion, and one way to help the player focus on the game and only the game is to give them the option for the game to take over their entire screen.

The problem with switching between fullscreen and windowed ...

Get Developing Games on the Raspberry Pi: App Programming with Lua and LÖVE now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.