Game Development Reference
In-Depth Information
Using threads like this can allow you to provide better responsiveness to players. They aren't
particularly effective in this task in a text-based game, but they can be used to provide more CPU
execution time per frame in a 3D graphics-based game or for situations such as having a constantly
updating loading or progress bar when long-running tasks are executing on other CPUs. Better
responsiveness or faster frame rates improve usability and players' perception of your games.
The next and last chapter in this topic will show you techniques that you can use to write code that
will compile on multiple platforms. This will be useful if you find yourself in a situation where you
want to write games that can run on iOS, Android and Windows Phones, or Windows and Linux, or
even consoles such as the Xbox One and PlayStation 4. You might even write a game that can run
on all of these in the same way an engine such as Unity can.
Search WWH ::




Custom Search