Uh? What's ARCO 2?

ARCO stands for Advanced Race Car Object. It makes a 360 degrees car movement with accelartion, decelartion and other cool features. ARCO 2 is "safe" and flexible and can have unlimted movement types like a normal race car or a space ship.

Actions

Settings

Set speed

ARCO 2's speed is pixels per frame. The first parameter for this action smiply changes ARCO's maximum speed.

Set rotation speed

ARCO 2's rotation speed is in angles. for example, when the rotation speed is 3 the car will rotate in 3 deg' while doing the rotate action. (Actions->Rotation -> Rotate Right/Left) The first parameter for this action smiply changes ARCO's rotation speed.

Set acceleration

While Stepping forward or backward (Actions-> Step -> Step forward/backward) this value will be add to the current speed. The first parameter changes the accelartion amount, it can be a float. To have no accelartion use the max speed as the acceleration.

Set deceleration

While not Stepping forward or backward (Actions-> Step -> Step forward/backward) this value will be decreased from the current speed. The first parameter changes the deceleration amount, it can be a float. To have no deceleration use the max speed as the deceleration.

Select car object

ARCO 2 can move the X and Y postion of a selected object and its direction too instead of doing it by actions. However, this is not a must-to-do. The first parameter is the car object. To have no deceleration use the max speed as the dec.

Step

Step forward

Step forward action raise the current speed to the max speed using the acceleration value. while not- it will be decreased by the deceleration value.

Step backward

Step backward action raise the current speed to the max speed. while not- it will be decreased by the deceleration value.

Rotation

Rotate Right

Rotate the car right by the rotation speed value.

Rotate Left

Rotate the car left by the rotation speed value.

Custom

Step in amount

Steps in the car angle but with a custom speed.

Rotate in amount

Rotates the car but with a custom rotation speed.

Set postion

Simply changes the car X and Y postion

Set angle

Simply changes the car angle

Set current speed

Sets the car current speed

Step in angle

Step in the car speed but with an other angle

Step in angle and amount

Step in an angle and a custom speed.

Stop

Set the current speed to 0.

Bounce

Bounce the car object to the other angle. The bouncing power can be a float.

Expressions

Get car X

Returns the car X postion.

Get car Y

Returns the car Y postion.

Get car dir

Returns the car angle as an MMF dir.

Get car angle

Returns the car angle.

Get current speed

Returns the car current speed, may return a float.

Settings

Get speed

Return the max speed that you set before.

Get rotation speed

Return the rotation speed that you set before.

Get acceleration

Return the acceleration that you set before.

Get deceleration

Return the deceleration speed that you set before.

Conditions

Before move

Called every loop before the car moves.

After move

Called every loop after the car moves.