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

An Entity-Component-System (ECS) framework written in Java.

0
votes
1answer
26 views

How to setup engine properly in ktx-ashley?

I'm trying to setup simplest Ashley project with only 2 entities and get this error: ...
0
votes
1answer
108 views

libgdx ashley how to detect clickEvent on Entity

How can I detect a click event on an Entity? I use libgdx with Ashley. Must I implement it by my self e.g. in touch down method of InputProcessor test if any entity is on this click position. Or exist ...
0
votes
1answer
152 views

ECS - should everything be a system?

I've just recently started working with LibGDX and Ashley, and I find it to be really useful and I like working with the whole entity/component/system workflow. But I've been starting to layout the ...
3
votes
2answers
180 views

How to avoid using static variables

When developing with libGDX, you can often read, that your should not use static variables if you plan to eventually release your game on android later. But while trying to follow that rule, I often ...
1
vote
1answer
96 views

How does Ashley keep systems up-to-date with its entities?

I am currently trying out Ashley and overall learning how an ECS works internally. What I currently don't understand is how Ashley in particular keeps its systems up-to-date by adding or removing ...
1
vote
1answer
140 views

Are references between entities in Entitiy Component System allowed?

I've got a player entiy in my game that can pick up weapons when colliding with item entities. The player can hold and use the weapon in their hand (the weapon sprite is rendered relative to the ...
0
votes
0answers
67 views

Pooled Particle Effect Stops Rendering after player dies and screen is recreated

I have an issue in a game I'm developing where the particle effects work for the first instance of the game. After the player dies a new instance of the main screen is started (which creates the ...