Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Integrate Fleks ECS into korge + example #472

Merged
merged 28 commits into from
Mar 14, 2022

Commits on Mar 9, 2022

  1. Add fleks ECS unchanged

    jobe-m committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    627f45a View commit details
    Browse the repository at this point in the history
  2. Adapt registering of systems in World

    Instantiation of generic classes is not possible in Kotlin
    multiplatform. Thus, instead of instantiating a generic class in the
    SystemService the system function gets a factory method for calling
    the constructor of the system.
    jobe-m committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    82938eb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4b2437e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    da21e7c View commit details
    Browse the repository at this point in the history
  5. Integrate Family creation

    First version which works.
    jobe-m committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    a550710 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e781ba7 View commit details
    Browse the repository at this point in the history
  7. Implement adding of component listener in world configuration

    The component listener will be added together with registering the
    component in the world configuration. That was done because when
    registering the component listener the base type of the component is
    needed. Without reflections that is not possible to detect it from the
    component listener template type. Thus, adding component and listener
    objects together is the most elegant workaround - I guess.
    jobe-m committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    1dba117 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8a5a763 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8034b1d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9cda2f6 View commit details
    Browse the repository at this point in the history
  11. wip

    jobe-m committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    af7d9f4 View commit details
    Browse the repository at this point in the history
  12. Update working example with enhanced spawner

    The spawner should be able to spawn objects which can spawn objects
    themselves. This is needed for the meteor object. It spawns fire trails.
    jobe-m committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    62fc79e View commit details
    Browse the repository at this point in the history
  13. Implemented spawning of meteorid objects

    - It is now possible to spawn objects which themselves spawn another
    objects.
    - Added variation of acceleration which makes the animation of the file
    trails looking more dynamic.
    jobe-m committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    e81c16c View commit details
    Browse the repository at this point in the history
  14. Implement dependency injection by type names

    In case of injection of multiple dependencies with the same type it is now
    possible to specify the type name on injection to the world configuration.
    When passing that dependency in a system or component listener than the
    type name can be given as an argument to Inject.dependency() function call.
    
    Updated the readme to reflect that injection of dependencies is possible
    by providing an optional type name as parameter together with the depencency
    object.
    jobe-m committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    2ee5235 View commit details
    Browse the repository at this point in the history
  15. Add rigidbody and destruct component and update systems

    Rigidbody and destruct components were added which are use to control
    movement and destruction of entities. For that a new system called
    DestructSystem was added. With it the destruction of an entity can
    triger creation of new objects like explosions, etc.
    Rigidbody component details will control how an entity is influenced
    by gravity, friction or damping. This still needs to be implemented yet
    in the MoveSystem.
    jobe-m committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    96f91a0 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    62bd709 View commit details
    Browse the repository at this point in the history
  17. My pixels against Putin

    jobe-m committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    e729b34 View commit details
    Browse the repository at this point in the history
  18. Move Fleks under korge-fleks and update fleks-ecs example code

    Source code for Fleks ECS was moved under korge-fleks to decouple it
    from the example code.
    Updated fleks-ecs example code with source comments.
    jobe-m committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    9f9339a View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2022

  1. Configuration menu
    Copy the full SHA
    fd8e169 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2022

  1. Fix exceptions in unit tests

    jobe-m committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    60fe985 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f84c7ea View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2022

  1. Configuration menu
    Copy the full SHA
    e2d1474 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2022

  1. Fix BitArray equal function and add test cases

    The equal function of BitArray was unsafe regarding comparing objects of
    different type. Added unit tests to avoid regression.
    jobe-m committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    19859d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    353b901 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    32216b0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a099ca9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f6c1349 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1aaa952 View commit details
    Browse the repository at this point in the history