Added: 4 years ago
From: pbj746
Views: 17,084
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (94)

Sign In or Sign Up now to post a comment!
  • i did what you I did exactly what you did and typed what you did, and when i walked up to my guy and pressed space, he told me to Halt...I think i created a guard O.o

  • lol 1:03 HELLO LORD

  • the scroll bar doesn't work

  • thanks! great vid.

  • this is my code for the Blue Guy : onClipEvent (enterFrame) { distance = 55; ux = _root.char._x; uy = _root.char._y; hx = this._x; hy = this._y; if (Math.sqrt((ux-hx)*(ux-hx)+(uy -hy)*(uy-hy))<distance && Key.isDown(Key.SPACE)) { _root.helpText.text = "Hello i am going to show you how to fly around the world.If you want to stop this conversations press ALT button on ur Keyboard"; } if(Key.isDown(Key.ALT)){ _root.helpText.text = ""; } }
  • @arnold30303 AWESOME DUDE!!!!!!!!!!!!!!!!

  • i've realised something that this one you need flash cs3 because i used to have flash 8 and i tried it i didn't work. i got flash cs3 and it worked creepy eh? i think flash 8 doesn't have the multiplication sign * that mite be the problem pm me for scripts!i got it working like all the rpg tutorials this good guy has made!

  • onkeydown always better than if(Key.isDown())

  • Fix this dude. Waaaaay too many errors!

  • I got errors ')' expected" with bo symbol and "Statement must appear within on/onClipEvent handler" and "Unexpected '}' encountered" TIP s check styntax after one or two lines of script

  • the code on the beginning of your flash tutorials are always different from the ones you use. FIX THIS!!!

    everything else is perfect on all of your flash tutorials:)

  • Comment removed

  • thanks a lot !

  • is this for cs4? its not working

  • actionscript 2.0 not 3.0

  • lol you cut yourself off

  • is there a way to call an animation where your character is at. Like if i had an video clip of a man standing and then i push the right arrow key i would like to have the running animation (i already made the animation) take place of the man standing and whenever i release i want it to go back to man standing can you please help me.

  • Comment removed

  • what was the last line!!!?!???? :( you didnt move your mouse!!

  • Aaaaa,, i have the option workspace :D

    mm, well, thank for the tutorial.

  • hey! I do not have the option Workspace .. :S

    where is?

  • flash 8?

    flash mx?

    flash cs3?

    flash cs4?

    ...

  • any flash that has actionscript 2.0. he use flash cs3

  • CS3

  • aaggh! dude you screwd up the camera! we cant see the text!

  • What is the code to make the words appear, i couldnt see it....?

  • to make the words appear, you just type.

    _root.helpText.text = "hello";

  • is this AS2 or AS3?

  • can you plz send the coDE PLZ!!!!!!!!!

  • how many parts are there? only 5? some1 answer plz

  • there are 8

  • this is my code for the blue guy: onClipEvent (enterFrame) { distance = 55; ux = _root.char._x; uy = _root.char._y; hx = this._x; hy = this._y; if (Math.sqrt((ux-hx)*(ux-hx)+(uy­-hy)*(uy-hy))<distance && Key.isDown(Key.SPACE)) { _root.helpText.text = "Hello i am going to show you how to fly around the world."; } }
  • can you send me that please ?

  • dude Could you post the actionscript coz you didnt move the screen so i could see the as ;)

    thanks

  • **Error** Scene=Scene 1, layer=Layer 1, frame=2:Line 1: Statement block must be terminated by '}'  onClipEvent(enterFrame) {

    **Error** Scene=Scene 1, layer=Layer 1, frame=2:Line 9: Syntax error. }

    Total ActionScript Errors: 2 Reported Errors: 2

  • Can any1 send me the good code?

  • Hey PBJ i saw you had a health item wat would be the script for it cuz i tried:

    onClipEvent(enterFrame) {

    if(_root.hp.hitTest(this)) {

    if(_root.hp <50);

    _root.hp = +50;

    unloadMovie(this);

    }

    }

  • alig96, What you can do is going onto youir health bar actions. the complete action would be: onClipEvent(enterFrame){ this._xscale = _root.hp; if(_root.hp<0){ _root.hp=0; } if(_root.character.hitTest(_ro­ot.health)){ this._xscale = 100; } } BTW "health" is the instance name of my health pack item. If somebody know how to make disappear the health pack item after, tell me
  • ty and btw if you want it to disipear type:

    unloadMovie(this);

  • oops i put my comment as Spam =S

    i wanted to say that the

    "Do the guide" is actually create a man that will be a guid

  • for the text, you have to do like PBJ said

    so add a dinamic text(instance name"helpText")

    put it bottom of screen

    and that's it

  • Hi Guys! I find a code to make the helpText appear!Its a bit different than PBJ's one tough. 1-Do the guide(dont worry about instance name for these actions 2-add these actions to the guide: onClipEvent(enterFrame){ if(_root.character._x<160){ if(Key.isDown(Key.SPACE)){ _root.helpText.text = "HI, I will help You in your quest"; _root.character._x = 160; _root.character._y = 275; } } } //this will place your player x and y correctly and the text will appear
  • Do the guide is create a guide

  • Can Somebody Write Teh Complete Code Here PLZZ!!

    IM Trying To Get It But I Cant Understand!

    And BTW Congratulation PBJ746 Really Good Tutorials!!

  • i really need that code stat!

    plz reply!

  • wouldnt it be easier to just do a hitTest(_root.char) ?

  • send me the code.

  • i get this at 1.42 - 5.12

    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Clip events are permitted only for movie clip instances onClipEvent(enterFrame) {

    Total ActionScript Errors: 1 Reported Errors: 1

  • because your suposed to enter the frame #

  • thanks :)

  • man all of u ppl are lazy if u want to make a game u won't beable to put copy paste and that's it that is really easy so plz ppl don't be lazy

  • that made no sence at all

  • I already know that all but.. BO?! LOL

  • Guys i found a new way to do Character Interactions, Instead of making it so that you have to have like, the ux and stuff. Just make a box around the helper or interacter, and make that box have an alpha of 0, and then tell the game to make it so u have to be touching that box which is invisable around the interacter to interact. I'll make a vid of it.

  • Thanks!

  • ....you seriously expect me to write all that crap down? PUT IT IN THE DESCRIPTION!!!

  • @metamano You don't actually learn unless you copy it yourself...

  • Do you think you could post up the code for the text? (Or at least the last part?) ^_^ Pretty please? Or could someone please email me the code. I've spent over a half an hour trying to figure out the last part. x_x

  • what did you say when the cam was on the right when you were typing on the left?

  • SRSLY SOMEONE PM ME WITH THE CODE??

  • at 6:40 you can see the other half of the code. i just watched it yesterday

  • thx i was confused

  • your videos really are helping me! thx

  • wow first time I got flash I din't understand what u wehere saying(wiriting) but now that I'm not a nob anymore I can understand IS VERY HELPFULL MAN

  • u type fast

  • what script do i use if I want something to happen when a person uses the '1' key?

  • Scene=Scene 2, Layer=Layer 3, Frame=96: Line 7: '(' expected if Math.sqrt((ux-hx)*(ux-hx)+(uy-­hy)*(uy-uy))<distan ce && Key.isDown(Key.BACKSPACE) {

    is it becaouse im using flash 5?

  • Clipboard Actions: Line 2: Statement must appear within onClipEvent handler OnClipEvent (enterFrame) { ??

  • Wow, you should at least revise this and be better at this crap faggot.

  • why are you assigning the distance variable inside the enterFrame clipEvent? It should be in a onLoad clipEvent or else it will set distance to 55 each frame.

  • How can we see you typing while your recording the right side while your typing on the left side?

  • or give us some links to sites with codes

  • can u make a tut on how to make swords and the health thing

  • whe is when sorry

  • can anyone help me i made a game with hp and mp but when you cast a spell you can still cast a spell whe on 0mp then it goes into minus so can anyone help?

  • Did you set it to MP = 0 or MP <= 0? 'Cause if the less than symbol isn't there apparently it does that...

  • thankyou

  • wow

    can you help me with casting spells?

  • I COMMENTED IT ISIN'T SHOWING!!!!!!!!!

    i said "are you fixing tutorial 2?"

  • why should he?

    tutorial 2 is fine for me and many others ..

  • dude!!! thnx this help alot..xD!!!!!

  • mine ISENTworking 4 som reson i copyed the code ir100 commeted and still it aint working HELP ME PLZZZZZZZZZZZZZZZZZZZZZZZZZZZZ­ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ­ZZZZZZZZZzzzzzzzz

  • on the bottom line it should be Math.sqrt.helpText.txt

    then its:

    onClipEvent(enterFrame)( distance = 55;

    ux = _root.char.x;

    uy = _root.char.y;

    hx = this._x

    hy = this._y

    if(Math.sqrt((ux-hx)*(ux-hx)+(­uy-hy)*(uy-hy))<distance && Key.isDown (Key.SPACE)) (

    Math.sqrt.helptxt.txt=.text= "hello!"

  • dude you should do the spacing and the lines(Enter)

  • Sometimes when you write the code you don't move your cursor to that area so we don't see what you typed. I love your tutorials, but could you fix that pretty please. :)

  • Um... I made mine where you could jump from your tutorial, and when I go up to the man nothing happens.

  • what key did you use to make him jump

    if its the space bar your going to have to change what key is pressed to talk to the man

  • if u wanna know the code and some other...

    Bionicle_46@hotmail(dot)com and ill send u! ohyaeh here

    onClipEvent (enterFrame) { distance = 50; ux = _root.c._x; uy = _root.c._y; hx = this._x; hy = this._y; if (Math.sqrt((ux-hx)*(ux-hx)+(uy­-hy)*(uy-uy))<distance && Key.isDown(Key.SPACE)) { _root.helpText.text = "Hi I know The Secrets of Ultima Strength come with me to find out. To Exit=CTRL"; } if (Key.isDown(Key.CONTROL)) { _root.helpText.text = ""; }

    }

  • member to use auto format!!!

  • on find out it has to be a line up sry

  • dude you should do the lines correctly(Enter)

  • its becuase you did it wrong.

  • HI can u give me the who Action scrip plz Bionicle_46@hotmail?(dot)com

Loading...
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