logo80lv
Articlesclick_arrow
Research
Talentsclick_arrow
Events
Workshops
Aboutclick_arrow
profile_loginLogIn

Game Developer Made PUBG-Style Battle Royale In C++ From Scratch

Rishi Khanna shared the progress of his Unreal Engine 5 project over the past six months.

Since April of this year, Game Developer Rishi Khanna has been building a battle royale game from scratch, writing over 40,000 lines of C++ code within the Unreal Engine ecosystem, and has gathered some materials to showcase the progress made so far and to share insights from this journey.

This Battle Royale Game project includes all the classic battle royale mechanics – joining lobbies, aircraft drops, loot pickups, moving to safe zones, and, ultimately, surviving to be the last squad standing. Taking on a large and complex project like this required Rishi Khanna to constantly focus on optimizing, decoupling, and rigorously testing each feature to ensure a robust final prototype with minimal issues and zero game-breaking bugs.

This project allowed the developer to gain a deep understanding of Unreal Engine's Replication System. With optimization as a top priority, he focused on minimizing data transmission across the network to reduce latency, ensuring smooth gameplay without compromising on quality. Additionally, Rishi Khanna implemented Lag Compensation techniques, such as Server-Side Rewind and Client-Side Prediction. The result is a fully functional game prototype with a complete game loop.

"Optimization was a top priority. From memory management to efficient data transmission over the network, I designed each system to keep CPU cycles low and network load minimal. Testing was another key focus, where I developed solutions to improve productivity."

Rishi Khanna

Rishi Khanna

Here are the key features and mechanics of this game:

  • Replicated Weapon Mechanics
  • Inventory System
  • Armour
  • Hitbox-based Weighted Damage
  • Grenade, Smoke Grenade
  • Vaulting
  • Solo, Duo, Trio, Squad
  • Knock Player
  • Revive Player
  • Eliminate Enemy and Team
  • Win/Lose Match
  • Death Box
  • Server Side Rewind
  • Client Side Prediction
  • Blue Zone, Safe Zone
  • Randomly generated Zone and Flight Path
  • Zone Damage and Effects
  • Weighted Random based Loot Generation
  • Jump from Aircraft
  • Skydive, Falling
  • Parachute, Glide
  • MiniMap and FullMap Widgets
  • Steam SDK
  • Create, Join, Configure Sessions

For a deeper look into this project, check out Rishi Khanna's blog post, and don't forget to join our 80 Level Talent platform and our new Discord server, follow us on InstagramTwitterLinkedInTelegramTikTok, and Threads, where we share breakdowns, the latest news, awesome artworks, and more.

Join discussion

Comments 0

    You might also like

    We need your consent

    We use cookies on this website to make your browsing experience better. By using the site you agree to our use of cookies.Learn more