Search results

  1. Immortius

    AI Kinematic Movement

    1. I think you overestimate the movement system if you think it has enough information to calculate what input will take a character to a location. I think this isn't even possible - until the movement is actual calculated through the physics engine only estimations could be done. It doesn't...
  2. Immortius

    AI Kinematic Movement

    Ok, firstly the Kinematic Character Movement system is already a reasonably complex system with a clear scope. I would be happy exposing more information out of it (such as maintaining the current movement mode in a the CharacterMovementComponent), but would be loathe to shove a move to system...
  3. Immortius

    Archived Module Improvement Arc

    On module sandboxing, I will be rolling out a change to the checking of permissions shortly, so please report any issues encountered by modules. Under the new system, the check logic is: 1. If the permission has been globally allowed, the check passes. 2. Determine whether module code is in...
  4. Immortius

    Tweaking NUI

    So the main menu has now been replaced with a pure NUI main menu. Let me know of any issues. Towards the end there was some fiddling with exactly how size of a widget is calculated. The principal that a widget is given a space to draw in by its container still stands, but widgets now have...
  5. Immortius

    Suggested Optional or supported modules for a module

    I think you should just add this information in the description, since the support section doesn't have any functionality? Basically it is just a list of suggested modules that the user may wish to use with it. I do think "Supports" may be confusing, because a user may assume anything that...
  6. Immortius

    Terasology system of measurement

    A block is a cubic meter, which is 1000L. So that's convenient.
  7. Immortius

    Enforce usage of LF line endings

    The way git works for me is the files have crlf in my workspace, but that is transformed to lf on commit. My understanding is that is how git is intended to work? This may mess things up for me, I guess. Edit: I may be getting tired of living in a world where things working properly is...
  8. Immortius

    Dynamically creating blocks from prefabs

    I have thoughts but no time to implement them. But basically it would be much as you imagine - block definitions would become special prefabs, and most properties split out into components. Some properties would be renamed - such as grass, which actual enables a specific type of rendering...
  9. Immortius

    Dynamically creating blocks from prefabs

    Ok, one thing you need to know is there is an entity for each block type. This is used for sending bulk block load/unload events to when a chunk is loaded/unloaded. So that would be 113. It never has a Location or Block component, because it isn't a block. You shouldn't otherwise need to worry...
  10. Immortius

    Proposal: moving math stuff to an independent repository

    Ah, you've missed my intention. There would be no immutable implementation (or at least, not necessarily). The point of the const interface (bad name, perhaps ReadableVectorxx?) is not a guarantee that the vector will not change, but a way of specifying with a little rigor that the method you...
  11. Immortius

    Archived File endings

    Please don't cross post to the forum and git issues. Apparently Slick2D's PNGDecoder is much more performant than the awt handling, at the cost of not supporting more exotic options. As for supporting JPG... JPG is lossy, and size isn't that expensive? You wouldn't be saving any runtime size...
  12. Immortius

    Proposal: moving math stuff to an independent repository

    xkcd.com/927/ It is annoying that pretty much every gl framework also introduces its own vector types, which are embedded in their jar. Both Libgdx and Lwjgl, for instance. They're also typically somewhat sporadic in their feature set, since they're designed to solve specific issues for those...
  13. Immortius

    Block Selection

    Looks like it is on the right track to me. Not sure which Color implementation would be best though (this is a bit of a mess throughout the engine), I guess I'm thinking ultimately the NUI implementation. Note that nui's color has toHexString() so that saves you about 25 lines of code. Likewise...
  14. Immortius

    Block Selection

    Materials don't specify textures by color, the color is a modifier that is used instead or as well as a texture - and that is entirely shader dependent anyway. (Materials are shaders combined with parameters). I think having a ColorTexture class is a bad example of how to create one. You...
  15. Immortius

    Block Selection

    Shouldn't need this. You can just create a TextureData of the correct color and generate a Texture asset from it, or the color could be a parameter of the Material used to render the selection.
  16. Immortius

    Proposal: moving math stuff to an independent repository

    I partially agree with you. Vecmath is... not how I would design a math library. The public mutable members are not wonderful but I can see why it was done: v.x += 3; is syntactically better than anything you can do with methods. I'm happy with the classes being mutable (this is a performance...
  17. Immortius

    Archived File endings

    I assume you mean for assets? These are the supported file endings/types: .prefab - Prefab files (json) .ogg - Sounds and Music (or streaming and instant sounds) .shape - Block Shape (specialised json mesh format) .obj - Wavefront Mesh format .png - Textures .texinfo - Additional Texture info...
  18. Immortius

    Tweaking NUI

    Yeah, essentially this is one of the drivers for NUI. I had a go at moving the Inventory code into a module, but because the current UI uses direct OpenGL to render this would require modules direct access to lwjgl. Besides breaking encapsulation and making it harder to move away from lwjgl...
  19. Immortius

    Implementation Tasks

    Hmm... Ultimately what would be nice is to render a NUI element to a texture and then have an entity with MeshComponent using a billboard mesh + appropriate material using the texture, I think? Or alternatively allowing systems the opportunity to draw 2D elements into the world, once again...
  20. Immortius

    Tweaking NUI

    Sure, it would be interesting to see what features you are thinking of. I'ld suggest that hud elements should be identified by a SimpleUri. But at the same time, it is unlikely we will incorporate further updates to the old UI system, so keep that in mind (your work would be proof of concept and...
Top