Skip to content

Conversion to independent Mini-Libraries #26

Open

Description

@API-Beast

In it's current state Springbok is a framework with some pretty heavy design, that allows us to write some pretty nifty code, but it's not really a all that good idea if you don't have a lot of developers to make sure everything works well together, and it too makes things complexer than they should be.

So here is the plan:

  • SBL_Core.h/.cpp: Core library, the other libraries depend on this one, needs to find a good balance between weightlessness and functionality. I think we need some UTF8 decoding and some containers like Vec2 in here.
  • SBL_OpenGL.h/.cpp: A core library for loading textures and some other OpenGL related functionality.
  • SBL_SpriteRenderer.h/.cpp: A library that provides functions for batch drawing rectangles.
  • SBL_Angle.h/.cpp
  • SBL_XINI.h/.cpp
  • SBL_AudioEngine.h/.cpp

Implications:

  • We need to say goodbye to the resource manager. That just doesn't fit into this design. If there is enough functionality a extra library for path resolution might be appropriate.
  • Generally classes who's only function was to improve readability need to go.

Activity

  1. API-Beast commented on Apr 11, 2015

    @API-Beast
    OwnerAuthor

    The Readme should probably updated to give pointers for existing solutions, that Springbok won't provide for, for example NanoVG for advanced 2D drawing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions