2011

Archives:

 

Assignments

Assignment #9 Due 10/20/11 at 7pm (100 points, 0 after that)

Team work #2

We had a discussion in class about what you would each deliver next week. Let me know if you need to change it or need help if you get stuck. Do the work and next week you show me your progress and I give you 100 points for completing what you said you would complete.

Assignment #8 Due 10/13/11 at 7pm (100 points, 0 after that)

Team work #1

Each member of your team says what they are going to complete in the coming week and gets me to approve their work list. Do the work and next week you show me your progress and I give you 100 points for completing what you said you would complete.

Assignment #7 Due 10/6/11 at 7pm (50 points, 50% until 10/13/2011 at 7pm, 0 after that)

Pick your team members for the final project. No approval needed for individuals. Let me know who is on your team (give it a name) or if you are going solo.

Write a less than one page game design and get it approved by me before next week's class. I highly suggest you send it to me before Tuesday as I may not approve it if it is too big and I don't think you can make a clean polished game by the end of the semester.

If you want to use a different platform than C#/XNA you have to sell me on the idea.

You will design each week, so a good overview of the game would be highly recommended. No need for a giant design at the beginning.

Assignment #6 Due 9/29/11 at 7pm (100 points, 50% until 10/6/2011 at 7pm, 0 after that)

Submarine Hunt Game

Create an image that moves left and right using the A and D keys. Place the image at the bottom of the screen. When the space bar is pressed, create a bullet that travels up towards the top of the screen at a specific interval. Create a target that moves from left to right at a regular speed at the top of the screen. If the bullet hits the target, give the player a point. When the target moves off the screen allow the user to shoot again (you might have a bullet active flag in your program). Change the count up timer to be a count down timer. Give the player 30 seconds to shoot the target as may times as he can. Display the time and score somewhere on the screen.

Zip up the entire project directory(exclude the obj and bin directory and cache files to save me space please) and upload it to the Blackboard Digital Drop Box. Help me stay organized by naming your file like this. Assign6JohnDoe.zip, but please substitutue your name for JohnDoe. 5 points for getting the file name correct. The time of delivery to the digital drop box will be used to verify if the file is on time or not.

Assignment #5 Due 9/22/2011 at 7pm (100 points, 50% until 9/29/2011 at 7pm, 0 after that)

As we finished up the lecture we talked level loading, game state and drawing the enemy ships. Finish the code to populate the array of ships from the level loading code. There is a code sample from the lecture that does most of this. You will have to add your own ship images. They can be blobs for all I care. 64x64 or 32x32 pixels might be good sizes for the ships. There should be a start and exit button which you already have from the previous homework. When you click on the start button the game goes into play mode. Simply draw the array of ships in the formation specified in the level file. The ships do not have to move. Press the X key to return to the menu.

The easiest way to start is probably to use the GameState sample code fromthe lecture and copy the EnemyShip.cs file from the other lecture sample. Create the ship images and go from there.

Zip up the entire project directory(exclude the obj and bin directory and cache files to save me space please) and upload it to the Blackboard Digital Drop Box. Help me stay organized by naming your file like this. Assign5JohnDoe.zip, but please substitutue your name for JohnDoe. 5 points for getting the file name correct. The time of delivery to the digital drop box will be used to verify if the file is on time or not.

Assignment 5 Solution

Assignment #4 Due 9/15/2011 at 7pm (100 points, 50% until 9/22/2011 at 7pm, 0 after that)

As we finished up the lecture we talked about drawing text on the display. Use the code from the lection/book section 3-5 to show the number of seconds that have elapsed since the game started. You need to programatically calculate the space the text will take up and right justify it to the upper right hand corner of the display. The text should allow for numbers as large as 9999 and not change position when the number goes from 9-10 or 99-100 or 999-1000. This will require the use of Font.MeasureString. You should only need to do this calculation once and should also be be based on the size of the screen.

Zip up the entire project directory(exclude the obj and bin directory to save me space please) and upload it to the Blackboard Digital Drop Box. Please help me stay organized by naming your file like this. Assign3and4JohnDoe.zip, but please substitutue your name for JohnDoe. 5 points for getting the file name correct. The time of delivery to the digital drop box will be used to verify if the file is on time or not.

Assignment 3 and 4 Solution

Assignment #3 Due 9/15/2011 at 7pm (100 points, 50% until 9/22/2011 at 7pm, 0 after that)

Finish the two button game to have a Start and an Exit button. The buttons should print a message to the console when after the user presses the button down and releases the button while the mouse is still over the button. 25 points off if it doesn't work correctly. Make sure that when you press down on one button and move the mouse over to the other button that one doesn't show the "over" state.

If you only want to turn in Assignment#3 do this. Otherwise, turn it in with assighment #4 above. Zip up the entire project directory(exclude the obj and bin directory to save me space please) and upload it to the Blackboard Digital Drop Box. Please help me stay organized by naming your file like this. Assign3JohnDoe.zip, but please substitutue your name for JohnDoe. 5 points for getting the file name correct. The time of delivery to the digital drop box will be used to verify if the file is on time or not.


Assignment #2 Due 9/8/2011 at 7pm (100 points, 50% until 9/15/2011 at 7pm, 0 after that)

Continue with the book example 3-1 to create the button we were developing in class. There should be two separate images (New Game and Quit or Exit are good choices) Add mouse capability to change the image that is being displayed when the mouse is over the button or not over the button.

Zip up the entire project directory(exclude the obj and bin directory to save me space please) and upload it to the Blackboard Digital Drop Box. Please help me stay organized by naming your file like this. Assign2JohnDoe.zip, but please substitutue your name for JohnDoe. 5 points for getting the file name correct. The time of delivery to the digital drop box will be used to verify if the file is on time or not.

Assignment 2 Solution

Assignment #1 Due 9/8/2011 at 7pm (100 points, 50% until 9/15/2011 at 7pm, 0 after that)

Modify Game1.cs to have a method (your own method, not a library call) that reverses the order of an integer array. I will call it like this.

int[] a = {1, 2, 3}

reverseArray(ref a)

Upload the Game1.cs file to the Blackboard Digital DropBox. The time of delivery to DigitalDrop box will be used to verify if the file is on time or not.

Assignment 1 Soluton

CPSC340 - Games Development
Chapman University
Instructor: W. Wood Harter
(c) copyright 2006-2011 - W. Wood Harter - All Rights Reserved
Screen shots on banner (c) copyright their resprective owners