Magnet

2 scenes showing examples of how to use a magnetic attraction effect. One with a ball attracted by a magnet, one with a player who attracts coins.

Features used in this example

GDevelop is a game engine allowing you to make games without coding. It's free, fast and easy to use. Get started now!

The example uses these features:

  • Advanced control features
  • Cameras and layers features
  • Mouse and touch
  • Features for all objects
  • Scene management features
  • Variable features
  • Draggable Behavior
  • Linked objects
  • Shape painter
  • Sprite
  • Text object
  • Top-down movement

Read more about all features and extensions in GDevelop here.

Game creation, made simple

Imagine and publish your games with GDevelop. Bundled with tutorials and examples.