Questions tagged [artemis]

Artemis. Artemis is a high performance Entity System framework for games, written in Java, and is a framework to manage entities in a game world.

It is inspired by Entity Systems are the future of MMORPG blog series by Adam Martin. We also borrowed ideas from Ted Brown who implemented a simple high-performance Entity System in Processing based on Adam Martin's blog.

The framework is based on the concept that entities in a game world exist as pure identifiers, their components contain only data, and systems process entities based on their aspects. This promotes separation of concern and simplifies game design tremendously.

17 questions
4
votes
1 answer

How to combine artemis-odb + Glenn Fiedler game loop

I want to use artemis (https://github.com/junkdog/artemis-odb) for my game. Lately I read about Glenn Fiedler's game loop: http://gafferongames.com/game-physics/fix-your-timestep/ So the mentioned game loop has two parts where artemis…
TomGrill Games
  • 1,553
  • 2
  • 16
  • 25
4
votes
3 answers

Entity Component System Framework that is CPU cache friendly

I can not find a single framework implementation that is CPU cache friendly, which means that data on which systems traverse in each game loop cycle is stored in a contiguous memory. Let's see, systems traverse on specific entities that satisfy…
Narek
  • 38,779
  • 79
  • 233
  • 389
3
votes
2 answers

Data structure for tile map for use with artemis

I've been working on a turn based tile map based game using artemis-odb and libGDX. I wanted different terrain types for the map such as grass, sand, water, mountains and so forth, with each of these different terrain types having different movement…
MLevy
  • 49
  • 6
3
votes
2 answers

How to use entity systems with Box2D?

The approach of developing games with Entity Systems is very clear. You have components, you add them to entities. Depending what kind of component you have different systems start to process the state of each entity. For example you add Position…
Narek
  • 38,779
  • 79
  • 233
  • 389
2
votes
0 answers

Mutual Authentication in ActiveMQ Artemis cluster fails to get hostname from client IP address

I have set up an ActiveMQ Artemis cluster (version 2.27.1) to use mutual authentication. When the second node tries to connect to the first one, I get an error WARN [org.apache.activemq.artemis.core.server] AMQ222208: SSL handshake failed for…
Milind
  • 2,760
  • 1
  • 16
  • 12
1
vote
1 answer

Artemis - how to delete all entities from world

I want to delete all entities from world. And if a tag or a group is registered for the entity, I want to remove them too. Like there was no such entity at all. It is much like World.delete function, but you should loop on all entities. I can't find…
Narek
  • 38,779
  • 79
  • 233
  • 389
1
vote
1 answer

What is the Artemis Pool?

Artemis seems like an excellent framework for ECS, but the documentation is to say at the least, lacking. I am new to ECS and have no idea what I am doing, but I want to learn. My objective is to draw something to the screen. I am using MonoGame…
Evorlor
  • 7,263
  • 17
  • 70
  • 141
0
votes
1 answer

NPE related to Artemis in Libgdx project

Update: WorldConfiguration and World are still the same, WorldConfiguration setup = new WorldConfigurationBuilder() .with(new HelloSystemArtemis()) .with(new RenderSystem(batch, environment)) .with(new…
Oxydeme
  • 41
  • 6
0
votes
1 answer

Artemis - Multiple instance of EntityManager

I'm using the Artemis-odb framework for coding game in Java (https://github.com/junkdog/artemis-odb). I would like to instantiate some Entity (for example, buildings and people/workers). I've also seen the EntityManager class of the framework and…
Kerial
  • 205
  • 2
  • 8
0
votes
1 answer

The purpose behind the bit data in the Artemis ECS

What is the purpose behind the bit member in the Component Type, and the TypeBit and SystemBit members in the Entity for the Artemis ECS? These are some screen shots for the git repository of the Artemis ECS that refer to ComponentType and…
lambda
  • 1,225
  • 2
  • 14
  • 40
0
votes
1 answer

What is the prefered way or spot using Artemis in monogame or xna to add a mouse click rectangle

Using Artemis, Visual Studio, C# and Monogame. Just starting to get a grasp on Artemis, but looking fo the proper place to add a clickable rectangle/area to an entity, there will be multiple entities on the screen. Basic simple idea, i have small…
Yogurt The Wise
  • 4,379
  • 4
  • 34
  • 42
0
votes
1 answer

Exception after ClickOnce Deployment AppData\Local\Temp FileNotFoundException

After Click once installs I get this exception. Most users in the system do not get this error and the application runs fine. There are a select few users that run into this error. It does not matter what machine they install on. I have a…
0
votes
3 answers

Level part changing in an entity system based game

I am currently working on an entity system based game using artemis and libgdx and I am wondering how I should handle level changing in such a configuration. For example, with a Mario-like platformer: First Mario starts the level, the engine…
Alexandre GUIDET
  • 852
  • 9
  • 27
0
votes
1 answer

Use Artemis ESF with JRuby

I am trying to use the Artemis entity system framework from JRuby. Here is the Java code that I am trying to convert to JRuby: import com.artemis.Aspect; import com.artemis.Component; import com.artemis.Entity; import com.artemis.World; import…
uros calakovic
  • 277
  • 4
  • 12
0
votes
1 answer

EntityProcessingSystem cannot be used with Type Arguments

I am using Artemis and trying to extend EntityProcessingSystem. However, it is telling me The non-generic type 'Artemis.System.EntityProcessingSystem' cannot be used with type arguments; however, it must be used with type…
Evorlor
  • 7,263
  • 17
  • 70
  • 141
1
2