Added: 1 year ago
From: Borris123PSN
Views: 20,760
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (85)

Sign In or Sign Up now to post a comment!
  • hey could you perhaps link us to a notepad document with all the code?

  • hey i was wondering when you were going to make the second part for this one

  • 1+0+1+0 = 10 actually...

  • Comment removed

  • For those of you wondering how he got his character to rotate, see 7:40 of the video. The piece of code that does this is Line 66 under the Right Key is down condition (player_mc.scaleX=1;) and Line 71 under the Left Key is down condition (player_mc.scaleX=-1;) in his coding. You may have to change the value of 1 to work with your character otherwise it will appear warped (I ended up using 2 and -2 accordingly). Hope this clears up the confusion for some people.

  • My If and function have purple instead of blue colour, and it seems that If doesnt work cuz I got an error

  • Did you made the character body in flash, or in another program?

  • @999tiaguinho In Flash

  • Borris i was wondering How to make a function that restarts the Character when he falls off the "floor" ive looked all over but i just cant seem to figure it out

    -thanks-

  • Hi. When my character Jumps. (I finished off the code you did in this video) It keeps replaying the jumping animation. Is there anyway to make it stop on the last frame after you press the up key?

  • @MrMinikk3 on the last frame in the animation, set an action to the frame "stop();"

  • how do you make it look in the direction it's moving, also some of the stuff in this you did not show yourself adding them.

  • sir, when will you upload the Standing, Running, and Jumping animation Tutorial?

  • @eeboovalle Joining your question

  • Hi Borris, love your videos!

    I was wondering if you could help me with my gotoAndPlay function? It only seems to play the first frame of the animation in the movieclip.

  • @Jawkneechew I mean "gotoAndStop"

  • Do you smoke?

  • Comment removed

  • @GoldenSilence333 dont be an ass if you watched his 1st vid you'd know hes got a rare sickness

  • um my player stays the same direction when i press left and right how can i fix this?

  • awesome! I'm waiting for the second part! 

  • 1+1 = 1+1

  • could u please get rid of the voice effects its kinda hard to understand u

  • Comment removed

  • @SMARTASScrew13

    he says it's his real voice.

  • @elemayostudios really. kinda stuffed up voice. no offence man

  • oh man, the next part is what I really need! any chance it'll ever be released?

  • Noooo the tutorial ends here whyyyyy please make more that goes deeper into this.

  • borris, how do you make the jump animation follow through even when you let go of the UpKey, or press the left, or right key? thanks

  • @Riushinn

    If I had to guess, I'd suggest it has something to do with the 6th frame on the layer "Layer 2" in the jumping animation: 5:07

    Let's just hope the making of the the animations will come out really, really, really, really soon. I can't wait. :)

  • how do you make it so that if you hold down the up key, it only lets you jump once?

  • @elemayostudios

    Try this:

    if(UpKeyIsDown && canJump)

    { yVelocity = -15; canJump = false; canDoubleJump = false; jumping = true;

    }

    if(jumping && !UpKeyIsDown)

    { canDoubleJump = true;

    }

    The reason it has the 'canDoubleJump = false' statement in the first jump 'if' is because, somehow, it would double jump the first time the key was kept pressed. -.-

    Anyway, that seemed to work. :)

  • @elemayostudios

    If u use the code I wrote it will double jump more than once in each jump, so instead of using the jumping var, I used two booleans ( firstJump and second Jump)

    I can't post the link with the txt in wich I put the code. However, try with the suggestion I gave. It might be enough

  • @3mp0ri0

    thanks for responding, but it didn't work for me. i'll try again though.

    i heard you need a variable(boolean) that is "onGround" but still... i cant use it. i dont know where else to put it. im a n00b. i dont want the character to keep bunny hopping. it wont be as good as agame as i want it to be D: . thanks for responding though... :)

  • why can't you put the codes in the description?

  • O_O 

  • Borris, do you know if actionscript 3.0 has a step through function?

  • @joshanator1 I'm not sure what you mean. Do you mean, a function to step through objects? if so, then you will have to make it

  • Any chance you could make the same tutorials with actionscript 3.0?

  • sounds like a devil O_O

    not to be mean, but really...

  • AIDS KID DIE

  • @TwinsKid001 you should look for tutorial how to read >.>

  • Comment removed

  • Where is the animating tutorial?

  • Cracktuh!

  • luke.. im your father..

  • Love the tutorials... So what is it that causes your voice to be altered that way? I'm just curious. Medical stuff intrigues me... also I feel like the intro to your videos is a bit heavy-handed.

  • *forgot to type the rest, but if making the floor instead of her move makes this problem?? :/

  • Oh and im not sure if making the floor move instead of the player makes her face in that same direction

  • Just one quick question... i'm using a yggdra sprite for this, but she doesnt flip when she is walking left, but she keeps facing right although she is walking left..

    any way to fix this?

  • @Sikeman214

    im neither and that my natural voice

  • @Borris123PSN Oh, you're carribean, so that's why u have a mexican accent. It's cool.

  • @Borris123PSN You really got AIDS go die please. or Change voice

  • @ZersiXs gtfo dude, his voice is awesome.

  • Thx a lot for the tutorials! But I got one problem, I can't make the align thing to work. The ball just "sink" through the floor and you can just the half of it (just as it was before you did the align thing) What is the problem?

  • @MyLolZor in your align panel click the align align to stage box if you haven't, if not try just moving your character yourself :)

  • Hm... I must ask you too.

    Why is your voice so strange? :O

  • @CrackStar96 PS: Your Tutorials are great :D

  • why your voice sounds like a frog?

  • 1+1=10

  • @ClTIZEN LOL!!!!! so true. and 1+1+1 = 11

  • What's with the cracked up voice?

  • that is easy 1+1 is 35435434384x6546

  • 5. a brain

    6. 2 hands

    7. knowing math! if u don't know what 1 +1 is, then don't look at this video

    Just Epic! XDDD

  • can u please just send out the code!!!

  • Uhm, how do i make my sprite change when he's jumping and keep it on the jumping sprite while he's in the air? [ Ex. Char is jumping - Left or Right is pressed, walk sprite is initiated. ] [ I need : Char is jumping - Left or right is pressed, Jump sprite stays but flips and moves. ]

  • @segavagrant well u can try something like this; (i'm writing in English, u will have write it in code )

    if the right key is down and canjump or left key is down and canjump, then

    go to running animation

    also u can have;

    if player is not touching the floor, then

    go to jumping animation.

  • @Borris123PSN so "1 if (EmiroKitzemaru.y>301+); { 2 EmiroKitzemaru.gotoAndStop('ju­mping') 3 if (Key.isDown(Key.RIGHT)) { 4 EmiroKitzemaru.scaleX = -1; 5 } 6 if (Key.isDown(Key.LEFT)) { 7 EmiroKitzemaru.scaleX = 1; 8 } 9 } 10 }"

    i labeled my frames so thats y it's jumping instead of a frame number.

    2 syntax errors

    Both on Line 1

    1084: Syntax error : expecting identifier before rightparen.

    1084: Syntax error : expecting rightparen before left brace.

  • @Borris123PSN Could you elaborate? I'm not very advanced in Actionscipt so I can't get it to work. I put this code:

    player_mc.gotoAndStop(3);

    in the brackets after this:

    if(!floor_mc.hitTestPoint(play­er_mc.x,player_mc.y,true))

    The issue is that when the character lands he is still in the jump frame and is stuck like that. Any help is very much appreciated

  • @Borris123PSN Is there anyway I can have the code for that. I want to get it so my character can't walk while in air, but I'm having a hard time figuring it out from your description. Thanks for these videos and the help!

  • I just wanted to say that these are good tutorials. I used to program in AS1, but after watching these tutorials I have a much better understanding of how syntax of AS3 works and will hopefully be able to fully switch over to the new Action Script fairly easily. Thanks!

  • Your tutorials are just the start I needed. Thank you for the great work.

  • Comment removed

  • or even better

    if(canJump && !leftKeyIsDown && !rightKeyIsDown) { hero_mc.gotoAndStop("stand"); }

  • @goraz666

    i have tears of joy right now. people like you are good ppl, u try to understand things instead of "copy and paste" like so many ppl like to do.

    PS. thats what i hav for my final code :). i was ganna make a next tut on how to make the animations better, but i never got around to it :(

  • hi there!

    first of all, thanks for your great tutorials!!!!

    i think i found a solution for the little animation problems:

    if( leftKeyIsDown && !upKeyIsDown && floor_mc.hitTestPoint(hero_mc.­x, hero_mc.y, true)) { hero_mc.gotoAndStop("walk"); }

    works fine for me.

  • @goraz666

    Thats actually really smart! i dont know y i didnt think of that! its nice to see that people i trying new things on there own with the new knowledge the got :)

  • Nice animations

  • Comment removed

  • Very useful thanks! :D

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