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.

How it's built?

This game is made with GDevelop using these features:

  • Event functions
  • Layers and cameras
  • Events and control flow
  • Mouse and touch
  • Objects
  • Scene
  • Variables
  • Draggable Behavior
  • Linked objects
  • Shape painter
  • Sprite
  • Text object
  • Top-down movement
  • Magnetic Effect

Edit it in GDevelop

Try Magnet online

Test and edit this example in the GDevelop game engine.