by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 24 21:43
    genaray edited #613
  • Sep 24 21:36
    genaray edited #613
  • Sep 24 21:34
    genaray edited #613
  • Sep 24 21:34
    genaray labeled #613
  • Sep 24 21:34
    genaray opened #613
  • Sep 24 15:56
    genaray edited #612
  • Sep 22 11:43
    genaray edited #612
  • Sep 20 04:27
    qwbarch closed #611
  • Sep 20 04:27
    qwbarch commented #611
  • Sep 17 20:35
    genaray labeled #612
  • Sep 17 20:35
    genaray opened #612
  • Sep 16 18:23
    genaray commented #611
  • Sep 16 17:54
    qwbarch commented #611
  • Sep 16 07:01
    qwbarch commented #611
  • Sep 16 03:40
    qwbarch labeled #611
  • Sep 16 03:40
    qwbarch opened #611
  • Sep 15 15:09
    genaray commented #610
  • Sep 09 16:46
    exuvo commented #608
  • Sep 09 16:23
    exuvo commented #610
  • Sep 09 16:22
    exuvo commented #610
schosin
@schosin
If you want some examples you can look at repositories of @DaanVanYperen as well as his artemis-odb-contrib for helper classes
Oxydeme_OxyZStudio
@OxydemeFr_twitter
Already looked there, thing is that I don't really find a way to manage
Thanks for the sounded time
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