- XNA 4.0 Game Development by Example Beginner's Guide(Visual Basic Edition)
- Kurt Jaegers
- 187字
- 2021-08-20 15:50:42
Chapter 3. Flood Control – Smoothing Out the Rough Edges
While playable, Flood Control in its current form is rather rough. When the player clicks on game pieces, they simply flop to their new orientation. Completed rows vanish without a trace, being filled in so rapidly that it is hard to tell if they actually disappeared at all. The game never ends! Once you have started, you can play forever, not worrying about the underwater research lab actually filling up with water.
In this chapter, we will address these issues by:
- Animating the rotation of pieces when manipulated by the player
- Gradually fading out pieces of completed scoring chains
- Animating the falling of pieces into place on the board
- Implementing the flooding of the dome and adding increasing difficulty levels
- Adding a
SpriteFont
to the game and displaying the current level and score in their appropriate positions on the screen
All of these enhancements will give the player a better game experience, as well as give us the opportunity to learn more about how the SpriteBatch
class can be used for animation and text display.
推薦閱讀
- 數據要素安全流通
- Python絕技:運用Python成為頂級數據工程師
- Python數據挖掘:入門、進階與實用案例分析
- SQL Server 2012數據庫技術與應用(微課版)
- Python金融大數據分析(第2版)
- 云計算與大數據應用
- UDK iOS Game Development Beginner's Guide
- Oracle高性能自動化運維
- 數據革命:大數據價值實現方法、技術與案例
- 數據庫程序員面試筆試真題庫
- 數字媒體交互設計(初級):Web產品交互設計方法與案例
- Lego Mindstorms EV3 Essentials
- Apache Kylin權威指南
- Augmented Reality using Appcelerator Titanium Starter
- Oracle數據庫管理、開發與實踐