Today I completed the setup UI for Abiathar Online by writing the manual "pick each file manually" setup path. In that mode, the resource type confirmation table from the automatic path is reused and given a "Pick" link in each filename cell. Each of those links creates a single-select Dropbox Chooser window. I also made the "Launch Editor" button appear on its own line so it doesn't create inconsistencies between the setup paths when the button for the chosen path is removed.
|
The aforementioned user interface elements, minus the giant "Choose your files" title |
I then started investigating JavaScript data processing. It appears that I'm going to have to get the data with an XMLHttpRequest and then get at its data with an ArrayBuffer. I do already have it grabbing the images from Dropbox using the Image class/thing. JavaScript seems to have typed arrays now, at least for certain widths of numbers, so that will help when loading levels.
No comments:
Post a Comment