- XNA 4 3D Game Development by Example:Beginner's Guide
- Kurt Jaegers
- 149字
- 2021-08-05 18:55:26
Updating
Our game will now enter an endless loop in which the Update()
and Draw()
methods are called repeatedly until we exit the application. By default, this loop attempts to run 60 times per second on the Windows and Xbox platforms, and 30 times per second on the Windows Phone platform.
The Update()
method is used to process all of our game logic, such as checking for and reacting to player input, updating the positions of objects in the game world, and detecting collisions. The Update()
method has a single parameter, gameTime
, which identifies how much real time has passed since the last call to Update()
. We can use this to scale movements smoothly over time to reduce stuttering that would occur if we make the assumption that our update will always run at a consistent frame rate, and code on other system events impacted by the update cycle.
- 企業數字化創新引擎:企業級PaaS平臺HZERO
- Google Visualization API Essentials
- 正則表達式必知必會
- Mastering Machine Learning with R(Second Edition)
- SQL優化最佳實踐:構建高效率Oracle數據庫的方法與技巧
- 數據庫原理與設計(第2版)
- 貫通SQL Server 2008數據庫系統開發
- SQL Server 2012實施與管理實戰指南
- Mastering ROS for Robotics Programming(Second Edition)
- 數據分析思維:產品經理的成長筆記
- 從Lucene到Elasticsearch:全文檢索實戰
- 企業級大數據項目實戰:用戶搜索行為分析系統從0到1
- Microsoft Dynamics NAV 2015 Professional Reporting
- 大數據用戶行為畫像分析實操指南
- 商業銀行數據庫管理實踐