Pages

Sunday, 29 September 2013

Zombies & Monsters Shop. First scene from my Flash application (Avatar game) project.

Before to publish only one first scene I had to delete other ones from my flash application. In order to execute it I had to open the scenes panel (Shift + F2 ), select and delete all requested scenes (all scenes except first one).

This Flash application is a project for my education establishment. I finished it in August 2013 and handed in for estimating with a project report. This is a reason why I don't want to publish entire application at the moment. This is the next step in progress of a Avatar game project. The user can choose and apply different parts of dress to the game character. On the picture above you can see the possible outfit for zombies and monsters. But first scene is a welcome screen only. The shop entrance is disabled.

ActionScript in first scene involves only following code:

stop();
reloadBtn1.addEventListener(MouseEvent.CLICK, fl_reload);
function fl_reload(event:MouseEvent):void
{
    background1.play(); //to repeat the sunrise
}

goSceneTwoBtn.addEventListener(MouseEvent.CLICK, fl_goSceneTwo);
function fl_goSceneTwo(event:MouseEvent):void
{
    //MovieClip(this.root).gotoAndPlay(1, "Scene 2"); //disabled transition to the next scene
}


No comments:

Post a Comment