- 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
- Redis使用手冊(cè)
- 數(shù)據(jù)存儲(chǔ)架構(gòu)與技術(shù)
- MySQL從入門到精通(第3版)
- 深入淺出數(shù)字孿生
- 大話Oracle Grid:云時(shí)代的RAC
- 重復(fù)數(shù)據(jù)刪除技術(shù):面向大數(shù)據(jù)管理的縮減技術(shù)
- 云數(shù)據(jù)中心網(wǎng)絡(luò)與SDN:技術(shù)架構(gòu)與實(shí)現(xiàn)
- Hadoop大數(shù)據(jù)開發(fā)案例教程與項(xiàng)目實(shí)戰(zhàn)(在線實(shí)驗(yàn)+在線自測(cè))
- Splunk智能運(yùn)維實(shí)戰(zhàn)
- 智慧的云計(jì)算
- Filecoin原理與實(shí)現(xiàn)
- Node.js High Performance
- 數(shù)據(jù)分析思維:產(chǎn)品經(jīng)理的成長(zhǎng)筆記
- 深入理解Flink:實(shí)時(shí)大數(shù)據(jù)處理實(shí)踐
- 大數(shù)據(jù)用戶行為畫像分析實(shí)操指南