Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (34)

Sign In or Sign Up now to post a comment!
  • lots of error's with the lazershot.. :(

    Scène 1, Layer 'actionscript', Frame 1, Line 58 1046: Type was not found or was not a compile-time constant: laser.

    Scène 1, Layer 'actionscript', Frame 1, Line 58 1180: Call to a possibly undefined method Laser.

    Scène 1, Layer 'actionscript', Frame 1, Line 99 1120: Access of undefined property KeyCharCode.

    Scène 1, Layer 'actionscript', Frame 1, Line 101 1120: Access of undefined property laserShot.

    and much more.. :( please some body help me!

  • excellent tutorial, thank you

  • Interesting

  • if you set the "registration point" of theShip exactly on the nose (so the nose tip was on x:0 and y:0), you wouldnt have to guess the x and y value to use for the laserShot.

    Also, a tip for centering things --> laserShot.x = (theShip.width/2)-(laserShot.w­idth/2); Great intro to actionscript - nice and easy pace.

  • DUde awesome, now i understand how to move something left &right ^^ ty !

  • the listener code won't log most my keys. just the numbers, arrows and a few of the keys to the right of the keyboard. help anyone??

  • awesome 5 stars. Thank you so much for this tutorial, REALLY really helped me a LOT

  • how many things I learned from you!!!!! thanks so much!

  • It's maybe buggy, but this will definitely help me :) Thanks alot... the simplest tutorial is best to understand :)

  • Amazing tutorial!

    BTW: I removed the previous comment, because i found out other had the same problem:

    Here is it online: "/livedocs/flash/9.0/main/wwhe­lp/wwhimpl/common/html/wwhelp.­htm?context=LiveDocs_Parts&fil­e=00001136.html" Just put it after "adobe . com"

  • Comment removed

  • what s the problem with guy,, is he on crack or somethin

  • No.

  • "at the: var KeyCharCode:uint=event.charCod e;

    it says: Access of undefined property event" Looks like you have a space in the second charCode variable...just my guess

  • key bood...key bood "hehe" key BORD lol

  • I am 'key bored'!

  • @DARKlilution bah dum tshhhh rimshot

  • I am unable to get to the search box you used to access the code samples.

    Peace

    Joe

  • you have cs4 right

  • i have cs4 and when i click help it opens in a browser and there are no codes! what to do?

  • I got to say thank you for providing this video, well conducted, very easy to follow through, you explain the purposes of the code very well and it is going to help me greatly in class, thank you once again.

  • I'm nearly positive that "anything you want to access" on the Keyboard isn't true. The class built into flash only allows arrow keys, backspace, space and some other not useful keys. The rest like letters and numbers are only available for AIR runtime. Keyboard.A will return an error unless its an AIR application. AIR isn't very practical imo and games like your attempting are made for the web... you should fix that, because it was kinda a bitch for me until I realized it's not allowed

  • Not sure what you mean, I programmed it in using the A key... D key... Space key or any other key I want... what are you talking about?

    I proved it to you in the video, every bit of my programming is on screen for you to see... explain further please cuz that does not make sense to me.

  • haha what are you talking about?

  • @bcapecci probably because you have to use a key code, not the actual key letter.

  • I dont know if you can still do this but could you paste all the commands in either the video info or in a reply. I have CS4 and when you open the "Flash Help" it opens a IE8 window which brings you to adobe help page. The page doesnt have the codes on them as far as I could find, so I would be erally greatful if you could paste them somewhere.

  • in flash cs4 the web browser opens with the results i am searching for!!!!!!!!!!!!!!!!!

  • great tut, very helpful thanx :D

    as a side note, you can improve the code by combining the if conditionals with && and also just put -=, not -=+ (+= not +=+)

    if (keycharcode==97 && theShip.x>leftBounds) {theShip.x-=shipSpeed;}

  • Very true... good note man!

  • great tutorial, not finished it yet but it is great, at 20:28 atm but I have a problem :(.

    I checked for errors just like you said, but I have a syntax error at 'var laserBlaster.laser = new laser();

    Syntax Error: Expecting semicolon before dot

    what do i do?

    btw great tut!

  • As the error suggests, you should have a semicolon, not a dot. You're telling Flash what type of object laserBlaster is...

    var laserBlaster : laser = new laser();

    Translation: "my variable, laserBlaster, should be a 'laser' object. Set it to the ID of a new laser."

  • dude this is a great tutorial

    but...

    i want so make a game with a character

    such as sonic the hedgehog(a 2d game)

    good tutorial though

    very good tutorial

    5/5

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more