Giter Club home page Giter Club logo

floodcontrol's Introduction

FloodControl

Chapers 2 and 3 from "XNA 4.0 Game Development by Example" by Kurt Jaegers

This is a chapter introducing some basics about using sprites and images and creating a basic game.

Extra Objectives

-Add a "paused" game state that displays an indication that the game is paused and how to resume play. to prevent cheating, the game board should either not be visible or be obscured in some way while the game is paused.

-the Game Over screen is not very exciting. Createa new bitmap image indicating the aftermath of the flooded facility and display that image instead of the simple game over text. You will need to load the image via the LoadContent() method and isplay it when appropriate.

-Create an additional "suffix" for pieces that are locked down and cannot be turned. You'll need to expand the Tile_sheet.png file by adding an additional fourth column and then copying the first two columsn to columns three and four. Draw bolts in the four corners of each of the twelve new piece images and modify the draw code to add an additional 40 pixels to the x value of the source Rectangle if the piece contains the locked suffix. Grant extra points for using locked pieces in a scoring chain.

IMPORTANT:

Requirements: -Visual Studio Express 2012 for Windows Desktop -This file (https://www.microsoft.com/en-us/download/details.aspx?id=20914) (Microsoft XNA framework [Used with VS2010]_ -This file https://mxa.codeplex.com/releases (Microsoft XNA Framework Rerfresh [Extension to use with VS2012])

Steps: -Make sure Visual Studio is installed (Express 2012) -Install Microsoft XNA Framework (first link) -Download and extract XNA Game Studio 4.0.4 (201X) -View the README and follow the instructions (there are 4 or 5 things to install) -Open the solution and make "Flood Control" the main project. -Press F5 and play

floodcontrol's People

Contributors

lozand avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.