Skip to content

Improved Asset Formats #55

@droc101

Description

@droc101

Once Luna is merged and we are working and we are working on the GAME sdk, we should make the following changes to the asset formats

  • Outer asset container
    • Magic bytes ("GAME") or something
    • Container Version field
    • Asset type
    • Asset type version field
    • size_t for sizes
  • Model Asset
    • List of materials used in model, with each skin referencing from the list
    • Collision Model (optional)
    • Vertex Colors
  • Texture Asset
    • Repeats
    • Filtered
    • Has Mipmaps
  • Shader Asset
    • Merge GL shader, VK vert, and VK frag into one type
    • Header
      • API type (VK or GL)
      • Shader type (Vert, Frag, Etc.)
    • GLSL block length
    • GLSL block
    • SPIRV block length
    • SPIRV block
      • Only present on GL
  • Sound/Music Asset
    • Remove useless 4 uint32 header
    • SDL can play WAV as music too, so let's eliminate the "gmus" MP3 container in favor of only using WAV.
  • Font Asset
    • fonedit
  • Consistent and/or dynamic size asset name references
  • Param stored using only the space it needs
  • Standardize color to always be RGBA
  • Document binary formats

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-coreCore engine related issueenhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions