this post was submitted on 16 Aug 2023
40 points (91.7% liked)

Game Development

3439 readers
2 users here now

Welcome to the game development community! This is a place to talk about and post anything related to the field of game development.

Community Wiki

founded 1 year ago
MODERATORS
 

Hey there! I'm a free-time gamedev (and full time software engineer) escaping the clutches of reddit and wanted to introduce myself over here. I'm coming back to game development after a longer break due to lack of energy. One job change later and I'm at it again :) I'm currently prototyping a minimalistic action rpg, trying to focus on item crafting (with a mod system similar to but simpler than Diablo 2, Path of Exile, Last Epoch) and some simplified action gameplay. This is my first time trying out ECS as a design paradigm, so far I'm liking it, although there are some mistakes I keep making that start to annoy me. I'll be looking into unit testing in gamedev as that seems to be pretty easy in ECS, has anyone had any experience with that?

I try to regularly upload a build to itch.io if you want to take a look at my progress.

Feel free to comment or write me a message if you have any interesting inputs/ideas or maybe know of a game that tries to achieve something similar.

~dragbone

you are viewing a single comment's thread
view the rest of the comments
[โ€“] wesker@lemmy.sdf.org 2 points 1 year ago* (last edited 1 year ago) (4 children)

What is ECS, if I may ask?

[โ€“] dragbone@discuss.tchncs.de 4 points 1 year ago (3 children)

Of course! ECS is Entity Component System. In short: separat your code into logic (=systems) and data (=components) attached to game objects (=entities). It enables you to add different behaviors to your game objects by composing different components together. An example: I have a system called RenderSpriteSystem which automatically renders every entity that has a PositionComponent and SpriteComponent attached.

[โ€“] wesker@lemmy.sdf.org 2 points 1 year ago (2 children)

This is interesting, thank you! I'm myself working on an oldschool text-based game framework, and I'm shopping around for design paradigms and patterns that are worth adopting. This is helpful.

[โ€“] dragbone@discuss.tchncs.de 2 points 1 year ago (1 children)

I'm not sure how much of ECS you can apply in that case... If you have something like game objects/entities then it might work/be useful.

[โ€“] wesker@lemmy.sdf.org 1 points 1 year ago* (last edited 1 year ago)

I looked into it. I do have objects, and soon will have entities. My architecture is very object-oriented however, and the more I read about ECS the less I think the paradigm would work for how I'm approaching my framework.

If at all curious, here is the repo. Very much in infancy, but coming right along.