Added: 3 years ago
From: b1naryguy
Views: 17,111
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (113)

Sign In or Sign Up now to post a comment!
  • Awesome! Worked great, i also know how to do AI for these games, will tell anybody if they ask.

  • @fartyallred tutorial?

  • If you want a perfect collision with walls in racing without the car resetting its image, do these steps.

    1. Make a collision effect with the car and the wall.

    2. In the collision add executive code saying "speed = 0;".

    Then the car will be in its same direction before it hit the wall without resetting the image.

    Thumbs up this post so people can see!

  • I entered 50000 frames a few minutes ago, and its still loading, and not responding. But i dont want to loose my work... HOW MUCH LONGER???!!!

  • @flyboyjmc i think i recked my computer, but i am not closing the program i worked hard on this!!

  • use 112 frames, it is much smoother, and just as fast

  • Thanks guys for creating this tutorial!Good work

  • Left, Right, So much the same

  • really, you mixed up left and right

  • it doesn't take to long to load with 360 frames

  • How do we make the CPU player move like that?

  • dude wheres part 2???

  • It that not work I have GM8 lite why???

    ERROR in

    action number 1

    of Step Event

    for object ob_car:

    Error in code at line 1: image_index = image_number * diretion / 360; ^

    at position 30: Unknown variable diretion

  • @Ramdom2555

    Try re - typing the code in. Make sure you notice where exactaly to put the spaces and capital letters!

  • @Ramdom2555 You spelled "direction" wrong. That's the error.

  • great

    pitch-resin thanks for this good tutorial.

    finally someone who is clearly good and neat tutorials. Thank you both!

  • left/right same thing?? sorry, but it's not lol.

  • Thanks Man AWESOME TUTORIAL!!!

    im subscribing now!

  • HOW DO U DO THE COLLITIONS?!? When I did bounce or speed = 0 my car flips around so when i hit it my car is facing the other way.

  • @TheRubixGuy

    do you mean collision with walls, here's a code I put in

    x = xprevious

    y = yprevious

    speed = 0;

  • @glitchmaster439 yah i already found that out. I found it out about ... 5 seconds after i posted that comment. LOL! But thank u 4 trying to help!

  • great acceleration tutorial thx helped me out to finally figure out an easier way to accelerate GREAT TUTORIAL EVERYBODY!

  • im having a problem after i code this...when i run the game it wont turn when i press left or right, i have to press repeatedly plz help

  • @NuclearTestZone make sure it's the right event

  • thx man

  • left? thats sopposed to be right! (0.36)

    ___

    Bug in Pro version's script?

    btw when i turn RIGHT , i go at a faster speed ,when i turn left , i go at a slower speed. when i turn left/right , my car moves front/back

    can you help me?

  • @leafinmilo in the car sprite dont forget to put the origen in the center of the image!

  • Comment removed

  • Good tutorial, now how do you turn it to 3D?

  • never mind, i found out myself.

  • Nice!

    One question, how to make computer cars, to drive against?

    5/5!

  • yes what hethazzohotel said, make a tutorial on that that would be awesome

  • @hethazzohotel

    mayb try drawing a path and placing all of the cars on it. if not. mayby try looking at a diffrent tutorial... :)

  • use the turn code on the computer car, and then use a path to make its trail

  • you can use paths to the computers... if you know how to use it :P

  • I'm still not sure if that was a boy's voice or a girl's voice... :D

  • awsome vid, worked perfect for me, but all the retards that didnt work for them obviously didnt do it right :/

  • yes but did you remember to make the car not be able to turn when speed = 0????

  • not works lol

  • Left and right is NOT the same thing.

    Fucking retard doesn't know his lefts and rights.

  • Thank you

  • how do i make it so that when it is in reverse and i turn and it is actually like a car

  • Hello. Please help me!

    I want let a ball (if it 'doesn't move) bounce back when I hit it with a player.

    Sorry for my bad English.

    Thnx

  • @mieloman123 You should and a collision event with the player and use bounce action.

  • plz part 2 NAO!

  • bulletproof? dont think so, cuz it wont work with my game! the player just slips and slides all over the place without going straight, and my character spins around when i press left and right! un.......cool.

  • you probably havent done the rotation animation counter-clockwise

  • nice i will use this for my game

  • you wanted yourself to stop uploading part 2

    you are making lazy yourself

  • Part 2?

  • Comment removed

  • do you guys still do tutorials?

  • ait the left lolz fail

  • is part two comming soon?

  • when comes part 2?

  • instead of sp_max = 4 you could also do if speed > 4 then speed = 4 , Once your Making a really advanced game you dont wanna have to much Variables = ]

  • Thanx so much. in a few days i will show you may game. it will be on my other acount (Pupj07)

  • Comment removed

  • When is part 2 coming???

  • how do u make a collision?

  • it sounds like this kid doesn't know what he is doing

  • trust me he does know I followed it and it works

  • Yea well he does'nt know left from right

    0:37 for example =]

  • can u make a tutorial on how to make a raceing background ?

  • dude you like pound on the keys when you type.

  • its the keyboard

  • do i have to make the sprites go COUNTER clockwise? i can i just do clockwise?

  • Comment removed

  • how do u make a wall that it can crash on

  • Comment removed

  • Is there a way u can do it so u start the sprite facing up??

  • Comment removed

  • my game wont do it

  • hey man wen i copied the code of the "up event" the bottom ) dosn't go bold like the { up the top and my games stuffing cause of it? plz help

  • dont worry i got it

  • how do you have the extra things on your game maker do you think you could send me the link of the download site plox

  • ohh nvm me being stupid

  • umm my car wont move :/

  • Couldnt u better do the If speed > max then speed = 4 in the step event?

  • is it possible to make a character get out of the car so the veiw on room change so it begin following the char?

  • tnx mate 5 stars

  • u rock

  • are this pro?

  • yes epic win

  • i new how to do this anouther way i just need find out how to do start and finish line

  • You need to name your resources correctly and indent your code. It seriously tidies up your work. Also, maybe work on the steering a bit, you shouldn't be able to turn while speed = 0 ..

  • for some reason mine doesn't let me run with sp_max

  • it did not work for me ? y

  • and the part 2?

  • ON LITE VERSION WORK! =) TYYYYY

  • I've Got the Lite Version.

  • i dont work in the lite version because you cant do the animation so the car sont turn

  • can someone make a tutorial on a game. Side scrolling racing where you are looking from the side

  • do you know how to make walking animations for my objects instead of just having the face left animation when i walk left and face right animation when i walk right?

  • srry but im rotating like a maniac

  • i want to know how to have music on the game u know when u race and it would be gr8 if u showed us how to put a track

  • -click the speaker (beside red pacman at the top)

    -load your song

    -add a create event

    -add in the play sound icon (its in main1)

    -choose your side

    -press play to test

    hope it works for you

  • Thanks! its well good lol. Can you show us how to put a track on with part 2 please =D

  • Thanks man whatch what i learned from your video.

  • can some do a greater than sign and less than sing i dont know how

  • Can you please use decent grammar? I have no idea what you just said.

  • @b1naryguy he means the "greater than" symbol which is > and the less than symbol which <

    i think thats what he means

  • hei man not bad is really cool but how do i make an oponent that makes the race?

    can you help me with somthing please??

    I posted an video please help please please please

  • you could just have 360 frames and have image_index = direction

  • thx a lot! 5/5

  • Really nice tut! i did this before i got pro now i do this: (if you have lite have 121 counterclockwise rotaion animtion) create event: maxspeed = 10 turn = 3 reversespeed =-3 brakepower = 0.4 acceleration = 0.4 (feel free to edit the values)
  • not enough space to the rest of the code.

    watch my vid response

  • i got an error =( lol

  • This is quite exiting to make!

    Please upload part2 as soon as possible XP

  • it me KIECON thx for making it :D:D:D:D

  • this is good but are you gonna work on the platforming enemies

  • nic3

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