Newsletter
  • Guides
  • Previews
    • Indie Games
    • PS4
    • PC
    • Xbox One
    • Nintendo Switch
    • Nintendo 3DS
    • PS Vita
    • PS3
    • Xbox 360
    • Wii U
  • Site Info
    • About Us
    • Contact Us
    • Advertise
    • Staff Directory
    • Join Our Team
    • Privacy Policy
      • Cookies Policy
    • RSS Feeds
    • Social Media
      • Youtube
      • Facebook
      • Twitter
      • Twitch
      • Instagram
      • Tumblr
      • Linkedin
      • Pinterest
      • Discord
  • Discord
  • Store
  • Logitech G
  • green man gaming
  • Affiliates
    • GAMIVO.com
    • Logitech
    • Astro Gaming
    • Nord VPN
    • Best Buy
    • Namecheap Hosting
    • Blue Mic
    • Ultimate Ears
    • Jaybird
Thursday, December 11, 2025
BG
  • News
    • All
    • Esports
    • Interviews
    Why lag sucks

    The Lag Factor: Why Network Latency and Pings Can Swing Esports Bets

    The Click and the Wager: How eSports and Betting Collide

    Bungie Premieres Gameplay For Marathon

    Bitcoin Browser Mini Games To Play Online

    Screenshot

    Rival Stars Horse Racing: Is The VR Edition Worth It?

    Evolution of iGaming: What’s Changing for Players in 2025?

    Top Played Sport Games in Canada

    The Legend of Heroes: Trails Through Daybreak II Releases 2025

    esports new frontier

    The New Frontier: Exploring the Thrills of Esports Betting and its Impact on Traditional Sports Betting

    Trending Tags

    • Top Stories
    • PlayStation
    • Xbox
    • Nintendo
    • Retro Games
    • Mobile Games
    • Indie Games
    • Square Enix
    • Sony
    • Microsoft
    • PAX
    • EGX
    • Gamescom
    • Rockstar Games
    • Electronic Arts
    • Activision Blizzard
    • E3 Expo
  • Reviews
    • All
    • Flash Game Reviews
    • Google Stadia
    • Indie Game Reviews
    • Mobile Game Reviews
    • Nintendo 3DS Reviews
    • Nintendo Switch Reviews
    • PC Reviews
    • PS Vita Reviews
    • PS3 Reviews
    • PS4 Reviews
    • PS5 Reviews
    • Retro Game Reviews
    • Reviews RoundUP
    • Xbox 360 Reviews
    • Xbox One Reviews

    Dragon Quest I & II HD-2D Remake PC Review

    Tales of Xillia Remastered

    Tales of Xillia Remastered PS5 Review

    Little Nightmares 3 PS5 Review

    Atelier Resleriana: The Red Alchemist & the White Guardian PS5 Review

    Final Fantasy Tactics: The Ivalice Chronicles PC Review

    Trails in the Sky 1st Chapter PC Review

    Yooka-Replaylee PC Preview

    Rune Factory: Guardians of Azuma PC Review

    Lies of P: Overture PC Review

    Trending Tags

    • Resident Evil
    • Call of Duty
    • Final Fantasy
    • Destiny
    • Borderlands
    • Halo
    • The Elder Scrolls
    • Fortnite
    • PUBG
    • Bioshock
    • The Witcher
  • Opinion
    • All
    • Second Opinion

    When Games Started to Gamble

    Why lag sucks

    The Lag Factor: Why Network Latency and Pings Can Swing Esports Bets

    Aviator game featured image

    Playing Aviator on Betway

    The Click and the Wager: How eSports and Betting Collide

    Betting Online: The Overlooked Genre of Gaming You’re Already Playing

    From Gamers to Punters: How UX Turns a Bet into an Experience

    From Gamers to Punters: How UX Turns a Bet into an Experience

    Why Gamers Are Flocking To Online Casino Apps

    casino games you can play on your mobile phone

    Most Casino Games You Can Play on Your Mobile Phone

    Sport Betting and sports bets or online sporting events gambling as football betting and draft picks or basketball game bet and Hockey betting with 3D illustration elements.

    Overlooked Strategies That Can Improve Your Betting

    Trending Tags

    • Is It A Classic?
    • Remember When
    • Do We Even Care Anymore?
    • Humpday Haikus
    • Top Series
    • Thirsty Thursday
    • Aging Gamer
    • On The Way To E3
  • Podcasts
    • All
    • The BagoCast
    • TSR BagoCast

    Bagocast: Interview with Upper Echelon Gamers – The Future of Game Journalism

    Bagocast: Interview with Upper Echelon Gamers – Social Media & Esports

    Bagocast: Interview with Upper Echelon Gamers – Politics in Video Games Games

    Bagocast: Interview with Upper Echelon Gamers – Content Creators vs Game Journalist 2

    Bagocast: Interview with Upper Echelon Gamers – Titan Fall and Apex: Legends Hacked

    Bagocast: Interview with Upper Echelon Gamers – Content Creators vs Game Journalist

    BagoCast EP: 12 – Code Vein and the DLC

    Debate/Discussion: Bad Video Games That We Love

    Discussion/Debate: Is Bioware Gone?

    Trending Tags

    • Film Fallout
    • 8Bit Proof
    • Gaming Historia
    • Bago Anime Cast
    • Gamers In Beta
    • Gamers Unscripted
  • Videos

    Shadow Fight Arena Chapter 1 Gameplay

    Controller Guide For Wild Assault

    Trevor Bogan Interview

    Banishers: Ghosts of New Eden’s Gets Gameplay Trailer

    Banishers: Ghosts of New Eden Gets New Story Trailer

    Stephen Oyoung Interview

    Jacqueline Pinol Interview

    So, You Wanna Play Junker Queen?

    Matchpoint Tennis Championships Live Review

  • Geek Culture
    • All
    • Anime and Manga
    • Anime/Manga Review
    • Collectibles
    • Comic Books
    • Cosplay
    • Movies
    • Tech
    • TV Shows

    MX Player for PC: Complete Setup Tutorial

    Anime Review: Demon Slayer: Kimetsu no Yaiba – The Movie: Infinity Castle

    Crunchyroll Releases New Demon Slayer: Infinity Castle Visual

    Crunchyroll Anime Awards 2025 Winners Announced

    Tickets Are Now on Sale for OVERLORD: The Sacred Kingdom

    Crunchyroll Announces Blu-ray Titles Coming in January 2025

    MY BOYFRIEND IS A DOG Manga gets English release

    Jae Woo Kim Interview - Grip Anime

    Jae Woo Kim Interview

    Crunchyroll Anime Award 2024 Winners Announced

    Trending Tags

    • Movie Reviews
    • Movie News
    • TV News
    • TV Episode Review
    • Episode Guide
    • Competitive Gaming
    • Tech News
    • Tech Review
    • Anime and Manga News
    • Anime and Manga Review
    • Comic Book News
    • Comic Book Review
  • Forum
No Result
View All Result
  • News
    • All
    • Esports
    • Interviews
    Why lag sucks

    The Lag Factor: Why Network Latency and Pings Can Swing Esports Bets

    The Click and the Wager: How eSports and Betting Collide

    Bungie Premieres Gameplay For Marathon

    Bitcoin Browser Mini Games To Play Online

    Screenshot

    Rival Stars Horse Racing: Is The VR Edition Worth It?

    Evolution of iGaming: What’s Changing for Players in 2025?

    Top Played Sport Games in Canada

    The Legend of Heroes: Trails Through Daybreak II Releases 2025

    esports new frontier

    The New Frontier: Exploring the Thrills of Esports Betting and its Impact on Traditional Sports Betting

    Trending Tags

    • Top Stories
    • PlayStation
    • Xbox
    • Nintendo
    • Retro Games
    • Mobile Games
    • Indie Games
    • Square Enix
    • Sony
    • Microsoft
    • PAX
    • EGX
    • Gamescom
    • Rockstar Games
    • Electronic Arts
    • Activision Blizzard
    • E3 Expo
  • Reviews
    • All
    • Flash Game Reviews
    • Google Stadia
    • Indie Game Reviews
    • Mobile Game Reviews
    • Nintendo 3DS Reviews
    • Nintendo Switch Reviews
    • PC Reviews
    • PS Vita Reviews
    • PS3 Reviews
    • PS4 Reviews
    • PS5 Reviews
    • Retro Game Reviews
    • Reviews RoundUP
    • Xbox 360 Reviews
    • Xbox One Reviews

    Dragon Quest I & II HD-2D Remake PC Review

    Tales of Xillia Remastered

    Tales of Xillia Remastered PS5 Review

    Little Nightmares 3 PS5 Review

    Atelier Resleriana: The Red Alchemist & the White Guardian PS5 Review

    Final Fantasy Tactics: The Ivalice Chronicles PC Review

    Trails in the Sky 1st Chapter PC Review

    Yooka-Replaylee PC Preview

    Rune Factory: Guardians of Azuma PC Review

    Lies of P: Overture PC Review

    Trending Tags

    • Resident Evil
    • Call of Duty
    • Final Fantasy
    • Destiny
    • Borderlands
    • Halo
    • The Elder Scrolls
    • Fortnite
    • PUBG
    • Bioshock
    • The Witcher
  • Opinion
    • All
    • Second Opinion

    When Games Started to Gamble

    Why lag sucks

    The Lag Factor: Why Network Latency and Pings Can Swing Esports Bets

    Aviator game featured image

    Playing Aviator on Betway

    The Click and the Wager: How eSports and Betting Collide

    Betting Online: The Overlooked Genre of Gaming You’re Already Playing

    From Gamers to Punters: How UX Turns a Bet into an Experience

    From Gamers to Punters: How UX Turns a Bet into an Experience

    Why Gamers Are Flocking To Online Casino Apps

    casino games you can play on your mobile phone

    Most Casino Games You Can Play on Your Mobile Phone

    Sport Betting and sports bets or online sporting events gambling as football betting and draft picks or basketball game bet and Hockey betting with 3D illustration elements.

    Overlooked Strategies That Can Improve Your Betting

    Trending Tags

    • Is It A Classic?
    • Remember When
    • Do We Even Care Anymore?
    • Humpday Haikus
    • Top Series
    • Thirsty Thursday
    • Aging Gamer
    • On The Way To E3
  • Podcasts
    • All
    • The BagoCast
    • TSR BagoCast

    Bagocast: Interview with Upper Echelon Gamers – The Future of Game Journalism

    Bagocast: Interview with Upper Echelon Gamers – Social Media & Esports

    Bagocast: Interview with Upper Echelon Gamers – Politics in Video Games Games

    Bagocast: Interview with Upper Echelon Gamers – Content Creators vs Game Journalist 2

    Bagocast: Interview with Upper Echelon Gamers – Titan Fall and Apex: Legends Hacked

    Bagocast: Interview with Upper Echelon Gamers – Content Creators vs Game Journalist

    BagoCast EP: 12 – Code Vein and the DLC

    Debate/Discussion: Bad Video Games That We Love

    Discussion/Debate: Is Bioware Gone?

    Trending Tags

    • Film Fallout
    • 8Bit Proof
    • Gaming Historia
    • Bago Anime Cast
    • Gamers In Beta
    • Gamers Unscripted
  • Videos

    Shadow Fight Arena Chapter 1 Gameplay

    Controller Guide For Wild Assault

    Trevor Bogan Interview

    Banishers: Ghosts of New Eden’s Gets Gameplay Trailer

    Banishers: Ghosts of New Eden Gets New Story Trailer

    Stephen Oyoung Interview

    Jacqueline Pinol Interview

    So, You Wanna Play Junker Queen?

    Matchpoint Tennis Championships Live Review

  • Geek Culture
    • All
    • Anime and Manga
    • Anime/Manga Review
    • Collectibles
    • Comic Books
    • Cosplay
    • Movies
    • Tech
    • TV Shows

    MX Player for PC: Complete Setup Tutorial

    Anime Review: Demon Slayer: Kimetsu no Yaiba – The Movie: Infinity Castle

    Crunchyroll Releases New Demon Slayer: Infinity Castle Visual

    Crunchyroll Anime Awards 2025 Winners Announced

    Tickets Are Now on Sale for OVERLORD: The Sacred Kingdom

    Crunchyroll Announces Blu-ray Titles Coming in January 2025

    MY BOYFRIEND IS A DOG Manga gets English release

    Jae Woo Kim Interview - Grip Anime

    Jae Woo Kim Interview

    Crunchyroll Anime Award 2024 Winners Announced

    Trending Tags

    • Movie Reviews
    • Movie News
    • TV News
    • TV Episode Review
    • Episode Guide
    • Competitive Gaming
    • Tech News
    • Tech Review
    • Anime and Manga News
    • Anime and Manga Review
    • Comic Book News
    • Comic Book Review
  • Forum
No Result
View All Result
BagoGames
No Result
View All Result

BagoGames > Articles > Opinion > Main Principles for Using ECS in Game Development

Main Principles for Using ECS in Game Development

Chris Newton by Chris Newton
6 years ago
in Opinion
Reading Time: 3 mins read
0
Share on FacebookShare on Bluesky

RelatedStories

When Games Started to Gamble

1 week ago
Why lag sucks

The Lag Factor: Why Network Latency and Pings Can Swing Esports Bets

1 month ago

Entity component systems (ECS) is a lot different than making software or building an eCommerce platform. A developer can opt to specialize in eCommerce development services here, but that doesn’t mean that they’ll be prepared for game development.

Game development has many intricacies, from concerns of memory management and system performance to advanced physics requirements. Tonic is a custom software development company.

ECS is just another tool that a game developer can leverage that allows you to process game states in a way that is both flexible and extensible. Game development has a lot of moving parts at any given time. The state of the game is vast, and this may include:

  • Enemies and their actions
  • Character state
  • Item state
  • More

When we mention state, just think of a game with 1,000 enemies. If you kill an enemy, a new state must be made, whether that means a respawn timer is initiated, or the enemy remains dead.

Each object in the environment has a state, and behavior has to be added to each object in a way that can be managed. The data must also be stored in a way that is manageable. There is a lot that goes into a game, and ECS provides solutions that can help make state management easier.

Entity

Entity
An Entity just like these characters from certain Nintendo titles…

Entity, or the E in ECS is an item, character or object. The bullets a character shoots or the vehicles they drive are entities. The character is also an entity that will be comprised of their own:

  • Unique identifier, which is required for full tracking of the enemy
  • Components, or the information that makes up the enemy (more on this soon)

Entity management requires a way to store information that can easily be tied to the entity using the unique ID. The information typically exists in a database so that it can be retrieved. The data may also persist in memory that is faster to access than a database in the middle of gameplay. That’s why import records is crucial.

The data in memory will eventually be saved to a database or file when the game’s state is saved.

Component

Data
There is a LOT of data in game development…

The component, or the C in ECS is difficult to understand if you don’t have a background in development. Entities, or the objects and characters we just discussed, have a lot of data about them that needs to be stored.

Let’s imagine a dog that can eat, attack, lose or gain weight, or lunge.

Raw data about the dog may be held in a component so that the dog can be rendered to the screen.

This information, or the data relating to entities, are held in a component.

System

The final part of ECS is the system. Entities need logic that allows the entities to act in a certain way. A system may include speed for two objects so that when they’re moving towards one another their position changes accordingly.

Since entities may have different velocities, the system will need to update position accordingly and modify it according to the entity’s velocity.

Behavior logic resides in the system.

Objects and Entities

Game Development
There are many programs to use for game development…

In object-oriented programming, you can create an object for firearms. The components would be created and assigned an identifier that ties both the components and entity together. Components are often stored in a relational database and will use rows to hold all of the information.

Joins can be used to join the entity with its respective components using the unique ID assigned.

The system’s role in the process is to query all of the necessary components and use this data in a meaningful way to execute certain logic.

Game development is complex, but ECS solves many of the issues with state that developers come across. A lot of developers will only create as many items that need state as required because state can be very difficult to maintain in a way that is logical, functional and doesn’t require massive amounts of memory usage.

State is best when it is able to remain in its raw state and is searchable.

ECS is just one of the many ways that developers can manage entities and all the components and systems that bring them to life. ECS is a different approach that doesn’t rely as heavily on the object-oriented models that take up the majority of coding.

This article contains sponsored links.

Tags: CodingGame DevelopmentSDUnityunreal engine
ShareShareTweetShare


Previous Post

The Last of Us Part II State of Play Gameplay Details

Next Post

VIZ Media Presents Tokyo: Day by Day

Subscribe
Connect with
Login
I allow to create an account
When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account.
DisagreeAgree
Notify of
guest
The comment form collects your name, email and content to allow us to keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
Save my name, email, and website in this browser cookies for the next time I comment.

I allow to create an account
When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account.
DisagreeAgree
guest
The comment form collects your name, email and content to allow us to keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
Save my name, email, and website in this browser cookies for the next time I comment.

0 Comments
Inline Feedbacks
View all comments

BAGOGAMES WEEKLY NEWSLETTER

Get this week's top news, reviews, guides, videos and opinion for your favorite games, movies, TV and tech in your email every Friday.

Don't worry, we don't spam.

NEW ON BAGOGAMES

Game Reviews

Dragon Quest I & II HD-2D Remake PC Review

7 days ago
Tales of Xillia Remastered
Game Reviews

Tales of Xillia Remastered PS5 Review

7 days ago
Opinion

When Games Started to Gamble

by Trevor Kincaid
1 week ago

LATEST PODCASTS & VIDEOS

Currently Playing

Void Slayer – Review

Void Slayer – Review

Game Reviews

The IDEAL Spider-Man VR Game

Opinion

BPM: Bullets Per Minute – Shooting to The Beat (Review)

Game Reviews

She Will Punish Them – Warning: Mature Content (Early Access Review)

Game Reviews

Bagocast: Interview with Upper Echelon Gamers – The Future of Game Journalism

Opinion

FOLLOW US

BagoGames

BagoGames.com © 2023 BagoGames LLC. All rights reserved.

Navigate Site

  • About Us
  • Contact Us
  • Staff Directory
  • Join Our Team
  • Privacy Policy
  • Advertise
  • Newsletter
  • RSS Feeds
  • Discord Server
  • BG Store
  • OpenCritic
  • green man gaming
  • Logitech G
  • GAMIVO.com
  • ASTRO Gaming
  • Logitech
  • Namecheap Hosting
  • Nord VPN
  • Best Buy
  • Blue Mic
  • Reviews
  • News
  • Opinion
  • Guides

Follow Us

  • Login
  • Sign Up
No Result
View All Result
  • News
  • Reviews
  • Opinion
  • Podcasts
  • Videos
  • Geek Culture
  • Previews
  • Guides
  • Short Videos
  • Forum
  • Site Info
    • About Us
    • Contact Us
    • Advertise
    • Join Our Team
    • Staff Directory
    • Privacy Policy
    • Newsletter
    • RSS Feeds

BagoGames.com © 2023 BagoGames LLC. All rights reserved.

wpDiscuz