Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (747)
Games in Android Showcase (226)
games submitted by our members
Games in WIP (829)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Is it worth getting into Entity\System concept?  (Read 1128 times)
0 Members and 1 Guest are viewing this topic.
Offline waterbread

Innocent Bystander

« Posted 2013-09-05 16:16:56 »

Hi, everyone! I would appreciate any help\advices on the topic.

My background:
  • fairly experienced with java and a little bit in large-scale projects
  • right now creating a project using libgdx
  • new to opengl, libgdx and entity\system paradigm

Recently I've come across an entity-based framework (Artemis) said to be written specifically to alleviate some of the problems with game development (as I've understood it). I've also read through a lot of info on the Entity\Components\System approach and, to be frank, I did like the concept. Right now I'm messing around with a "StarshipWarrior" app based on the framework and I have a couple of questions:

  • The idea itself is very attractive, but I was surprised by how little info (especially in java) there actually is (compared to just a 'usual OOP' approach) on this topic. Moreover, the official Artemis forums and relevant threads on the other forums are pretty much dead. So, there has to be a catch: is there something wrong with this approach? Why isn't it popular?
  • I've listed my background in order to justify the following question: for someone who is new to opengl and libgdx and entity\system concept, is it worth to 'relearn', code-structure-wise? I feel a bit overwhelmed by the amount of things I have to grasp in libgdx, but the entity\system idea really appeals to me.
  • I've seen some other java implementations of this paradigm, but am incompetent of judging whether Artemis is better or not. Any recommendations? Maybe I should just write my own implementation? Are there any caveats I'm not seeing in writing such a system from scratch?

Thanks in advance!

edit: there is a concurrent thread titled 'Data Oriented or Object Oriented?' which mentions the Artemis framework but the discussion was not quite on the issues I wanted to be clarified, so I created a new one instead.
Offline matheus23

JGO Kernel

Medals: 138
Projects: 3

You think about my Avatar right now!

« Reply #1 - Posted 2013-09-05 16:22:08 »

There is also entreri, which I found really cool and wanted to start with.

I already did some simple things with it, but somehow It seemed much too complex for my use case. It was just a little overkill.

There is also Apollo, which has an example project.

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Pages: [1]
  ignore  |  Print  

xxMrPHDxx (133 views)
2017-12-31 17:17:51

xxMrPHDxx (42 views)
2017-12-31 17:15:51

xxMrPHDxx (52 views)
2017-12-28 18:11:33

Ecumene (219 views)
2017-09-30 02:57:34

theagentd (327 views)
2017-09-26 18:23:31

cybrmynd (371 views)
2017-08-02 12:28:51

cybrmynd (408 views)
2017-08-02 12:19:43

cybrmynd (375 views)
2017-08-02 12:18:09

Sralse (346 views)
2017-07-25 17:13:48

Archive (1113 views)
2017-04-27 17:45:51
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!