- XNA 4.0 Game Development by Example Beginner's Guide(Visual Basic Edition)
- Kurt Jaegers
- 243字
- 2021-08-20 15:50:36
Designing a puzzle game
The Puzzler has always been a popular game genre. From old standbys such as Tetris, to modern crazes such as Bejeweled, puzzle games are attractive to players because they do not require a long-term time investment or a steep learning curve.
The game mechanic is the heart of any good puzzle game. This mechanic is usually very simple, with perhaps a few twists to keep the players on their toes.
In Flood Control, the player will be faced with a board containing 80 interactive pieces of pipe (the rows on the left and right are built into the background image, since they always stay the same). Some will be straight pipes and some will be curved. The objective of the game is to rotate the pipes to form a continuous line, to pump water from the left-side of the board to the right-side of the board.
Completing a section of pipe drains water out of the base and scores points for the player, but destroys the pipes used. New pipes will fall into place for the player to begin another row.
Flood Control focuses on the following concepts:
- Using the Content Pipeline to load textures from disk
- Creating classes to divide code into logical units
- Recursively evaluating the status of the game board to locate scoring chains
- Drawing textures using the
SpriteBatch.Draw()
method - Utilizing some of the various .NET Collection classes (
List
,Dictionary
, andQueue
) - Managing simple game states
- PyTorch深度學習實戰:從新手小白到數據科學家
- 從0到1:數據分析師養成寶典
- 使用GitOps實現Kubernetes的持續部署:模式、流程及工具
- iOS and OS X Network Programming Cookbook
- Python金融實戰
- 從0到1:JavaScript 快速上手
- ZeroMQ
- Python金融數據分析(原書第2版)
- AI時代的數據價值創造:從數據底座到大模型應用落地
- SQL應用及誤區分析
- 大數據技術原理與應用:概念、存儲、處理、分析與應用
- 企業大數據處理:Spark、Druid、Flume與Kafka應用實踐
- 從Lucene到Elasticsearch:全文檢索實戰
- 企業級大數據項目實戰:用戶搜索行為分析系統從0到1
- MySQL數據庫應用與管理