V
vaultapple
Guest
hi i am having a similar problem and could use a new set of eyes as well as help.
///the square with the turn is the issue
///the code works some of the time depending on the speed of car witch is in alarm 0
///left pressed starts alarm 0
if speed < 10
{
direction = direction
speed += .5
alarm[1] = 0
alarm[0] = 24
}
///alarm 1 is the opposite to slow the car
///left released starts alarm 1
///the code that makes the car turn is in step event
if x >= obj_tile_31_left_up.x + 73
{
if x <= obj_tile_31_left_up.x + 82
if direction = 90
{exit}
direction += 10
image_index += 10
}
///the square with the turn is the issue
///the code works some of the time depending on the speed of car witch is in alarm 0
///left pressed starts alarm 0
if speed < 10
{
direction = direction
speed += .5
alarm[1] = 0
alarm[0] = 24
}
///alarm 1 is the opposite to slow the car
///left released starts alarm 1
///the code that makes the car turn is in step event
if x >= obj_tile_31_left_up.x + 73
{
if x <= obj_tile_31_left_up.x + 82
if direction = 90
{exit}
direction += 10
image_index += 10
}