- Game Development Patterns and Best Practices
- John P. Doran Matt Casanova
- 114字
- 2021-07-02 23:43:43
The app
The M5App or application layer is a class responsible for interfacing with the operating system. Since we are trying to write clean, reusable code, it is important that we don't mix our game code with any operating system function calls. If we did this, our game would be difficult to port to another system. The M5App class is created in WinMain and responsible for creating and destroying every other system. Anytime our game needs to interact with the OS, including changing resolution, switching to full screen, or getting input from a device, we will use the M5App class. In our case, the operating system that we will be using will be Windows.
推薦閱讀
- Essential Angular
- JSP開發案例教程
- Java:High-Performance Apps with Java 9
- NetBeans IDE 8 Cookbook
- Learning Node.js for .NET Developers
- R語言:邁向大數據之路(加強版)
- uni-app跨平臺開發與應用從入門到實踐
- 貫通Tomcat開發
- PHP+MySQL動態網站開發從入門到精通(視頻教學版)
- Learning Kotlin by building Android Applications
- 你真的會寫代碼嗎
- Deep Learning for Natural Language Processing
- C++17 By Example
- jMonkeyEngine 3.0 Beginner’s Guide
- 微信小程序開發零基礎入門