skjdklsd

December 4, 2010

sjdlkdjskfjdlkfj

Read the rest of this entry »


My Flash Project Proposal…

April 1, 2010

I am going to be explaining about what I am planning to do for my Flash Project. The project will be based around the Olympics and after carefully researching on ideas on what I can do, I have decided to create a Flash game. The game will be coded in Action Script 3 along with the use of photoshop to create the asthetics such as character art, on screen visuals, backgrounds etc. The chosen game I am going to create flash will be based off an Olympic event, the 100 Meter Hurdles. It will be a 2d game and the players will control the olympic character running and jumping over hurdles. The game will have a timer running and recently in one of my workshop lessons at University, I was shown how to add  a timer.

This also gave me an idea of adding a score sheet or a High Score table at the end of each run the player does. This will keep the fastest time the player has managed to complete the 100m hurdles. The game will be controlled on the keyboard and be using three keys, left arrow, right arrow and the space bar. To make the olympic character run fast, the players must repeatedly tap the left and right arrows and tap the space bar to make the character jump over the hurdles. I am looking to make the game challenging, fun and addictive to play as most of the 2d flash games out there. I have recently been playing Canabalt a flash game available on the web and on the iphone and ipod touch. Some of my influences come from this game as it involves a character running and jumping over roof tops. I am looking to have the same style of animation of the character running and free jumping.


Preview of my idea…

March 21, 2010

I have made this mock up image of what my flash project will look like. As you can its a 2d view of the 100 meter hurdles. This is jus a rough idea of what I want to achieve in in Flash.



Dispboards

March 16, 2010

This week, I’ve been trying out the dispboards in Action Script that I have learnt from the workshop lessons. Basically the Dispboards imports multiple instances on to the stage.

import DispBoard;

var dBSideLength:Number=20;
var spacer:Number=.1;
var unitSize=dBSideLength+(spacer*dBSideLength);
var sW:Number=stage.stageWidth;
var sH:Number=stage.stageHeight;
var noCols:Number=Math.floor(sW/unitSize);
var noRows:Number=Math.floor(sH/unitSize);
var totDBs:Number=noCols*noRows;

This code basically shows small cubes imported onto the stage.


Character Animation

March 8, 2010

This week I’ve been researching on some 2d flash games that involve a character running. Recently I’ve been playing a popular flash game on the web and on my iPod Touch called Canabalt, the game is free and can be found on this website, http://adamatomic.com/canabalt/. What I like about this game is the way the character runs and jumps, it almost looks like free flowing. I want to do something similar in my flash project. So I have been working on a character design for my flash project. Here are some examples of my olympic character.  The idea is, I want make the character look like he is running and jumping over hurdles.


2D Code Action Script

March 2, 2010

This week I’ve been experimenting with some 2D code I have learnt from this tutorial on this website (http://www.newgrounds.com/portal/view/125248)

For my creative coding project, I want to achieve a 2D side scroller type game of based on the hurdles event at the olympics.


Object Orientated

February 28, 2010

This week, we just did some basic coding using ActionScript 3.0. What we basically did was create a shape and every time the mouse hovered over it, the shape will get bigger in size and a message from the code will tell us the function is working. Here is the code I used in Action Script.

shape.addEventListener(MouseEvent.MOUSE_OVER, onOver);

shape.addEventListener(MouseEvent.MOUSE_OUT, onOut);

function onOver(evt:MouseEvent):void {

shape.scaleX = shape.scaleY *= 1.5;

}

function onOut(evt:MouseEvent):void {

shape.scaleX = shape.scaleY = 1;

}