Thursday, 26 May 2011

Project 3: the Maze, explanation

DSDN 142: Project 3

I chose to show the idea of the if/else statement with the use of a simple game called “the Maze”. The objective of the game is to reach the end of each maze. In the game there are three mazes and the only way to exit each maze is to turn on the switches in that level. This is where I try to show the idea of the if/else statement.  Also you cannot touch the wall or enemies, something that does not show the if/else statement as obviously, but makes the game more interesting and keep people more interested. Although it still does show the use of the if/else statement: if player touches wall or enemy, game over equals true, else they can keep playing.

The use of switches:   

if(switch is on){
exit turns green
You can exit
}
else{
exit is red
you cant exit
}

In the first two levels this is the basic use of if/else. But in the last level there are three switches which show a more complex use of this statement.  There are three moving blocks that block the exit that move too fast for the player to get through. But if the player turns on all the switches, the enemies slow down and the player can exit the level.

If(switch 1 is on){
Enemy1 speed equals 3 and player can pass
Switch 1 turns green
}
Else{
Enemy1 speed equals 10 and player cant pass
Switch 1 is red
}



When all three switches have been activated, the player can exit.

If(all switches are on){
Player can pass enemies and exit
}

Else{
Player cant exit
}

This is how I tried to show how an if/else statement works. If a switch is on you can go, if not, you can’t. This is similar to traffic lights, something that everyone is familiar with and hopefully everyone one will be able to understand the if/else statement with the use of my game.

Level 2 and three

Levels 2 and 3 will include more switches showing how if/else works and also enemys.



Maze ideas

First level -

Player will start at the top left and the exit is on the opposite side of the level. The switch will be at the center- top. When it is off , it will be red and the player cannot exit. When it is on it will be green and the player can go on to the next level.






Other variations of style and colour;

I tried using colours that compliment eachother, but it looked too bright and I wanted to go with something more simplistic.






I tried this simpler style again and added texture and introduced more realistic lighting 














In the end I decided on the simple contrast of black and white. This will also make it easier for the player to differentiate between the backfround and the walls. I also added better shading and lighting.

Monday, 16 May 2011

Game concept

If/else idea
Game idea - A game where you must guide the mouse through a maze. When the player touches a wall the game resets. If a switch is on, the player cannot get put of the maze, if it is on, they can.

if(switch is on){
player can get to next level
}

else{
player cannot
}

Time - may take long because I havent made a game before
Recourses - just need computer

Project 3 ideas

Loop definition - In a loop structure, the program asks a question, and if the answer requires an action, it is performed and the original question is asked again until the answer is such that the action is no longer required.

Idea 1

A game that has a man on screen, when he reaches the end of the screen he goes back to the start. If you choose the right path you go to a different screen. Or until the player does the right action, ie a switch.
Resources – only need computer
Time – May take long because I have never made a game
Idea 2
Video of a series of short clips showing what a person does in a day. What he does each day is exactly the same until something changes, then the days are no longer exactly the same.
Resources – camera, tripod, computer
Time – one day shooting, a longer time editing
Idea 3
Infinite staircase or other optical illusion. Use materials to make an illusion of an infinite and impossible shape
Resources – Cardboard or other material,glue
Time – not too long

Sunday, 17 April 2011

After presentation

After hearing feedback from my presentation I decided to stick with one of my original designs that had a simple black background, this making the effect of the balls light stand out more. Also, I think my previous design had a lot going on that was not necessary.

http://openprocessing.org/visuals/?visualID=27137

Thursday, 14 April 2011

Final

To make my program suit the theme of transformation more I decided to change the background depending on the amount of times the ball had made a noise. Then have it so that the colours stay there momentarily, this allowing the colours to blend together. The feature of this program that I wanted to highlight is the transformation that occurs between the colours represented by the different notes.

http://openprocessing.org/visuals/?visualID=27137