• Advertisement
  • 08/17/17 05:10 PM
    Sign in to follow this  

    DynaMix Polymorphism Library

    News

    GameDev.net member @Bleys has released a C++ library that may be useful for game developers.

    Called DynaMix, the library:

    Quote

     

    allows you to compose and modify polymorphic objects at run time. This has proven to be rather useful in gameplay programming. Compared to more traditional ways to write gameplay, like scripting, it has some benefits (well, and some drawbacks).

    • It's C++ so it usually is at least a bit faster (and in the cases that I know of a lot faster) and less power consuming than scripts
    • You can reduce code complexity when you don't have a C++<->scripting language binding layer.
    • You can reuse utility code between the core and gameplay subsystems (instead of having to rewrite it in the scripting language.
    • Hotswapping is supported relatively easily achievable
    • Still, it's C++ so I guess it's a bit harder to write, and impossible to delegate to game-designers and other non-programmers

    Because of this it has found a niche of sorts in mobile games, where the benefits from the performance and smaller power consumption outweigh the fact that the gameplay code is strictly programmer country (whereas desktop/console developers, might be less willing to pay this price)

     

    You can access the repository at https://github.com/iboB/dynamix and documentation at https://ibob.github.io/dynamix/.

    Learn more from the thread:

    .



      Report Story
    Sign in to follow this  


    User Feedback


    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now


  • Advertisement