How to make a platform game in flash 8 part 7

Поделиться
HTML-код
  • Опубликовано: 27 авг 2024
  • This is the part 7 of the PLATFORM GAME DEVELOPMENT TUTORIAL which teaches you how to make a platform game ( side scrolling game ) in flash 8 , flash cs4, flash cs5 or flash cs6. All the codes in the game is written by using the programming language ActionScript 2 (AS2). In this part we'll make a Joy Stick which will control the working of a gate! This is used for making puzzle games!
    One of the most popular genres of video game is the platform game, which also poses some very interesting programming and design challenges.
    From a programming point of view, if you can program a platform game then you are a good programmer
    The code for the joystick is:
    onClipEvent (keyUp) {
    if (_root.char.hitTest(this)) {
    if (this._currentframe == 1) {
    if (Key.getCode() == Key.SPACE) {
    this.gotoAndStop(2);
    _root.ground.block.gotoAndPlay(2);
    }
    }
    }
    }
    Subscribe for more tutorials

Комментарии • 58

  • @FlashGamez007
    @FlashGamez007  11 лет назад

    In part 8 I showed how to make the motion of character realistic!

  • @eligoldstein4729
    @eligoldstein4729 9 лет назад +1

    I tried to copy the symbol..but when my character gets it i don't get more points

  • @christianbrosas2083
    @christianbrosas2083 8 лет назад

    why is that the code in the video on the joystick is not the same on the code that you posted

  • @christianbrosas2083
    @christianbrosas2083 8 лет назад

    why is that the code that you posted is different on the video the video shows this code on your joystick

  • @manggalakouriapkrishnan3831
    @manggalakouriapkrishnan3831 9 лет назад

    how u go inside the oval? did u convert the oval to button or symbol?

  • @nostalgia705
    @nostalgia705 10 лет назад

    Its not a joystick but it is a LEVER!!!!!!

  • @FlashGamez007
    @FlashGamez007  11 лет назад +1

    Done sending! let me know if it helped!

  • @Cartoonking3
    @Cartoonking3 11 лет назад

    okay so i duplicate the vcam symbol from the library from stage 1 then copied it and pasted it into stage 2 but when i added the instance name "vcam" it then blanks out again -_-

  • @raquelsilveira9542
    @raquelsilveira9542 11 лет назад

    Your videos are just awesome, I love working with flash, and I know I'm a little bit annoying
    but just tell me, how can I make thinks appen quickly, the character moves too slow and the other things too

  • @Agent0x0x0x0
    @Agent0x0x0x0 4 года назад

    It isn't working for me, do the line sizes count or something???

  • @arthelon89
    @arthelon89 11 лет назад

    the joystick is not work
    btw you make joystick layer but create the joystick in vcam layer?

  • @FlashGamez007
    @FlashGamez007  11 лет назад

    Vcam of stage 1 should not be copied directly into stage 2! You should first duplicate the vcam symbol first then copy it into stage 2! Let me know if it works!

  • @rquayyakhanum4166
    @rquayyakhanum4166 3 года назад

    Boy press space button when u reach the joystick then it will work

  • @Cartoonking3
    @Cartoonking3 11 лет назад

    okay i need some help so basically i already done everything you told me to do in the tutorial and iam using adobe flash cs5.5 and i tried to make the next stage and when i completely added in the same instance name for the vcam everything went blanked out as soon as i completed the first level in the game i created by following your tutorial so please help!! thank you!!

  • @orod42012
    @orod42012 11 лет назад

    Wait, so if u are shrinking the gate, it shouldn't be a TRANSFORMATION animation?

  • @user-se4ck7fd1y
    @user-se4ck7fd1y 8 лет назад

    why I can pass the door but l don't do nothing

  • @josearmando9933
    @josearmando9933 10 лет назад

    when i touch the joystick the door wont open, plz quick help! because if you dont help, i cant stop thinking about the gate problem!!

    • @FlashGamez007
      @FlashGamez007  10 лет назад

      make sure the instance name for the gate is correct and it is inside the symbol ground!

  • @eligoldstein4729
    @eligoldstein4729 9 лет назад

    how can i make that when my character gets ANOTHER coin it will add +1 more

  • @Cartoonking3
    @Cartoonking3 11 лет назад

    and also when i remove the vcam instance name everything works fine in stage2 except for the spike when i tried to make it hit my HP bar it wont work so please answer asap thanks again! D:

  • @HedgehogMonty
    @HedgehogMonty 10 лет назад

    Please help me! I don't know what is wrong.. I made a joystick and a gate. Put everything like in your video.. Put the code for joystick - when I test it - nothing works!!! The joystick not working... and the gate even.. But I made everything like you!

  • @AbhishekKumar-vv5jx
    @AbhishekKumar-vv5jx 7 лет назад

    How to increase the jump height of ball????

    • @FlashGamez007
      @FlashGamez007  7 лет назад

      +awsome world
      In the code try changing the value of the variables.

  • @DeepakBansal-xy5tk
    @DeepakBansal-xy5tk 10 лет назад

    plz tell me .......what is the scripting of "its locked"...........

  • @ramkutty5132
    @ramkutty5132 11 лет назад

    hello there patrick m n need of an help from you ,..hope u do it for me u got a video from flashgamer007 from youtube on how to make vcam for stage2 right??..can u gimme that video pls coz am really struggling to make the vcam for stage2 pls reply asap pls

  • @orod42012
    @orod42012 11 лет назад

    Forget that, dude, when I tasted it and reached the joystick, nothing happened

  • @markmacandile9541
    @markmacandile9541 8 лет назад

    How to.fix the bug that you can go through walls.... actually when the char goes to the wall and you can pass to it but when it reaches the half of the char... the char goes up help!!!!!
    the main thought...
    its better to use flat to have no bugs

  • @christianbrosas2083
    @christianbrosas2083 8 лет назад

    and why is that you have a layer named joystick but you chose to put the joystick on the vcam layer? Im confused please speak on your tutorials next time so that you can address all the procedures thanks in advance please reply

    • @FlashGamez007
      @FlashGamez007  8 лет назад

      Thanks for the feedback I'm sorry about the confusion I speak in all my new videos and don't worry much on the number of layers it just make the game more understandable. If you want you can do everything in one layer!

  • @inesyaya3646
    @inesyaya3646 10 лет назад

    i make all things like my joystick is work but when i pres space the gate dont work plss any help here thanks for reply soon o_o

    • @FlashGamez007
      @FlashGamez007  10 лет назад

      Ines Yaya
      Make sure instance names are correct!

  • @FlashGamez007
    @FlashGamez007  11 лет назад

    This is little tricky! If you can give me your email ID I'll send you a new video that will show you to make VCam for stage 2!

  • @FlashGamez007
    @FlashGamez007  11 лет назад

    Which version are you using?

  • @pivotmasterdx9403
    @pivotmasterdx9403 9 лет назад

    How do u make it stop at the last frame

    • @FlashGamez007
      @FlashGamez007  9 лет назад

      I didn't get you! can you explain?

    • @maxsucksatgaming477
      @maxsucksatgaming477 8 лет назад

      +Game Development Tutorials he meant how do you make the joystick stop at the last frame of the symbol

  • @pivotmasterdx9403
    @pivotmasterdx9403 9 лет назад

    wtf how the heck do u make arrows to frame 30

  • @Shadowinhibitor
    @Shadowinhibitor 8 лет назад

    not work for me

  • @christianbrosas2083
    @christianbrosas2083 8 лет назад

    the video shows if (this.currentframe == 1) {

  • @annisafitri6491
    @annisafitri6491 6 лет назад

    help me i've repeated it many times still not work ;((((

  • @MiiMaker
    @MiiMaker 10 лет назад

    how to make checkpoint?

    • @Cyellex1
      @Cyellex1 10 лет назад

      Make another restart box, and set the coordinates for where you want the checkpoint

    • @FlashGamez007
      @FlashGamez007  10 лет назад

      make an invisible bar and if the ball touches that bar then set some variable like checkpt as true! then in the code for the restart box if checkpt is true then set position of ball to the position of check point!

  • @lfonzarblogl4950
    @lfonzarblogl4950 11 лет назад

    DONT work :SSS

  • @genesissantosdomingo
    @genesissantosdomingo 11 лет назад

    Hey game programmer, do you have a yahoomail account or any e-mail account, i didnt get this part. I want to ask you regarding about this.

  • @HedgehogMonty
    @HedgehogMonty 10 лет назад

    Oh no, sorry. It's working. It is needed to press "spacebar" Sorry)

    • @FlashGamez007
      @FlashGamez007  10 лет назад

      LOL ;)

    • @HedgehogMonty
      @HedgehogMonty 10 лет назад

      Hehe ^^*
      But.. do you know how to make other moved for the character? Like " Flying / crouching / attacking " and something else? And how to animate the enemy? Could you make a tutorial for this also please? =)

    • @HedgehogMonty
      @HedgehogMonty 10 лет назад

      And also... if you could tell please... How to make the "medicine chest" for the character?..

    • @visionary509
      @visionary509 6 лет назад

      Omg XD i had same problem and space worked

  • @Cartoonking3
    @Cartoonking3 11 лет назад

    okay ill send my email through PM :)

  • @azzorzer
    @azzorzer 10 лет назад

    how the fuck did you go instide the symbol ground?

  • @caccyness8345
    @caccyness8345 7 лет назад

    i want make char moves not just stay and flying at the sky

  • @pivotmasterdx9403
    @pivotmasterdx9403 9 лет назад

    fontdae

  • @christianbrosas2083
    @christianbrosas2083 8 лет назад

    please reply

  • @markmacandile9541
    @markmacandile9541 8 лет назад

    How to.fix the bug that you can go through walls.... actually when the char goes to the wall and you can pass to it but when it reaches the half of the char... the char goes up help!!!!!
    the main thought...
    its better to use flat to have no bugs

  • @markmacandile9541
    @markmacandile9541 8 лет назад

    How to.fix the bug that you can go through walls.... actually when the char goes to the wall and you can pass to it but when it reaches the half of the char... the char goes up help!!!!!
    the main thought...
    its better to use flat to have no bugs