官术网_书友最值得收藏!

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, and Queue)
  • Managing simple game states
主站蜘蛛池模板: 合江县| 湖口县| 扎兰屯市| 桐梓县| 岱山县| 类乌齐县| 黄山市| 岚皋县| 曲沃县| 西林县| 芒康县| 东丰县| 神农架林区| 咸丰县| 达日县| 盘山县| 新化县| 治多县| 北京市| 波密县| 高要市| 南康市| 穆棱市| 秦皇岛市| 芒康县| 绥化市| 怀安县| 布拖县| 满洲里市| 清水河县| 南京市| 安陆市| 景泰县| 外汇| 阜阳市| 达州市| 永城市| 阜新| 开鲁县| 沈阳市| 灵璧县|