Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

The tag has no usage guidance.

0
votes
0answers
34 views

Handling relative positioned components in an entity system

I am currently using artemis to do my first steps in game developement. Currently I have the following components: PositionComponent stores the location of a ...
1
vote
1answer
116 views

How would you implement and differentiate between input actions and input states?

Im currently trying to setup my game and Ive started to implement input. It works like this: I have an Input class who notifies the ...
2
votes
1answer
119 views

System function in entity component architecture [closed]

I started working with ECS and I am not completely sure that I understand it correctly. As I see it now - systems can implement logic for collision, movement, similar things like that. But would it be ...
1
vote
1answer
186 views

Artemis Framework - delete all entities with a given type of component

In artemis framework how can I list all entities wtih a given type of component and delete them from the world? I couldn't find any examples in the documentation and it seems there's no ...
1
vote
1answer
350 views

Drawing Sprites with Artemis

I am trying to trace the StarWarrior code (the Artemis tutorial). I cannot figure out how these sprites are being drawn. This is the code where the player's ship ...
0
votes
1answer
122 views

What is a Pool? [duplicate]

According to When and why is a Pool class needed to hold objects?, pools are used when the number of "instances" of an object fluctuates. However, StarWarrior (the Artemis example) uses a pool for the ...
0
votes
2answers
854 views

How to associate entities in a Entity Component System (Artemis)

I want to implement an association between 2 entities in a ECS architecture using Artemis framework, which handles Components, Entities and Systems very well for me. I have an entity "Empire" (with ...
0
votes
1answer
177 views

Entity System handle graphics/textures [duplicate]

I use in Java Artemis(entity system library) and Slick2D(graphics library) for a game. Now I wonder me, how I should handle graphics(sprites, textures...). In the demos of the page from Artemis it was ...
3
votes
1answer
2k views

Entity Component Systems, Input, and Angry Birds!

I am using Artemis ECS. I have the very basics of a game already. I am now trying to determine how to gracefully handle input and to a lesser extent collisions. Some people say with ECSs, everything ...
4
votes
1answer
2k views

Structuring server-side networking with entity-component systems

I've been working on an online game, and recently have been working on converting the base of the game to use the Artemis Entity System Framework. I'm having a bit of difficulty conceptualizing ...
4
votes
1answer
1k views

Should components have sub-components in a component-based system like Artemis?

I am designing a game using Artemis, although this is more of philosophical question about component-based design in general. Let's say I have non-primitive data which applies to a given component (a ...
3
votes
1answer
2k views

How a “Collision System” should be implemented?

My game is written using a entity system approach using Artemis Framework. Right know my collision detection is called from the Movement System but i'm wondering if it's a proper way to do collision ...