A
anynameyouwish
Guest
I am new to game maker and have never really programmed before.
I'm trying to make a spaceship object that doesn't just instantly change direction and speed like using move_towards_point does.
With physics enabled I can use physics_apply_local_impulse for up and phy_rotation for left and right and get the movement I want but from what I have read using physics is probably not a good idea for my game as nothing else I want to do needs physics and I would like to make an warp jump feature later on.
How can I do this without physics? Is there a tutorial somewhere were I could learn this?
I have seen there is a motion_add function but I'm not sure how to use it get the same type of movement. I tried
if speed < 10
{
motion_add(image_index, 0.2);
}
for the up key but then once I reach top speed its impossible to change direction.
I'm trying to make a spaceship object that doesn't just instantly change direction and speed like using move_towards_point does.
With physics enabled I can use physics_apply_local_impulse for up and phy_rotation for left and right and get the movement I want but from what I have read using physics is probably not a good idea for my game as nothing else I want to do needs physics and I would like to make an warp jump feature later on.
How can I do this without physics? Is there a tutorial somewhere were I could learn this?
I have seen there is a motion_add function but I'm not sure how to use it get the same type of movement. I tried
if speed < 10
{
motion_add(image_index, 0.2);
}
for the up key but then once I reach top speed its impossible to change direction.