This action accelerates the instance with the given speed in the given direction.
This is useful for controlling instances that accelerate gradually, like a space ship or a rolling ball, unlike, say, an RPG character which moves at a constant speed.
Argument | Description |
---|---|
Direction | The direction to accelerate in |
Speed | The speed of the acceleration |
This will cause the instance to accelerate in the direction of the sprite's rotation, with a speed of 0.1, if the up arrow key is held down.
You can modify the image_angle variable to turn the instance.