How to make a platform game in flash 8 part 7

Поділитися
Вставка
  • Опубліковано 7 лют 2025
  • 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

  • @christianbrosas2083
    @christianbrosas2083 9 років тому

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

  • @manggalakouriapkrishnan3831
    @manggalakouriapkrishnan3831 10 років тому

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

  • @raquelsilveira9542
    @raquelsilveira9542 12 років тому

    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

  • @christianbrosas2083
    @christianbrosas2083 9 років тому

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

  • @nostalgia705
    @nostalgia705 10 років тому

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

  • @eligoldstein4729
    @eligoldstein4729 10 років тому +1

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

  • @Cartoonking3
    @Cartoonking3 12 років тому

    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 -_-

  • @arthelon89
    @arthelon89 12 років тому

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

  • @Cartoonking3
    @Cartoonking3 12 років тому

    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:

  • @orod42012
    @orod42012 12 років тому

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

  • @Cartoonking3
    @Cartoonking3 12 років тому

    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!!

  • @Agent0x0x0x0
    @Agent0x0x0x0 4 роки тому

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

  • @FlashGamez007
    @FlashGamez007  12 років тому

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

  • @ramkutty5132
    @ramkutty5132 12 років тому

    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

  • @FlashGamez007
    @FlashGamez007  12 років тому

    Which version are you using?

  • @eligoldstein4729
    @eligoldstein4729 10 років тому

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

  • @DeepakBansal-xy5tk
    @DeepakBansal-xy5tk 10 років тому

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

  • @FlashGamez007
    @FlashGamez007  12 років тому +1

    Done sending! let me know if it helped!

  • @T.開爾文
    @T.開爾文 8 років тому

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

  • @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!

  • @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 9 років тому

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

  • @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!

  • @AbhishekKumar-vv5jx
    @AbhishekKumar-vv5jx 8 років тому

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

    • @FlashGamez007
      @FlashGamez007  8 років тому

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

  • @christianbrosas2083
    @christianbrosas2083 9 років тому

    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  9 років тому

      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!

  • @pivotmasterdx9403
    @pivotmasterdx9403 9 років тому

    wtf how the heck do u make arrows to frame 30

  • @FlashGamez007
    @FlashGamez007  12 років тому

    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!

  • @orod42012
    @orod42012 12 років тому

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

  • @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.

  • @annisafitri6491
    @annisafitri6491 7 років тому

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

  • @rquayyakhanum4166
    @rquayyakhanum4166 4 роки тому

    Boy press space button when u reach the joystick then it will 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!

  • @Shadowinhibitor
    @Shadowinhibitor 8 років тому

    not work for me

  • @FlashGamez007
    @FlashGamez007  12 років тому

    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!

  • @Cartoonking3
    @Cartoonking3 12 років тому

    okay ill send my email through PM :)

  • @christianbrosas2083
    @christianbrosas2083 9 років тому

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

  • @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

  • @lfonzarblogl4950
    @lfonzarblogl4950 12 років тому

    DONT work :SSS

  • @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

  • @caccyness8345
    @caccyness8345 8 років тому

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

  • @azzorzer
    @azzorzer 11 років тому

    how the fuck did you go instide the symbol ground?

  • @christianbrosas2083
    @christianbrosas2083 9 років тому

    please reply

  • @pivotmasterdx9403
    @pivotmasterdx9403 9 років тому

    fontdae

  • @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