People who code: we want your input. Take the Survey

Questions tagged [ashley]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
210 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: ...
2
votes
1answer
621 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 ...
1
vote
1answer
747 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
842 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
387 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 ...
2
votes
1answer
741 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
131 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 ...