- 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.
推薦閱讀
- 數(shù)據(jù)科學(xué)實戰(zhàn)手冊(R+Python)
- Instant Typeahead.js
- Mastering LibGDX Game Development
- Learn React with TypeScript 3
- PySpark Cookbook
- MySQL從入門到精通(軟件開發(fā)視頻大講堂)
- Service Mesh實戰(zhàn):基于Linkerd和Kubernetes的微服務(wù)實踐
- ScratchJr趣味編程動手玩:讓孩子用編程講故事
- 從Power BI到Analysis Services:企業(yè)級數(shù)據(jù)分析實戰(zhàn)
- Practical Maya Programming with Python
- Applied Deep Learning with Python
- Offer來了:Java面試核心知識點精講(框架篇)
- Apache Solr for Indexing Data
- Instant Buildroot
- ReactJS Blueprints