Tuesday, February 21, 2012

Progress week 1

This week our group start dividing up roles and ideas to research.

I focussed on:
1) a scrolling full screen background.
So far I have been able to get 2 or more images to loop in continuous motion , scrolling from right to left.
the image below is an example of what I have which loops. I have not concerned myself with the quality of the graphics yet , more so on the code concerning them.

2)a randomly generated foreground.
from the image above , we can see at the bottom there is a darker foreground terrain , this has been randomly generated. When the helicopter passes the right x barrier , he will emerge at the same height but back on the left side , and a new foreground terrain will have been generated.

3) scrolling/regenerating foreground for different/progressive stages of the game
4) a drawtext() function for displaying the text
I have so far included text (spriteFont files) to my project to show a dashboard including player lives remaining , the helicopters altitude and distance. As well as text that will only appear once the helicopter has lost all it's lives.

5) controlling movement of playable sprite
I have the helicopter moving with direction , speed using gameTime.ElapsedGameTime.TotalSeconds.
I have not yet introduced rotation .

6) restraints for helicopter sprite on screen
restraints have been put into action keeping the helicopter on screen, or allow the helicopter progression on to new terrains generated by passes through the x>screenwidth barrier.

7) collision detection of sprite on foreground

I have been able to get a rough detection for when the sprite(helicopter) collides with the foreground... but its is still not 100% accurate.
8) displaying text and alternative sprite when helicopter crashes.

Monday, February 13, 2012

Ideas and c# concepts to look at




Adding fullscreen images to our game as a background.

Positioning the sprites and other images in certain places

Draw() function for images and sprites

movement and rotation of sprites. Look and aim (angles) for movement and target systems for firing.
Movement of main character(helicopter) controlled by keyboard and/or xbox controller.

displaying score , health , lives , fuel to game screen(dashboard).

generating a random terrain for the maps which repeated generates and recurs
 throughout playable level , as well as having a rolling or repeating background
 that moves with the game.
Apply a texture or colour to the generated terrain.

Collision detection and consequences , loss of health/lives , increase in score.
methods of detection = matrices / grids / change in colour , colliding sprite rectangles

Adding sound effects at appropriate time.
background music.

animation to movement of sprites.



















The Assignment Proposal


SEMESTER 2 ASSIGNMENT
February 13, 2012
Prepared for: Bryan Duggan

Prepared by:   Patrick Cummins (C10707541)
                 Matthew Allan (C10367153)
            Leslie Ducray (C10327999)
               Craig Hanan(C10318373)
                   Niall Gaffney(C10300999)

The Objective...
For this assignment we can do anything we like, provided that the assignment contains the following:

  • Developed in an OO language such as C++, C#, Java, Objective C, Python
  • Classes
  • Accessors
  • Inheritance
  • Polymorphism
  • Files and strings
  • Collections/generics
  • Encapsulation


The Goals...
Our goal for this assignment is to enter the Games Fleadh XNA competition. The competition consists of making an XNA game of the classic game Chopper Command. We will be writing the code for the game in C#. To enter this competition we have to take the Chopper Command game and put our own twist on the game. We start off with the starter kit that Games Fleadh give you and then we need to add our code to it to make our game. Several regulations need to be followed, are that the game needs three playable levels, each one of increasing difficulty. The game entry can be submitted as 2D or 3D. If we don’t meet the deadline or don’t qualify for the competition because of the vast amount of entries from DIT, we will still be going ahead with the game for the assignment.     





The Solution...
The game concept that we came up with is a game similar to Chopper Command. Our main character is still a helicopter, but we will be putting our own twists onto it, like funky colours, the helicopter being able to drop bombs as well as shoot straight ahead. For the enemies, there will be tanks patrolling the ground that are trying to take down the Chopper at all costs and stop him reaching the next level. Along with the tanks there will be gun turrets on the ground throughout the game, which will also try to stop the Chopper from reaching the next level. The Chopper will obtain a score along the way from shooting enemies, picking up tokens and from completing the levels. He will also have energy and fuel, if either of them run out the Chopper will fall to the ground and he will lose a life. If all lives are lost the game is over and must be restarted. To keep his energy and fuel going, he will have to collect tokens along the way that will top up his reserves. The software that we are going to be using for this assignment is C# for the coding, paintshop pro for all the graphics, with Wav files for the music and editing them with Audacity and FLstudio.   



Contact Details...
Our blogs:
Patrick's Blog
Craig’s Blog
Niall’s Blog
Les's Blog
Matthew's Blog