In this video I want to show you how we can deal with screen bounds in Unity in a 2d game by creating a screen wrap effect like in the old-school Asteroids game.
We will also create a general block further movement solution and it will all work for RigibdBody physics movement as well as for a simple Translation movement.
@Jettelly
Learn how to improve your game by creating custom shaders in Unity https://www.youtube.com/c/Jettelly
Learn to write more maintainable code using Design patterns by making a 2d platformer game:
https://courses.sunnyvalleystudio.com/
Scripts:
https://github.com/SunnyValleyStudio/Unity-2D-wrap-around-screen-bounds
Join the discord:
https://discord.gg/RQEtYHz
You can support me through Patreon:
https://www.patreon.com/sunnyvalleystudio
#unity2d #wrap-effect #sunnyvalleystudio