Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust resource file locating code #19

Open
macite opened this issue Oct 14, 2013 · 0 comments
Open

Adjust resource file locating code #19

macite opened this issue Oct 14, 2013 · 0 comments

Comments

@macite
Copy link
Owner

macite commented Oct 14, 2013

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant