Table of Contents

push with force () in direction ()

Description

The blocks add a force to the sprite with the defined value in the specified direction.

Example

This example demonstrates the use of Physics simulation in a game where Tobi has to dodge the random ball coming towards it by jumping.

This example demonstrates the use of Physics simulation in a game where Tobi has to dodge the random ball coming towards it by jumping.

Tobi Script

Ball Script

Output

Read More
This example demonstrates the use of Physics simulation in a game where Tobi has to go to the apple by jumping on the slabs.

This example demonstrates the use of Physics simulation in a game where Tobi has to go to the apple by jumping on the slabs.

Tobi Script

Slab Script

Apple Script

Output

Read More
All articles loaded
No more articles to load