Added: 3 years ago
From: soramatita
Views: 18,398
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (115)

Sign In or Sign Up now to post a comment!
  • thank you very useful, how i put walls?

  • @AlexaNicolaOmegaBace I'd like to see your grandmother in my PC, idioy :I

  • @MrKaneDoggalypse DON'T SPAM MY VIDEO, FAGGOT

  • @soramatita im not a bundle of sticks!

  • I LOVE YOU, GIVE US A HUG!!!

  • Nice tutorial, thanks. if you want control car using WASD buttons, use this: onClipEvent (enterFrame) { _y += acelerar*Math.sin(_rotation/57­.3); _x += acelerar*Math.cos(_rotation/57­.3); acelerar *= 0.8; } onClipEvent (enterFrame) { if (Key.isDown(87)) { acelerar = 15 } else { acelerar = 0 } } onClipEvent (enterFrame) { if (Key.isDown(83)) { acelerar = -15 } } onClipEvent (enterFrame) { if (Key.isDown(65)) { _rotation -= 10 } } onClipEvent (enterFrame) { if (Key.isDown(68)) { _rotation += 10 } }
  • When its done I change to make a road / background

  • A ver tío que no me entero de nada, para que al chocar contra un obstáculo el coche pare, qué código hay que introducir, y dónde?

  • i want to run over something plz give me the code

  • thank you very much. i have been looking very long for this.

  • wall code: first convert the walls to a symbol and give it the instance name: "wall"

    then add the following code to the car:

    onClipEvent (enterFrame) {

    if (wall.hitTest(this)) {acelerar=0}

    }

  • @LlansleyNinja141 Sorry, i don't get it but I do not care much

  • I tried your tutorial, but my car game doesn't work. The car is not moving at all.

  • @AlexaNicolaOmegaBace

    good one!

    but yh i agree how do you make the walls?

  • this was verry, verry, cool, but do you now how to make walls???

  • great video

  • Thank you !!!!

  • Great! thanks!

  • just type ; after everything

  • should i make wall movie clip or button, and should i paste collision code on wall or car? and btw, if i post it all on wall it just dissapears

  • i cant get the collision work right but the rest is working perfect =P

  • dosen't work!!!

  • it works for me =) thanks

  • I have 3 erors copy this Code in macromedia flash

  • me too :'(

  • where is the wall code

  • tahnks

  • i wanna know how to make a wall so anyone plzz give me a code for the walls

  • wall code in the description :P

  • no doesnt work i tried the wall code and every time i moved the car the wall moved too

  • SAME PROBLEM wrong code!!!

  • con only see a little bit of discription

  • mp wa;; cpde osmt

  • well it´s a wrong code so if you find some good code plz give me it

  • its not wrong, it works for me, but if you got Action script 3.0 or 1.0 it won't work, cause this is for AS 2.0

  • But there just a car :DD

  • I dont have much of a clue what you just did o.O

  • :D lol i can maek this in 15s

  • **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: ')' or ',' expected onClipEvent (enterFrame) { _y += acelerar*Math.sin(_rotation/57 .3); _x += acelerar*Math.cos(_rotation/57 .3); acelerar *= 0.8;

    Total ActionScript Errors: 1 Reported Errors: 1

  • dude just face it, where kids. where just not ment to make games...

  • Wrong!!

  • lol, uh... GameChild, I've been making games when I was nine, so truthfully... I don't know entirely what you're saying.

  • I never thought I could either. I had to practice for while.... and now I've gotten some kick-ass games, and yet, I'm 11. I don't think it matters how old you are, or any of that. As a matter a fact, age means absoulutly nothing, it all depends on your experiences in life. And one of them involved a few months to learn how game development works, and now I'm quite capable of making these. If u try, you can do many things. Don't let some number get in the way of that.

    (Excuse my language btw)

  • lol excused.. nothing. You didn't cuss! xD The codings are wayy too confusing for me. Pivot's like a tough guy and Flash is like a fly (LISTEN TO THE WHOLE SENTENCE I'M NOT SAYING IT SUCKS)... Pivot's pulling me back. lol

  • same with me exept im 10 :P

  • Out of curiousity, when did u start? I started when I was 9, and wow... It's harder then I pictured!

  • i started in.......january

  • why did u put in (Excuse my language).........their is nothing wrong with the crap u wrote

  • I know like for real.. I don't even know what this means...

  • idk if i will suscribe

  • onClipEvent (enterFrame) { _y += acelerar*Math.sin(_rotation/57­.3); _x += acelerar*Math.cos(_rotation/57­.3); acelerar *= 0.8; } onClipEvent (enterFrame) { if (Key.isDown(Key.UP)) { acelerar = 10 } else { acelerar = 0 } } onClipEvent (enterFrame) { if (Key.isDown(Key.DOWN)) { acelerar = -15 } } onClipEvent (enterFrame) { if (Key.isDown(Key.LEFT)) { _rotation -= 15 } } onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT)) { _rotation += 10 } }
  • For erik8bis's collision script, how do I put that in? Just put it right under the script that's already given in the description?

  • aaaaaaaaaaaa! im so stupid! i dont know how to enter the code it keeps giving me errors! please help X (

  • @FDChicharrones just press f8 :D

  • Excellent! (But I also want to know how to do collisons)

  • You don't need to put everything in a separate

    clipevent. Why did you code it so going

    left is faster than going right?

    Fixed code (use Auto-Format):

    onClipEvent (enterFrame) {_y += acelerar*Math.sin(_rotation/57­.3);_x += acelerar*Math.cos(_rotation/57­.3);acelerar *= 0.8;if (Key.isDown(Key.UP)) {acelerar = 10;} else {acelerar = 0;}if Key.isDown(Key.DOWN)) {acelerar = -15;}if (Key.isDown(Key.LEFT)) {

    _rotation -= 15;}if (Key.isDown(Key.RIGHT)) {

    _rotation += 15;}}

  • thats the spanish scirpt : P

  • I put this in and it got a syntax error. I have no idea how to check what is wrong. I clicked "Check Syntax" and a window popped up 'showing the error' but I don't know what the hell it means... :(

  • ok thanks

    but i Relly Relly Relly

    need to know how to make a wall !!

  • hey if you need to know how to make a collision wall, see my channel.

  • cool,but is very simple,,

    if you want you can drawn

    a background,,

    XD.,

    but is very cool!!.,

  • cool!

  • how do i make obstacles? codes from maze games doesnt work!

  • you have to make wall collision :D the things from maze games are just 4 mouse. See my channel if u want I have a tut how to make walls.

  • this is similar to blender....in my opinion.....but blender is not as good....ha

  • i agree

  • ok how do you copy the description? cuz i am sooo lost right now

  • you spelt symbol wrong

  • u can also change the acceleration of the car by clicking on the acceleration=10 on the script and change it to what ever speed...i wudnt reccomend over 50

  • Comment removed

  • thanks

  • thanks,

    it worked :)

  • OKAY, but my question is how i can let

    a movie clip symbol react on a (button)

    obstacle. can som1 please help me?

  • Search up on how to make a maze game, and take the scipts from the maze walls and apply them to the walls of the car game ( or the obstacle)

  • i can't test game. the only option is test movie

  • yeah, becouse, to test the game is test move xD!!! lol lol lol

  • ok but now this error showed up

    1087: Syntax error: extra characters found after end of program.

  • idk, in my first time testing this, i works, i think, you are doing some bad, do the same in the video

  • yay i figured it out! i have to be on as3 not as4

  • how do you add obstacles

  • yeah

  • can you make a finish line? whats the point if you just have a car moving around the screen

  • man, its only a demostration of the script working, you are a stupid one a think

  • lol XD true, sorry

  • How do you add obstacles!?

  • i have flash cs4 and i can't find the action panel whats the key shortcut for it?

  • f9 i think

  • press F9 to open action

  • dude! you're purely awesome, thanks alot man!

  • kool worked

  • im good now it worked thank you

  • nice! but could u make a game when i can drive on people :D

  • thanks sooooooo much

  • How do you make the car not go off screen so I can make a game out of it?

  • Hey Can Some One Help Me The Rotation IS Fine But When Press Up or Down It Goes side to side help!

  • what is the code?

  • Read description and you find it there, onClipEvent (enterFrame) { _y += acelerar*Math.sin(_rotation/57­.3); _x += acelerar*Math.cos(_rotation/57­.3); acelerar *= 0.8; } onClipEvent (enterFrame) { if (Key.isDown(Key.UP)) { acelerar = 10 } else { acelerar = 0 } } onClipEvent (enterFrame) { if (Key.isDown(Key.DOWN)) { acelerar = -15 } } onClipEvent (enterFrame) { if (Key.isDown(Key.LEFT)) { _rotation -= 15 } } onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT)) { _rotation += 10 } }
  • read the fucking description

  • its nice tutorial, but can't you just make a video, where you explain the functions of the code..?

    please make one

  • Its so HOT! AWESOME! thnx!

  • THANK YOU SOOO FRICKIN MUCH!

  • NICE TUT!

  • ok

    but do you know how to make action jump and bigest terrain?

  • haha!

    cool

    thx for helping me now i creating flash games with car and i can move all objects

    im cretaed gta iv flash

    if you know some more for creating games pls post some simple videos

    thx bye

  • Ok, if you want to make that is easy, i will make a video with simple moving, with the simple moving, you can make RPG games only

  • haha i agree with the last guy, & also Frozar1 to make it go faster just make the number higher wher it says "{ acelerar = 10 } else {" change it to like 50 & u'l go fast

  • nice! now only I need people to run over

  • THAT! GIVE ME OTHER. I DRAW IT.

  • how do u increase the speed so that i can go faster ?

  • THX!!

  • That's more of a game engine than a game. But still, nice tutorial.

  • when i do this my car doesn't move whats with that?!?/

  • you put in the Instance name "car"? you copy the code in your panel actions?when you convert to a simbol,you put car?

  • excuse me but how do I add walls and stuff and make like a hard game

  • i thank you enter this code on the wall

    onClipEvent(enterFrame) {

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

    _root.gotoAndstop (2);

    }

    }

    PS. the 2 is the lose frame.

  • oh, thanks friend

  • i subscribed :) and how do u put obstacles?

  • same code look up and for the car add the instance name of char

  • Me interesa el tema, y como me interesa el tema puedo enseñarte cosas sobre edición de vídeo para que tus tutoriales queden mejor, así que si quieres saber, contacta conmigo. n_n

  • ahh ok, gracias por comentar ahora mismo voy a hace otro video de tutorial

  • ok, enseñame

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