Making a simple Maze game in flash by veer757575

VIEWS: 96 PAGES: 16

									Making a simple Maze game in
            Flash




         http://free-flash-course.blogspot.in/
http://free-flash-course.blogspot.in/
              Create a new File
•   Width : 300 px
•   Height : 400 px
•   Frame rate : 24 fps
•   Action Script 2




                   http://free-flash-course.blogspot.in/
   Preview




http://free-flash-course.blogspot.in/
• Create a Two layer

• Rename First Layer To
  Action
• And Second Layer to
  content
• Third Layer to Asset


                 http://free-flash-course.blogspot.in/
• On action Layer click f8 to go to Action layer
  and add the following code

Stage.showMenu=false //
stop();




                  http://free-flash-course.blogspot.in/
On content layer make a button
                                    • With the help
                                      of 'Text' tool type
                                      text
                                      as 'Play' below the
                                      existing text
                                    • Select the text and
                                      choose Insert >
                                      Convert to
                                      Symbol. Convert
                                      it into
                                      a Button with
                                      the center
                                      Registration
          http://free-flash-course.blogspot.in/
                                      point selected and
                                   • Select the Play
                                     button and
                                     choose Window
                                     > Actions

                                   • In the Actions
                                     panel type the
                                     following action
                                   • on (release)
                                     {gotoAndStop(2)
                                     ;}
http://free-flash-course.blogspot.in/
• Now Go to Layer 2 make a key frame
• Create a black Rectangle
• With the help eraser make a path way




                http://free-flash-course.blogspot.in/
http://free-flash-course.blogspot.in/
• Convert it into Movie Clip
• Go its Action panel
• And type following code

on (rollOver) {
  gotoAndPlay(3);
}

                 http://free-flash-course.blogspot.in/
• Create two graphic one for home and other for
  character

• and convert it in to movie clip




                 http://free-flash-course.blogspot.in/
• On main character go to acton panel add the
  code

onClipEvent(load){startDrag("",
  true);Mouse.hide();
}



                 http://free-flash-course.blogspot.in/
• On home movie clips to go action panel add
  the code

on (rollOver) {
  gotoAndPlay(4);
}



                http://free-flash-course.blogspot.in/
   Preview




http://free-flash-course.blogspot.in/
•   On 3 layer and Lose page
•   On 4 layer add Win page
•   Play here
•   http://www.obsessiongames.co.in/FreeAdven
    tureGames/dingo-pingo/Dingo-Pingo.html




                 http://free-flash-course.blogspot.in/

								
To top