Repository navigation
Release v6.5.0 - #58
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A window loads a folder named
assetswhile its loading screen shows, without the folder being passed to its constructor:new Window(480, 360)is enough. An assets folder that is passed but does not exist now gets a warning instead of being skipped in silence.The images, sounds and fonts loaded in advance are now also found again when a sprite uses them. When the assets folder was on the classpath, they were stored under a different path than the one a sprite asks for, so each was loaded a second time on first use, in the middle of the game.
An assets folder inside a jar is now loaded in advance too, so a project that was packaged and shared starts with its assets ready.
In debug mode, each image, sound or font that is loaded only once the project is running is printed, together with the folder to put it in, so it can be loaded while the loading screen shows instead of in the middle of the game.
Compatibility artifacts and catalogs are prepared for
6.5.0. Before merging, review the browser policy and synchronizeopenpatch/online-idefrom this release branch:Run the browser compatibility tests and commit and push the browser updates before merging this PR.