Search results

  1. synopia

    Implementation Behavior Trees

    Ok, instead of much text, I just post a video of what I am currently playing with: The minions are following their behavior trees, you can see in the video, too. Of course there are many bugs :-D
  2. synopia

    Implementation Behavior Trees

    1. Integration with component system. For now, the nodes are no entities at all - just simple objects. In fact, there are two kinds of trees and nodes: actual nodes that compose the BT and is shared for all entities nodes required at runtime of the tree to hold state information (tasks) for...
  3. synopia

    Implementation Behavior Trees

    Okay, here is a short overview to behavior trees (BT). First, look at the image I attached to this post. You will see the current behavior tree for minions. Its very basic and simply makes any minion to move to the local player. The root box on top is the starting node of the BT. Its a...
  4. synopia

    Implementation Behavior Trees

    Name: Behavior Trees Summary: API + Implementation for stable and optimized behavior trees. Scope: Engine / Mod Current Goal: Implement the core elements of a behavior tree and the interpreter. Phase: Design / Implementation Curator: synopia Related: Pathfinding, Minions After coding for the...
  5. synopia

    Tweaking Pathfinding

    So, weekend update: Added knight, queen and rook to LightAndShadowResource. Have a look into the attached screenshot. Fixed a lot of bugs and issues. Tuned the systems (now there is move system (to make minions move one block) and path system (to make minions move along a path). Both systems...
  6. synopia

    Terasology Code Style Conventions

    I would suggest to remove the name hiding check from checkstyle. Otherwise, following code is not allowed: class Foo { private int xyz; public Foo( int xyz ) { this.xyz = xyz; } } Maybe there is an option, to only allow name hiding in constructors.
  7. synopia

    Tweaking Pathfinding

    :whistle: Made some progress: Got glasz new models working ingame. Whatever he changed, the models are working now. If you want to include those models into your module, look into my asset folder. Speaking of assets, probably the most important is the prefab for red pawn. Here you can also...
  8. synopia

    Tweaking Pathfinding

    Okay, here is a short update: Code compiles in multiplayer/restructure branch and all tests are green again. I did not started Terasology with the mod, probably nothing works ;-) Maze: In the old code there was a maze generator wrapped into a chunk generator. I think, its completely the...
  9. synopia

    Tweaking Pathfinding

    Great, thanks a lot Cervator! Yesterday I looked into the multiplayer stuff. Amazing work Immortius and all who made this possible ;-) I will fix the mod to work in Jenkins of course. Currently I have some tweaks in my head, to improve the usage of the pathfinder, especially concerning the...
  10. synopia

    Tweaking Pathfinding

    Ok, so its an implementation of the HPA* algorithm ;) But in my case, the HPA* is almost exactly the same code as for A* (look at HAStar and AStar). The only important difference is in the expand method, which determines the (walkable) neighbors of a given block. For normal A* you simply...
  11. synopia

    Tweaking Pathfinding

    MazeGenerator: Yes, its auto generated. After I made the video I included an even better version of a mazegen. Currently its part of the pathfinding mod, but may be moved to any place. Since its a simple chunk generator, one can add a maze to their own map generator (at least this should work)...
  12. synopia

    Tweaking Pathfinding

    Okay, made some changes to let some minions run along paths through a maze: Dont wonder, why they are actually running backwards or jumping at each corner. Its just because they can :-P PR follows after I fixed some issues. Current version is on my github
  13. synopia

    Tweaking Pathfinding

    Ok, just some status updates: Due to many, many unit tests, I found and fixed some really nasty bugs. With help of YourKit Profiler I tweaked the code for low cpu usage and, if possible, to low memory consumption. The chunk preparation is very fast (in fact, faster then I expected). On my...
  14. synopia

    synopia

    Name: synopia Social: http://github.com/synopia https://www.facebook.com/synopia https://twitter.com/synopia http://www.java-forum.org/members/90.html From: Dresden/Germany Skills / Tools: Developer since... uhm.. too long ;-) primarily Java & Ruby Found via...
  15. synopia

    Tweaking Pathfinding

    Cervator: I just pushed a Java6 fix. ;-)
  16. synopia

    Tweaking Pathfinding

    Name: Pathfinding Summary: API and algorithms to find paths between two blocks. Scope: Engine Current Goal: Implement a proof of concept and develop a nice API for it. Phase: Implementation Curator: synopia Related: wiki Repository: https://github.com/synopia/Terasology/tree/pathfinder2 Try...
Top