Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 20 20:22
    bryanbrunt assigned #655
  • May 20 20:22
    bryanbrunt opened #655
  • May 20 20:22
    bryanbrunt labeled #655
  • May 17 03:03
    BambooBandit edited #654
  • May 17 03:02
    BambooBandit edited #654
  • May 13 08:46
    BambooBandit edited #654
  • May 13 08:46
    BambooBandit edited #654
  • May 13 07:49
    BambooBandit edited #654
  • May 13 07:37
    BambooBandit edited #654
  • May 13 06:57
    BambooBandit edited #654
  • May 13 06:54
    BambooBandit labeled #654
  • May 13 06:54
    BambooBandit assigned #654
  • May 13 06:54
    BambooBandit opened #654
  • Apr 28 02:03
    xhaimxd commented #653
  • Apr 27 04:57
    xhaimxd labeled #653
  • Apr 27 04:57
    xhaimxd opened #653
  • Apr 21 03:06
    cpbeto labeled #652
  • Apr 21 03:06
    cpbeto opened #652
  • Jan 11 23:38
    bryanbrunt labeled #651
  • Jan 11 23:38
    bryanbrunt opened #651
Oxydeme_OxyZStudio
@OxydemeFr_twitter
Spended
schosin
@schosin
Write a class "InitSystem extends BaseSystem", add it to the config with(new InitSystem()) and inside that overwrite void initialize()
Oxydeme_OxyZStudio
@OxydemeFr_twitter
In my GameWorld, before creating the World itself I should do so right?
schosin
@schosin
inside that method, call world.createEntity() and all the code within your loadAthmosphere method
no need to initialize the entity itself
Oxydeme_OxyZStudio
@OxydemeFr_twitter
The loadAthmosphere stuff belong to a "factory" class
So gonna need to reorganize all
schosin
@schosin
Personally I have something similar, but all those factory classes extends BaseSystem (or rather PassiveSystem) and just use the inherited world
Oxydeme_OxyZStudio
@OxydemeFr_twitter
Don't have my hands on computer right now, but when I do, gonna apply things you said
schosin
@schosin
Let me see if I can find a simple example for creating entities
Oxydeme_OxyZStudio
@OxydemeFr_twitter
That would be awesome
Oxydeme_OxyZStudio
@OxydemeFr_twitter
May you answer a condensed of what you said to my SO question?
I really appreciated your help
schosin
@schosin
Hope that helps
Oxydeme_OxyZStudio
@OxydemeFr_twitter
Thanks a lot, gonna maybe-not sure tho-try this in the evening when I'll have time for it,
Thanks for your answer @schosin
Oxydeme_OxyZStudio
@OxydemeFr_twitter
Finally gonna try it now
Oxydeme_OxyZStudio
@OxydemeFr_twitter
I applyed what you said, now I got something like not in its bounds
Created an AthmosphereSystem, created it's components Model and Bullet components, created it's entity as said and tried to implement it,
Gonna be back soon with code example
Oxydeme_OxyZStudio
@OxydemeFr_twitter
How to properly create an entity, without world?
does it always need a world?
Oxydeme_OxyZStudio
@OxydemeFr_twitter
@schosin
I readed, readed and re readed your gist, I would need if you mind, some more explanations,
I can't seem to find a way to concretely do things, I tryed following your example, and runned into problems, I may come back to the Artemis wiki for a good read again :D
Oxydeme_OxyZStudio
@OxydemeFr_twitter
An example of component,
A example of system,
And that would be only what I would need
On the wiki there is one but simply printing a message onto logs
schosin
@schosin
I still suggest you look at something like https://github.com/DaanVanYperen/odb-naturally-selected-2d (or other of his games). Just check it out, run it and try looking at the code part by part (how does rendering work? how does user input move the character? stuff like that)
they basically show most things I just talked about
Oxydeme_OxyZStudio
@OxydemeFr_twitter
Been diving in DVY Github yesterday looking forward to understand everything gonna dig more in it
And each 2-3 days I come back to Artemis wiki :D
Oxydeme_OxyZStudio
@OxydemeFr_twitter
Saw that he added Physical system
And Gravity system, maybe I could get rid of Bullet if I take a closer look
Oxydeme_OxyZStudio
@OxydemeFr_twitter
That's suddenly comes in my mind, guys is Artemis odb ready for 3D actually or only for 2D?
schosin
@schosin
Doesn't matter, artemis-odb doesn't has anything to do with graphics (or input, networking etc. for that matter)
Oxydeme_OxyZStudio
@OxydemeFr_twitter
I readed somewhere Dan saying that Artemis would be ready for 3D when day to day project would need, in some sort of error report, can't put the finger on it,
That's why I'm asking :D
And yeah, since I could by the past create 3D entities with Ashley. And Artemis and Ashley are sensibly the same, I should be able to render 3D using Artemis components
Oxydeme_OxyZStudio
@OxydemeFr_twitter
Anyone may have a clue
?
Oxydeme_OxyZStudio
@OxydemeFr_twitter
Really need help right now, can't find a way to render my entities on screen, if needed I could upload my project somewhere
rabbitfr
@rabbitfr
Hi guys
Any luck configuring a gradle build for fluid plugin with a kotlin setup ?
classes are generated in components/build/classes/kotlin and not components/build/classes/java
Gijs-Jan Roelofs
@gjroelofs
@junkdog @DaanVanYperen I'm trying to setup a community around ECS development that goes across frameworks - a place to for people starting out, but also framework developers to talk about what is ECS and how to help evolve it. (and also showcase what people are doing with ECS). If you're interested: https://discord.gg/F6jKRJtu
djradon
@djradon:matrix.org
[m]
@gjroelofs: Did you ever set up an ECS dev community? The discord invite link has expired.
Marcus Lagerström
@ghroot
Is there a concept of transient entities built in somehow? I've tried introducing a Transient component and using it to exclude on it when serializing the world, but any fields with @EntityId referencing a "transient entity" will end up pulling it into the serialization process.