Note: I'm using GameMaker 1.4, not 2. I don't know if this makes a difference, but I'm pointing it out just in case.
Okay, so I'm having an issue in my GameMaker game where I'm making an object move up and down in relation to image_angle. For some reason, it really wants to move across the y axis as normal and completetly disregards the image_angle. This is really annoying and could change the game entirely if not fixed.
My code is for the step event is:
// Mouse controls.
image_angle = point_direction(x, y, mouse_x, mouse_y);
if(keyboard_check(ord('W')))
{
y -= playerSpeed;
}
if(keyboard_check(ord('S')))
{
y += playerSpeed;
}
My code for the create event is:
globalvar fuelRemaining;
fuelRemaining = 60;
playerSpeed = 3;