Added: 3 years ago
From: VampieGames
Views: 13,235
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (164)

Sign In or Sign Up now to post a comment!
  • britsh?

  • can we make codes ourselves?

  • @TheSvartdemon yes, just learn as2, or as3 (:

  • @VampieGames what?

    

  • the code is wrong!!

  • how do i make destroyable enemies

  • In what format i have to save game?

    

  • The error means that frame 2 is missing

    add a blank keyframe and it should work!

  • It shows me that there is a mistake in the code !

    can you send it to me in PM ?

  • MAKE MOAR!

  • I want to make a RTS can you help?

  • When i'm starting to play there is a error

    **Error** Symbol=Symbol 12, layer=Layer 1, frame=1:Line 3: Operator '=' must be followed by an operand

  • din't work

  • How can i make the enemy move??

  • how do I put that purple cube?

  • 1. Next level

    2. Destroyable enemies

    3. Moving enemies

    4. Walls

    5. powerups

    I NEED THEM !!!

    Anyone make tutorial or give link for it please!

    (yes I copied the comment from moneymusic22)

  • straight copy off of pbj...

  • hp bar code plzz?

  • what do we type when we are doing the button code i can't hear it or see it or even find it

  • nevermind

  • ty so much :D been alot of help

  • nice tut bro but i still have a problem with the items not going in the inventory :S the coins work but the items dont

  • what is the second frame code?

  • enemy wont do anything

  • This Is The HP Bar Code:

    onClipEvent(enterFrame){

    this._xscale = _root.hp;

    if(_root.hp<=0){

    _root.gotoAndStop(2)

    }

    }

  • what are the you died button code??

  • on(release){

    gotoAndPlay("number of the frame you want it to go to")

    }

  • when i die and press the retry button nothing happens please help!

  • are u sure its a buton?? because if its a movie clip it wont work also make sure you have added actions

  • put this code on the button:

    on(release){

    _root.gotoAndStop(1);

    }

  • i want this program sooo bad

  • then buy it or pirate it....

  • Why is there so long code on your frame actions, when i look at mine they are empty, could someone please give me the code's? Thank you,

  • lol have you checked out my other 3 tuts, 1, 2 and 3, i also have a fifth but you have to watch them in order, if this doesn't help, pm me

  • hey... uhhhh i really dont get it?? i did everything correct but it just doesnt work?????

  • Thank you so much!

  • i wanna give you a hug!

    thanks so much for these tutorials!

  • onClipEvent(enterFrame){

    this._xscale = _root.hp;

    if(_root.hp<=0){

    _root.gotoAndStop()

    }

    }

    where it says gotoAndStop() put the number 2 in between the brackets

  • i got it doesnt matter thanks so much best tut ever

  • my health goes down but you cant see it going down i know it goes down becasue eventually it goes onto the you died frame if you stay close to the enemy for long enough any help?

  • Cant find hp bar code help

  • i need to know how to make levels and walls. help please?

  • it says thiers an error on my 6th line on my action script for frame 1 heres my action script for it

    money = 0;

    currentslotnum = 1;

    stop();

    function addToSlot(item){

    if(!item.found){ item._x = eval ("itemslot" + currentslotnum)._x; item._y = eval ("itemslot" + currentslotnum)._y; item.found = true; currentslotnum++;

    }

    }

    hp = 100;

  • whats the code for making a health pack?

  • When i find scripts?

    I can't see the scripts on video.

  • how do you actuay make them die im making a game

  • i write them, it takes a long time to learn, i guess i could teach u tho ill send u a message with my msn on

  • Hey, Could you send me your msn please, id like to learn how to do codes and you could help me make a flash game :) thnx

  • Hey man think you could help me make some action scripts

  • i wanna learn the actionscript too plz

  • @VampieGames can you teach me PLZZZZZZ :') I really really REALLy wanna learn PLZ

  • simply put this code in each frame:

    stop();

    :P

  • i wont work for me..

    theres a error when you play it.

    what will you put in the codes w/

    (eneterFrame)?

  • your missing some important things and of course they are the things i need...

    1. Next level

    2. Destroyable enemies

    3. Moving enemies

    4. Walls

    5. powerups

    Thats all i can think of for now...

  • Yeah, those would be cool and I thought of those,

    Just I'm making a game with my group as a school project, and the game would only need the two I mentioned.

  • i figured out the moving enemies lol..

  • Comment removed

  • @moneymusic22 The walls are so easy and moving enemies and next level like come on and she made a video about destroyable enemies and power ups

  • @moneymusic22

    It says that there are mistakes in the code and i cant use it !

    W-T-F ?!

  • @moneymusic22 Moving enemies.... motion Tween... :)

  • @daymond12345 the ridiculous thing about that, is the comment was left 2 years ago...

  • @VampieGames I know lol in case he still doesnt know i did that... lol

  • Hey, Im postong this on a lot of flash tutorial vids, but I need help. I'll spare some details, but how can I make it so;

    * you go to the next room when you come into contact with an object (like a door)

    *you can have walls and objects that you cant move through,

    Those are the ones I still need,

    PLEASE HELP ME SOMEONE

    I NEED TO FINISH THE GAME BY JUNE 3rd!,

    so like, reply or PM me.

  • Comment removed

  • how do you kill the enemies?

  • how do you make a wall?

  • oh ye and whats the jump code?

  • Ty so much :]

    dude where did you get all the codes and stuff?

  • Dude whats the stop code?

    you said you will put it in the discription but you didint...

    what to type in the second frame

    stop then what?

  • stop();

  • stop();

  • Comment removed

  • tysm!

  • My hp bar just keeps going down this is the code:

    onClipEvent(enterFrame){

    this._xscale = _root.hp;

    if(_root.hp<=0){

    _root.gotoAndStop(2)

    }

    }

    help!?

  • ya me to

  • Something that you need to do is make sure that on the frame your game is on, you have the code of

    _root.hp = 100;

    have that exactly as I wrote it, and it should work just fine

  • Comment removed

  • on(press){on(press){

    _root.hp++;

    }

    put this code in something so if you click on that object you get healed!!

    the more _root.hp++;s you put in the more it heals you.put 50 you get healed full

  • 2 questions.

    1. Can you give me a code to make walls unwalkable through?

    2. How can I make the enemy follow me?

  • This is so the enemy can follow you:

    onClipEvent (enterFrame) {

    _y += (_root.char._y-_y)/49;

    _x += (_root.char._x-_x)/49;

    }

  • Thanks!

  • I can't find the hp bar code

  • onClipEvent(enterFrame){

    this._xscale = _root.hp;

    if(_root.hp<=0){

    _root.gotoAndStop(2)

    }

    }

  • Do u no if there is a way to send the character to another frame by it touch something like the crystal?

    And also, if there a way to make the pick-ups that go in the inventory a perk by making a buttton known as use?

    Thanks

  • Do you know a script that you could put on walls so that the character cant pass through it?

  • onClipEvent(enterFrame){

    this._xscale = _root.hp;

    if(_root.hp<=0){

    _root.gotoAndStop()

    }

    }

  • This code just made my wall shrink as I went over it as well as my hp bar. I could still go over it.

  • how do i make an auto moving enemy?

  • simply make an animation then put the code on the animation, do you need a animation tut?? if so i would be more than happy to help :P

  • yess PLEEZ!!!

  • THANKS IM SUBSCRIBING MAN SWEET!

  • What's the code for the Retry Button?

  • In Frame:

    stop();

    In Button:

    on (release)

    gotoAndPlay(1)

  • in button for retry add code for frame where you want to start like

    on (press)

    { gotoAndPlay(frame where you wanna go);

    }

  • its

    onRelease{

    gotoAndPlay(#)

    }

    The # Sign Meaning What Frame u Wana goto

    u dont need bracets around the release

  • you can also this code for the hp bar:

    onClipEvent(enterFrame){

    this._xscale = _root.hp;

    if(_root.hp<=0){

    _root.gotoAndPlay(2)

    }

    }

  • onClipEvent(enterFrame){

    this._xscale = _root.hp;

    if(_root.hp<=0){

    _root.gotoAndStop()

    }

    }

  • What's the code for the hp bar?

  • What is the code for the retry button?

  • whats the code for the hp bar

  • onClipEvent(enterFrame) {

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

    _root.hp += 10

    unloadMovie(this);

    }

    }

  • or this

    onClipEvent(enterFrame){

    this._xscale = _root.hp;

    if(_root.hp<0){

    _root.hp=0;

    }

    if(_root.character.hitTest(_ro ot.health)){

    this._xscale = 100;

    }

    }

  • what is the code for the hp bar?

  • I also wonder what is de hp bar code?

  • What is the HP Bar Code?

  • yes

  • OK I now have it where when I die it takes me to the you die frame but the hp bar is still going down when I'm not hitting the enemy...

  • have you set the characters instance name to char ?

  • I did o wait no spaces? If that is then thats the mistake

  • ok I got it but if I die and say retry I'm not even hitting the enemy and I'm losing hp help again! lol

  • in the frame put the code hp=100;

  • Ive got a problem too When i get 2 0 health on my game it keeps going down...HELP! and I know ADretsamtovip said that to and figued it out but I still cant....

  • oh ok thanks

  • when you say stop on the frame thing what did you put after that ()? what

  • in between the bracks you put the frame number

  • So where is the HP code?

  • onClipEvent(enterFrame){

    this._xscale = _root.hp;

    if(_root.hp<=0){

    _root.gotoAndStop()

    }

    }

  • Can you make an inventory item replenish health?

  • stop yelling in my ear lol

  • haha =D

  • Don't call my friend a noob! What did he ever do to you?

  • noob just means hes new...chill

  • EVERYBODY!!

    I HAVE FOUND THE BUTTON CODE!! woop woop!

    IT IS:

    on(release) {

    gotoAndPlay(1);

    }

  • you catch on fast, o.O noob

  • y r u calling me a noob??!!!

  • cas everyone new that 4 ages

  • o.k. then. i'll just make sure not to subscribe and not watch your vids!!

    Isn't it a shame, i was going to tell all my friends about your AMAZING vids. ;P

  • it is not working i typed exactly this

    on release

    gotAndPlay

    can you please type the whole button code :( i really need it fast.

  • it is:

    on(release) {

    gotoAndPlay(1);

    }

  • its:

    on(release) {

    gotoAndPlay(1);

    }

  • whats the goto and play code?

  • how to you make the char. kill the enemy please help fast, Awesome tutorial btw.

  • ill make a tut 4 u

  • for the hero code how do you do it

  • Buy a new Mic.

  • how do you export the game to play it?

  • save it, then press control and enter at the same time while in the flash with it loaded up then it will be wherever you saved it

  • you said you would put the code for the "HP bar" in the comments, i cant find it...

  • onClipEvent(enterFrame){

    this._xscale = _root.hp;

    if(_root.hp<=0){

    _root.gotoAndStop()

    }

    }

  • wuts the codes u put in for the retry button

  • thnx i am makin a transformers game this helped alot

  • nice, would there be any chance you could send me the game when your finished making it, i will help you out by making a tut on how to transform the char

  • Sure the only things i need tho are action script to stay a car when u press a button, and turn back and stay a robot when you press the button again and with ur help i got how to make my character attack the enemy and the enemy's health goes down but i need to know how to make the enemy look like he got hit when he does, not just standing there tho... sorry for not replying!

  • gd Just YOUR VOICE IS SO ANNOYING!!!!

    lol

  • lol, im sorry, i had a bit of a cold !!!

  • Do tutorial about enemy whitch moves. Nice tutorials btw :)

  • what hp bar action ?

  • I need help with something, I created the playing bit of the game on frame 1, the lose screen on frame 2 and I made the menu on frame 3 and I don't know how to start with the menu when I play.

  • you cant, try moving the two frames along once togther then on the first frame which looks likes two put together click on the first one and press f7, now copy the menu frame which you have created to the first frame, by right clicking on the menu frame and press copy frames, then go to the first one and press paste frames.

  • could i have some help plz

    when i go up to the enemy and my hp hits 0 it keeps going backwards. plz help O, and whats the go to and play action script?

  • happened to me too in the action code for the hp it says gotoAndPlay() inside te brackets put 2

  • what hot key did you use to go to the convert to symbol page when you changed the registration point to left.

  • you press f8

  • and how do you make different objects take away more health than others?

  • this time i only have 1 problem :S when i get killed the frame just freezes and doesnt go to the frame i asked y?

  • thanks again u help me so much thanks :) ;)

  • u did not put the gotoAndPlay code thing

  • I seem to have something wrong. I did everything but when I test it i get killed instantly and sent to the 2nd frame where the retry button is.

    know any reasin why?

  • you need to put in the frame of the game:

    hp = 100;

  • I did put that code, but it was in caps. It works now, thnx.

  • yo how would you make your character like shoot a lazer or something at the enemy

  • onClipEvent(enterFrame){

    this._xscale = _root.hp;

    if(_root.hp<=0){

    _root.gotoAndStop()

    }

    }

  • thnx

  • u havent put the hp code in yet

  • onClipEvent(enterFrame){ this._xscale = _root.hp;

     if(_root.hp<=0){ _root.gotoAndStop() }

    }

    Sorry it was on comments but it wont work on description

Loading...
Alert icon