Screen Wrap
Teleport object when it moves off the screen and immediately appear on the opposite side while maintaining speed and trajectory.
Authors and contributors to this community extension: Entropy, VictrisGames.
The teleport happens when the center point of the object crosses a border. Change behavior properties to increase or decrease the margin used to trigger this teleport. By default, the borders of the wrapping area match the screen size, but they can alo be changed.
This behavior can be used to recreate the movement of the classic game "Asteroids".
Tip
Learn how to install new extensions by following a step-by-step guide.
This page is an auto-generated reference page about the Screen Wrap 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.