Thousands of pickups don’t need thousands of Actors.
By building a coin pickup system with plain data arrays rather than one Actor per coin, we can add thousands of pickups to the world in microseconds, not milliseconds. The code remains simple to understand and maintain.
We store each coin’s location, credit reward, and mesh instance ID in three synchronized arrays. A single Instanced Static Mesh Component represents the coins in the world. This layout, known as a Structure of Arrays, is one way to apply Data-Oriented Design to your gameplay systems.
It lets us process thousands of pickups with less memory overhead and is more cache friendly than using Actors and Components, which is important for performance.
During the lessons in the new UE5 C++ Course we go into detail on how and when to apply this in your own projects.
Data-oriented Design is nothing new and Unreal Engine has a similar data-oriented system called Mass. But I often see developers learn this approach very late in the process as Unreal Engine is so heavily biased to OOP (object oriented programming). OOP is convenient, but not always the right approach. In the C++ course we explain and apply both.
Introducing AI video you can watch and interact with, in real-time!
Powering this is a new world model that imagines and streams video frames every 40ms(!). No game engine in sight.
We call it interactive video, and it's free for anyone to try right now (GPUs permitting)!
Worldwide pre-orders for the Assassin’s Creed Animus Naoe & Yasuke ¼ Scale Statue open tomorrow! Are you ready?
Only 250 Exclusive Editions, available only on https://t.co/AAxAIkWwtV! Don’t miss out!
The classic game of Shogi featuring characters from Assassin’s Creed Shadows!
High quality & limited! Pre-order yours now ➡️ https://t.co/uSnrJOrk58
Introducing Gen-3 Alpha: Runway’s new base model for video generation.
Gen-3 Alpha can create highly detailed videos with complex scene changes, a wide range of cinematic choices, and detailed art directions.
https://t.co/YQNE3eqoWf
(1/10)
I created a script for Maya that significantly speeds up and simplifies the animation adjustment. It is a huge time saver and replaces hours of routine work with just a few clicks done in seconds. The tests went well, so I think the beta is ready to be revealed. Here is a 🧵