Lines 3D game is a UWP application based on “XAML App for OpenGL ES (Universal Windows)” VS2015 project template (written in C++/VS2015 using OpenGL ES 2.0 and elements of OpenGL 3.0). You can install Lines 3D from Windows Store and play for free, or at least see the game screenshots.
Main components
Game logic and OpenGL rendering engine in Lines 3D are cross-platform. Their code uses STL, OpenGL and abstract C++ interfaces for doing the following tasks:
- Loading sounds from wav files and playing them with different speed and volume.
- Loading textures from PNG images (this code uses Windows API, but probably it can be made cross-platform).
- Logging game events, such as “game over” to the Windows Store. They used to collect statistics on what game levels the users play and what score they get. The possible application crashes (unhandled exceptions and memory failures) and internal errors (like file not found, etc.) are also logged to the Windows Store.
- Accessing application installation path and application data path in the file system.
All the graphic controls, including the main windows, application bar (main menu), dialogs, message boxes and advertising are written using XAML and Windows-specific code.