• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

car collision

  1. M

    Car direction variable problem

    I have the following code for the movement of going fowards and backwards in a car: // Variables right = keyboard_check(vk_right) || keyboard_check(ord("D")); left = keyboard_check(vk_left) || keyboard_check(ord("A")); up = keyboard_check(vk_up) || keyboard_check(ord("W")); down =...
  2. M

    Car colision problem

    I have the following code for movement and colision in a car object step event: // Variables right = keyboard_check(vk_right) || keyboard_check(ord("D")); left = keyboard_check(vk_left) || keyboard_check(ord("A")); up = keyboard_check(vk_up) || keyboard_check(ord("W")); down =...
  3. M

    Car Colision problem

    I have a game where you control a car, and you set the direction it is pointing with the left and right keys, and with the up key it moves toward that direction. Basically the arrow keys change the direction of the object and the up key sets the object speed to a specific number. I want for it...
  4. A

    GML Reactive object help. This noob found a solution, but I know it's the wrong way.

    Game Maker version 2.3.0.529 As you'll probably guess I'm following Shaun Spalding's tutorial but along the way I added a crouch action and multiple oPlayer"weapon" objects using a collision instance_change to allow weapons changes that also change the sprites and how it shoots. I have a car...
  5. A

    Legacy GM Suggestions for pinball-like collision...[with a controllable 'pinball' object]

    Hola! I'm working on a racing game where the cars behave like pinballs when they collide with a solid object; therefore, I'm not looking at using realistic physics for the cars (although I'm aware of some really decent tutorial vids for realistic handling). However, should I still be using...
  6. N

    GML Rotation collision (example: top-down car)

    GM Version: Should be universal Target Platform: ALL Download: N/A (all needed code is there) Difficulty: Intermediate Last Edited: 2018.08.10 Short version: Rotation after dealing with movement collision. Classic while loop checking but this time rotate image_angle to previous position...
Top