swingame
swingame copied to clipboard
Adjust resource file locating code
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:
- Determine relative paths across project types
- Add an array of paths to check to sgResources.pas
- Use array in locating the path to the resources
- Test across projects, languages, and platforms