Added: 2 years ago
From: Flash8Games
Views: 53,575
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (192)

Sign In or Sign Up now to post a comment!
  • Hey man ya I know it's AS2 just wondering if you knew how to do a vcam in as3.....it would be great to get some side scrolling action in my as3 game it did frankenstien a as3 vcam but seems to be buggy, follows the player but is shaky and can't seem to get the right scale going?

  • can u do screen scrolling in this program your using?

  • All please rise for Youtube's national anthem

  • Hey man any way to do a tut with the AS3 vcam Can't seem to find the code....thanks a lot

  • @doctorspacebass This is AS2.

  • Best tutorials EVER! Thanks!

  • TACKTICLE MUTE INBOUND

  • @rcreveiwers *tactical

  • thumbs up if you DIN'T mute xD

  • @Megabasty6000 poor you

  • @iFareltehshit lolz

  • thank you

  • how you do that ???

  • HELP, when i added the reset thing... my character just frooze when i try to play it..

  • Just what i needed! Thanks! + Sub

    

  • why is everyone commenting about the music? :s it's really not the point of the video.

    Anyways. I moved my restart box very low down... and realized that eventually the character falls out of view. How can you stop this?

    also, how can I give the character momentum? so the character doesn't instantly start moving to full speed and instantly stops. If anyone could tell me, your help will be much appreciated.

  • @IINesasta mY CHARACTER JUST DOSEN'T RESTART. sorry caps. can U help me?...please?

  • I love this song ;3

  • He wrote 'ResartBox' LMFAO!

  • This song.. discusting

  • I like pie.

  • There is a better way to do this.

  • Youtube mute button

    We meet again

  • i get scared verytime i hear this shit

  • all rise for youtube national anthem

  • hey if anyone sees this comment, you can make anything reset your character! i made little balls shoot at mine!

  • i muted this shit and watched the tutorial to the sound of skrillex <3

  • @firefriends2011 hi this happened to me because my restart box was in the white square thing, take it into the gray bit and it will work, hope this works

  • Here Is The Source code:

    if ( youtube.sound.musicTitle == "009 Sound System")

    { youtube.sound.muet(); 

    }

  • could someone please tell me why my restart box does not work. my character just falls through, everything else works. but the restart box dont, i will be willing to make a video responce on my problem, i really want an answer... please please please reply asap

  • Cool tuts, hope one shows how to give the character a walking animation while moving.

  • is it possible to make a charakter like a cow for instence that moves it s feet when it walsk and not loos so stiff? and if you wanna have objekts in teh game? like coins on super mario that you pic up or a makig wepon giving you a power, and doors to get to next level? is that possible to make in flash 8? if so plz tell me :)! (and make a tutorial x3!)

  • @YatczLoveSinging i ment items not objekts

  • I want to have my character walk on the platforms but also have his legs move

  • awesome tutorial but does anyone not use this song

  • sarcasm = true{

    (OMFG I'VE NEVER HEARD THIS SONG BEFORE){  }

    }

  • The Script for everyone who wants a restart button:

    on(release) {

    _root.char._x = CharX

    _root.char._y = CharY

    }

    (Copy the character X and Y and replace with CharX and CharY)

  • Comment removed

  • how to make the respawn point to move ???

  • @MrBobgags1 hello

  • omg layer name : resartBox O.o

  • THNKS a LOT!!! I've made my first game because of you!!!

    Keep on this way - It's Cool!

  • I swear to god...if i hear this song again...im gonna kill myself by watching Justin Bieber

  • @ervinasroblox3 its actually a good song! just listen to it. it just starts gay. i dunno why it does that, but still, good song

  • do you feel like a nerd while coding?

  • @kaiy9 do you feel like an ass while writing rude comments?

  • @TehSilverSpriter do you feel like an idiot while thinking a simple question is rude... yet nerds are basically people who are too cool to be cool, and too smart to be as stupid as you are? THIS is rude :P

  • @kaiy9 some people take it as an insult when they are called 'nerd'

  • @TehSilverSpriter well, I guess those people don't understand how awesome nerds are!

  • @kaiy9 btw you said 'and too smart to be as stupid as you are' , if i were stupid i wouldn't know ruby and action scripting...

  • if i come to far away and my character fall down he will spawn again but he is jumoing so **** mutch then he disapers

  • Dude... You called it resart not restart :L

  • thumbs up if you muted the song

  • time to turn off the sounds not the video its very precious XD sorry for bad english

  • worlds hatest song

  • your work helped me alot, thank you XD

  • OH NO I NAME IT RETARD!! not restart

  • Why would you have a movieclip like that, you can just check if the y coordinate is greater than some amount. Also typing your code on movieclip is generally seen as a bad practice and will end up making you really confused on larger projects

  • onClipEvent (enterFrame) {

    I came up with a version of this script that can save time in the long run, you would only have to change the instance name of the restart box instead of putting the code on each one. This version of the script you put on the character.

    if (_root.INSTANCE NAME GOES HERE.hitTest(this)) {

    _root.char._x = charX

    _root.char._y = charY

    }

    }

  • the song is scary!!!!

  • @Michaeltheremin your afraid of the shittyist music called dreamsacape!and i thought im weird:3

  • Fucking youtube audioswaping!!!

    SCREW YOU!!

  • thank yoyu thankyou you are best bbbbbesssstss i like your vids you are very cool thnnnnnnnnnnnnx

  • I love the way you did this, but i have one question... i noticed it does it on yours too. every once in a while when you jump, the character will land back on the ground and start shaking very lightly. it's not a HUGE problem, but it is getting very annoying. thank you.

  • ähhm if I go straight to the left untilthe last square and I fall down it doesn't restart.

    BTW. is there an option that you can paste:

    if is pressing r then restart?

  • Lmao, you typed Resart Box xD

    Great walktrough!

  • Comment removed

  • Comment removed

  • i can't it says

    **Error** Scene=Scene 1, layer=Restart box, frame=1:Line 3: Operator '=' must be followed by an operand _root.char._x = * 15.3

    **Error** Scene=Scene 1, layer=Restart box, frame=1:Line 4: Operator '=' must be followed by an operand _root.char._y = * 133.5

    Total ActionScript Errors: 2 Reported Errors: 2

    please tell me what to do

  • Great Tutorial.

  • Comment removed

  • my restart thing doesnt restart my char

  • @mexicanindisguise If your character's instance name is different then in the script, you have to change the "char" into your instance name. Example: It's starts like this: onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.char._x = charX _root.char._y = charY } } Since my instance name is Player I change "char" to "player" like this: onClipEvent (enterFrame) { if (_root.player.hitTest(this)) { _root.player._x = charX _root.player._y = charY } } Hope that helped!
  • This song.... Hurrrr

  • Help the link to the c-cam doesnt work help pls!

  • May I know the edit program you use? Those text baloons are looking nice.

    Thanks

  • i made it pretty good but you forgot to show us how to make the charater die after the hp bar is empty ive looked everywhere to try and do this but no luck, whats the point of having infinant health, could you make a tutorial based off this 1 that explains how to do it, even if its just a thing thats like if blablabla gotoAndPlay (2) cause at least then we could just make a page saying "you died" please reply :( im begging u

  • @15mikuru

    Heres a code if you're character hits that restart box, it will goto a certain frame, which will say "You died", when you create it..

    onClipEvent (enterFrame) {

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

    gotoAndStop(REPLACEWITHFRAME);

    }

  • Please help? My character just keeps falling. She restarts but then she she just keeps falling through the ground. Then restarts. Then it repeats. SO ANNOYING.

  • @HMAngelC Same thing happened to me! HEEEEEEEEEEEEEEEEEEELPPPPPPPPP­PPPPPPPPPPPPPPPPP!!!

  • @HMAngelC

    Change the ground to a symbol, then make the instance name "ground"

    (no parenthisis

  • Using this script, but I have moving animations. When I jump, the character can jump infinitely.

    Any way to fix that?

  • @PurraPurra Nevermind, got it fixed!

  • @PurraPurra hahahahahaha lol

  • @PurraPurra hahahahahaha lol that would be awesome

  • Oh, the problem is cleared :) I set the X-position wrong

  • I did it like you but when the char fell down, he fell through the platform. Whats the problem?

  • wow music got replaced with the most overplayed song on YT. at least it's not linkin park jk

  • HAHAHAHAHA "On this tutorial, I will teach you more things... in this tutorial. "

    THAT'S FUCKING AWESOME

  • oh yeah! i just fixed it... thanx for this great tutorial 

  • im getting a small problem. when my "cool" character falls and restarts, he just keep on falling from the ground :( help please?

  • so yah every thing so far has worked but then on this restart box it just say this

    **Error** Scene=Scene 1, layer=RestartBox, frame=1:Line 1: Syntax error. ClipEvent (enterFrame) {

    Total ActionScript Errors: 1 Reported Errors: 1

  • @AMCBMXtreme its onClipEvent, you type ClipEvent.

  • what the f*ck?! everyone plays this song in their vids its sooo annoying!

  • How do you get the camera to focus and follow the "player" like that?

  • i made a game to this part tommorow i will do the other parts :D

  • thanks

    sooner or later i am gonna make a game :D

  • lol i thought u wrote FLA for dumbasses in the description......that would be funny

  • @unoriginality1 why would anyone watch these videos if they weren't fla beginners?

  • can this be done on macromedia flash mx 2004

  • you can also put the restart box in the viewfinder of the VCAM,

    because if you fall a while you go out of it =)

  • This video was great and helped me alot. do you think you could make another video on how to make enemies and stuff like that?

  • when the level restarts after falling, my character falls through the ground. help?

  • now i think the song is dreamscape but i dont like it a lot

  • @fuegosess YES! i hate this f***ing song too!

  • @rudeboymaik i know i used to hear it on scary stuff

    like i forgot what video but it scared

    .............. one day i was watching zatc bell and this song freakex me out

  • YOU ARE THE BEST but this music is... stupid.

  • @wPbartekLw no , he is not the best >_>

  • What does this mean?

    **Error** Scene=Scene 1, layer=restart box, frame=1:Line 4: Syntax error. _root.char._y = Type your y coordinate

    Total ActionScript Errors: 2 Reported Errors: 2

  • @FRIEHOEM

    replace "Type your y coordinate" with a NUMBER

  • when i entered the code and started the game my character just kept floating down for some reason instead of startiing in his normal position. then wen he hit the ground he restarted. I dont get it why is it doin this?

  • Comment removed

  • i was just wondering if its possible for the back ground to move as the character moves and if you can make obstacles or ground. besides the platforms. Also can the character have moving parts and controls rather than just jumping and walking. If you could let me know that would be great.

  • @Jdawggameslayer It entirely possible just you will need a lot more code, and the background that is in the VCam will have to be its own movieclip, and do different hittests and if statements to get the result you want. I know that probably didn't help at all, but i wanted to let you know it is possible.

  • help!!!

    i get this error

    Scene=Scene 1, layer=RestartBox, frame=1, Line 5Unexpected '}' encountered

    onClipEvent (enterFrame) { <problem with this? how i fix

  • thanks to you I have my game on a online game site !!!

    your tutorials are soo good (( please make more !!! ))

  • ur tuts suck SO MUCH and u have no life but to sit in your house all day eating dorritos NOM NOM NOM SO good and cheezy nom nom nom!?"1?hgfhlo,fvh

  • YES!!

  • can someone please tell me when i create the ground movieclip I accidnetly messed up and i need to go back and delete one platform i made but it wont let me because its converted to a movie clip and i want to erase some parts

    PLEASE Help i beg of you

  • @Coolboy500aa if you go into the movie clip (double click) you should be able to delete the platform

  • @Matzukim ur really not nice and i really really really really really think you need to suck a donkey ass and go away

  • The reset thing wont work

  • @egbob3 never mind, got it

  • nice, using vista...I'm using 7 right now =D

  • im making a sonic game and i need a code for the springs to work. do u have the code?

  • is there any way to make a different pose while there jumping and moving

  • @trienbolt You could always take a different script were that is possible- add it to this one and you could get it to have different movements :D

    p.s. only add the part where its says stuff about keys that go to different frames, like key 39 makes your person go right and things of that nature

  • you are a god !!!

  • THANKS BUD! It all worked, i'm so happy! (I even subbed!)

  • thanks man im gunna go make the best sk8boarding game ever =P

  • nice vid and TUT

    what song is that sounds realy great

  • dreamscape

  • some of you might also have the wrong number for one of your hitTests.... make sure your thrid one(if you didnt change from the code given at the beggining) has grav = 0....

    if (ground.hitTest(_x, _y-(height), true)) {

    grav = 0;

    hope this helps guys

  • hey everyone...i have been having the same problem with my ground and what i did to solve it was make the ground thicker like lightningpicturevids said but also goto your ground actions and put

    onClipEvent(load){ stop();

    }

    i have also found that making the regristration point at the top helps...

    hope this helps guys : ) it so far has worked for me

  • how to make npc's? so i can make enemies

    and like a talk to npc so it can tell u wat to do or sumthin

  • Can anyone help me with a problem I'm having?

    ...

    I've made this really simple flash game, I need help because whenever I start the game, My character falls through the platforms I have created for him to stand on... wtf?!?

    I don't get it...

    can anyone Help me???

  • @arachnidkid13 make sure the instance name for ground is "ground"

    not "Ground"

  • make it to flash 6

  • me and a friend of mine both had that same problem. wat i did was made the platform thicker (to do that without having to re-apply the ActionScript is simply right click>edit) and it works fine now. but im not comletely sure if that'll work, but it did for me. so try that.

  • @arachnidkid13

    lol. i had the same problem. make sure at the bottom in your properties right above those numbers you type "ground" If youve dont that then i dont know. thats just what my problem was ^^

  • Im making a game but without VCam and when u touch the restard box. i did my coordinates but you spawn at the top of screen. and i cant have that happen. Does anyone know how to fix it? Thanks :D

  • the retart code does work click 3:47 ad watch it afew times u will understand!

    Nice vid 5/5

  • would anyone like to create and donate the game for use on my website? the characters are to be modeled after my t-shirt brand characters from HugClub™ (a bunny and panda) message me if you would like to donate a well rounded platformer.

  • i might do that after my test-game. whats the web address?

  • Maker of that movie say...to use your "x" and "z" not his "x" and "z". For Example mine are "x=44.3" amd "z=135.3" for my character. SO read befor ask.

  • i had trouble with the code but then i downloaded the flash for dummies link and found the code

    here it is:

    onClipEvent (enterFrame) {

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

    _root.char._x = 62.5;

    _root.char._y = 190.4;

    }

    }

  • the code for the restart symbol not working. its weird because the code looks different on your screen

  • (again) AWESOME! but, theres always problems wen Im making gamez...

    this time, I cant use VCam. y?

    downloaded it but it says only error. :(

    PLZZ ANSWER!

    (the thing may b that I got a mac)

  • Mac >.> is the only reason xD

  • hey, CS4 is for mac, and u can make games there too, go to this guys other account, AdobeGames

  • nice vids

  • Cool... =( but I cant do it cuz Ive got flash 7! =(

    But it was awesome!

  • the "resart" box!

  • Comment removed

  • whats th name of this Song ?

  • linkin park - in the end

  • What operation system are you using?I'm using windows XP Professional.

  • @Flash8Games no its not this is a song by dreamscape

  • @Flash8Games Ummm... No it aint linkin park.

  • @FRIEHOEM music is

    009 sound system - dreamscape

  • @Flash8Games Dreamscape, not In The End

  • @Flash8Games linkin park used to be awesome but they sold out and they suck now

  • @Flash8Games lol thats not link park this is 009 Sound System - DreamScape

    lol

  • @NamenloserBurger dreamscape

  • You write Resart, not Restart

  • I love your video

    i love your music

    i love your channel

    i love it!!

  • i accidentally rated it 2 star when i clicked on play =( soz but i'd like to let u know i'd rate it 5 star

  • dude thank you so much