Comments (5)
I'm curious, why would you need that? (I'm not telling you that you don't)
from artemis-odb-contrib.
Think of it like a scenegraph. So entities that have a spatial relationship, like turrets mounted on a spaceship. This is already sorta in the contrib components package, by means of components 'Attached' and some others. It just needs cleaning up.
Just my preference though. others probably prefer to hook this up through some behind the scenes physics or stage system instead.
from artemis-odb-contrib.
So your positions are relative there?
from artemis-odb-contrib.
Example: there's some space ship which has some turret on it. Since the turret is big, imagine R2D2 on it. And let's say, that we have some comic balloon texts over characters, so R2D2 is yelling something like 101010111011110100011!!!
.
So there is a hierarchy of 4 entities:
space ship -> turret -> dron -> speech balloon
To render the last one you have to access 3 previous ones for position calculation due to position relativeness. Lil OOP-ish. Is this what you do/desire?
from artemis-odb-contrib.
Better done with BOX2D system. Out of scope.
from artemis-odb-contrib.
Related Issues (20)
- Cannot resolve 2.1.0 Dependency HOT 1
- Make AssetManager int based
- Logging API + Gdx logging implementation
- Fontmanager does not release memory properly.
- Isometric and Tiled HOT 3
- Feature: Debug long-term entity id issues. HOT 2
- Feature: Gif recorder plugin.
- Add plugin to event module.
- WIki for plugins
- Would you consider a pull request for a "Box2DPhysicsSystem" ? HOT 1
- Regression on debug plugin test.
- Can't get singleton components to work
- TiledMapManager fails to load a map with multiple tilesets HOT 1
- TiledMapManager crashes when loading a map with an objects layer HOT 1
- SingletonPlugin won't throw exception in strict mode if no system uses the component
- Singleton components do not deserialize with strict mode = false
- Upgrade to LibGDX 1.9.14 and odb 2.4.0
- Consider moving to Apache 2.0 license for clarity sake.
- Is it possible to change the keybind for the profiler plugin
- Single instance components seem to be ineffective
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artemis-odb-contrib.