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

Added OnFileStart signal to loader #705

Merged
merged 1 commit into from Apr 14, 2014

Conversation

ada-lovecraft
Copy link
Contributor

We've had a number of people in the channel ask for the ability to know when a file has started loading and to get the file names of said files.

Added the OnFileStart signal to do just that.

Demo: http://enigmatic-island-3997.herokuapp.com/

We've had a number of people in the channel ask for the ability to know when a file has started loading and to get the file names of said files.

Added the OnFileStart signal to do just that.
@Fishrock123
Copy link
Contributor

+1

@photonstorm
Copy link
Collaborator

Ok seems reasonable enough, let's add this - although I'll tweak the dispatch slightly to be more consistent.

photonstorm added a commit that referenced this pull request Apr 14, 2014
Added OnFileStart signal to loader
@photonstorm photonstorm merged commit 286882b into phaserjs:dev Apr 14, 2014
@clark-stevenson
Copy link
Contributor

Thanks! I found this useful when I wanted to load a JSON object in my preload() function, read it, then load a Lang file before create() was called.

That was probably possible before, but I did it with no questions with onFileLoad 💃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants