How to make PIXEL PERFECT 2D Games with Unreal Engine 5

Опубликовано: 10 Март 2025
на канале: Cobra Code
49,725
1.2k

Get my 12 hour course on how to make 2D games with Unreal Engine:
https://tinyurl.com/Ultimate2D

Get the Pixel Perfect Plugin, Samples and much more on Patreon:
https://tinyurl.com/PixelPerfectTools

Free 2D Side Scroller Template Github:
https://github.com/CobraCodeDev/TP_2D...

Making Pixel Perfect 2D games with Unreal Engine can be quite a challenge, but in this video I'll cover how we can snap sprites to a grid using a custom material and also how we can the camera movement to a grid.

If you enjoyed this video, please subscribe:    / @cobracode  
● Twitter:   / cobracodedev  
● Discord:   / discord  

Free Knight Asset Pack:
https://kijo.itch.io/cute-little-adve...

Sources:
https://weareludicrous.com/blog/2018/...
https://github.com/Nauja/ue4-pixelper...
  / 1607198566266843141  

   • The Code That Makes Mario Move  
   • Super Mario All-Stars + Super Mario W...  

Timecodes:
0:00 Intro
0:56 What is Pixel Perfect 2D?
2:41 Setting the Pixels Per Unit
4:04 Pixel Snapping Material
8:58 Using the orthographic camera
11:13 Snapping Camera Movement to a grid

🎵 Music By:
softy - Frozen Lands
Provided by Lofi Girl
Watch:    • Video  

Icons made by Freepik (https://www.freepik.com) from Flaticon (https://www.flaticon.com/)

#cobracode #gamedev #unrealengine #ue5