My Group Project is coming a long really well. This week i was assigned mainly coding tasks but also some artwork for one of the obstacles in the game. My tasks took a bit longer than originally estimated but that was due to some difficulties with some parts of the code i was having trouble with.

Create Digital Art For
The Traffic Lights
These were fairly simple to draw. I Originally designed them in Photoshop but decided to redo them in Flash because the image quality seemed better. I am using the pen tool more often which i believe am getting better at. The pole is just a box with two gradients on the bottom layer. I used the pen tool to make the shape of the light covers, and for the little men in the pedestrian lights I made some stick men and drew round them. I then created a glow effect which had to be different on four frames for the states of the traffic lights in the game (Red, Red + Orange, Green, Orange). The Pedestrian Light worked exactly the same way as the Traffic Lights, as it is extended from that class, meaning that it to had to have 4 frames, 2 of which would be useless but had to be there.
Code Timer According
To The Level Stage
To The Level Stage
This was tricky to begin with but after some unsuccessful attempts to get it to work I realised where I was going wrong. I had to create another variable inside the Timer class, this would be the level time which had to retrieve the correct value for the current level map.The current level map would be in the Game class under '_currentlevel'. This had to be displayed in a string to get the whole address of where to look for that level and then to find the values of the time. The problem I had was displaying it correctly which I now realise I need to use 'getDefinitioByName'.
Code the cars to
Stop/Go According
To The Traffic Lights
Firstly I had to get some sort of thing to move, I realised we'd already made some cars move in one of the scripting lessons so I based my code around that. The Traffic Lights then needed to have different values for each state the lights are in so that the cars can find that information and apply it to one of its functions. It seemed easy enough to begin with but I did get stuck, mainly on certain functions in the traffic light class, which I created a loop when I didn't need to as I could just use the game loop inside the Game Class. I also had a few other problems with adding event listeners and adding things to the stage but Gav was there to help me out.
Create Sound Effect For
Winning Screen
I created some sound for the game. I used a program called Reason which is a powerful Music production and recording program, which my friend helped me out with. I think it sounds good and I think I can use some elements of it to create other sounds aswell, one being the lose screen, or some other sound which indicates the player has done something wrong
The Game is already on the Waterfront Games website at http://www.waterfrontgames.com/game/index/48. There is still along way to go to make it fun but I think there is a lot of potential. I think when we add more obstacles and choices and as the maps get more exciting it will improve it vastly. There is hardly any aesthetics at the moment which is understandable while we are trying to get everything to work. I'm also really happy with how things have gone so far within the group.


No comments:
Post a Comment