Sine (or ellipsis) Movement

Allow an object to move smoothly on the X and/or Y axis following a sine wave, or an ellipsis.

Authors and contributors to this community extension: 4ian, VictrisGames.


Allow an object to move smoothly on the X and/or Y axis following a sine wave, or an ellipsis.

Example uses:

  • Floating objects, such as powerups or coins
  • Moveable platforms
  • Enemy movement patterns

Properties:

  • Horizontal distance
  • Vertical distance
  • Horizontal speed
  • Vertical speed
  • Center of movement, X position
  • Center of movement, Y position

Tips:

  • For circular or elliptical movement, the horizontal and vertical speed need to be the same
  • For horizontal movement only, set vertical distance to 0
  • For vertical movement only, set horizontal distance to 0
  • For figure-8 movement, set horizontal speed to 1/2 of the vertical speed

This page is an auto-generated reference page about the Sine (or ellipsis) Movement extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.