How to make the player teleport to the opposite side of the screen in WoofJS
2D Game Design with WoofJS
🕑 This lesson will take about 5 minutes
In this lesson, you will learn how to make the player teleport from one edge of the screen to the other in WoofJS, as shown in the example below.
Go to woofjs.com, create a new project and use the code below: