Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (497)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
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 497 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: 107
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  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

BurntPizza (24 views)
2014-09-19 03:14:18

Dwinin (39 views)
2014-09-12 09:08:26

Norakomi (68 views)
2014-09-10 13:57:51

TehJavaDev (93 views)
2014-09-10 06:39:09

Tekkerue (47 views)
2014-09-09 02:24:56

mitcheeb (68 views)
2014-09-08 06:06:29

BurntPizza (51 views)
2014-09-07 01:13:42

Longarmx (38 views)
2014-09-07 01:12:14

Longarmx (44 views)
2014-09-07 01:11:22

Longarmx (40 views)
2014-09-07 01:10:19
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org 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‑gaming.org
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!