Skip to content

Adjust resource file locating code #19

Description

@macite

Debug builds could be sped up by not having to copy resources into the bin folder.

To achieve this SwinGame would need to attempt to locate the resources in the project's directory.

Challenges

  • Needs to be a relative path
  • This is different across platforms
  • This is different across project templates

It is always consistent so it should be achievable and will simplify the building of SwinGame projects as the copy step can be omitted in debug builds.

Actions required:

  1. Determine relative paths across project types
  2. Add an array of paths to check to sgResources.pas
  3. Use array in locating the path to the resources
  4. Test across projects, languages, and platforms

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions