Tuesday, September 27, 2011

How To Make a Simple Flash Shooting Game

Welcome to BudumGame


How To Make a Simple Flash Shooting Game


In making this game using Macromedia Flash 8.0 using action script 2.0, prior to making games that need to be note is what the game will be made, after that understand the algorithm of game that will be made. Simply enter the how to manufacture, first create a cursor object, then make the movie clip, movie clip and then edit the cursor and write action script stop(); on frame 1. then create a keyframe on frame 2, and change the cursor color to red, then insert a frame in frame five. Then return to the scene first, and make the target object, after the target object is made, make it a movie clip object, then edit the movie clip target, and on frame 1 input script stop();then insert a keyframe on frame 2 and create images as if targets shot, if it is, go back to scene 1. then create an object and convert the pistol into a movie clip, then edit the movie clip pistol and input scriptstop(); on frame 1, then insert a keyframe on frame 2 and make moves as if a gun had been fired, after it returned to the scene first. and name on of each object is, for the cursor object named"cursor" , object pistol"gun", and named the target object "target". then put the cursor on the object following action script:

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

and on frame 1 in scene one, enter the following action script:

stop();
onMouseDown=function(){
_root.gun.gotoAndPlay(2);
_root.cursor.gotoAndPlay(2);
}
onMouseUp=function(){
_root.gun.gotoAndStop(1);
}

later in the movie clip target, enter the following action script:

onClipEvent(enterFrame){
if(this.hitTest(_root.cursor.hit)){
this.gotoAndStop(2);
}
}

and the last reopen the cursor and do the movie clip to edit, then on frame 2 on create a movie clip movie clip hit the cursor, and drag the cursor into the object, and then give the value of color alpha "0".

Here's his video tutorial:

3 comments:

  1. nice :) :)
    mau game yg cari2 benda dong..
    makasiiii :D

    ReplyDelete
  2. ok..thank you very much for visit my blog..:D

    ReplyDelete
  3. tutorial cara membuat game android menggunakan adobe flash cs6

    https://www.youtube.com/watch?v=OPKdwlNb-mk

    ReplyDelete