Well I know that this can be a little stupid. Although most osu! functions can be implemented in HTML5 and JS, some cannot (like auto-extracting of .osz files? Kidding). But do you think it's important to do build this up?
I think yes...here are some advantages of this. They are my own opinions...so feel free to point some wrong parts of this post.
osu! currently supports Windows and Mac. Hence...Linux users and Chromebook owners are left out of the party.
But HTML5 is a big platform - it supports every desktop platform there, and everyone can enjoy it. No cross-platform problems...no more custom builds, no more Wine, no more emulation...etc. It means - hassle free playing on every platform.
Next, you don't depend much on stuffs. currently osu! depends on C# a.k.a. Mono or .NET. So osu! can't live without it. JS is a different language. You write it once. Package it to a Chrome package? Your choice. Zip it up and share it for non-Chrome users? No problem. It provides a possible solution for portable osu!.
It's also easy enough to write. And all the needed APIs are provided out-of-the-box. For drawing the notes we can use Canvas. osu!Bancho? HTML POST requests can be good enough. Chrome even provides more APIs needed for communicating with osu! servers.
But some drawbacks too...
Some essential functions aren't ready for HTML5. You can't extract .osz files. It's the same for skin packs. You can't scan directories for new maps or skins. You can't save screenshots quickly nor saving replays directly. It's all because of the limitations of HTML5 as a 'too publicly available' language. (Some of them can be implemented with Chrome's special APIs, yes, some only.
The performance will also struggle. Check out some Canvas and WebGL demos on the web and you will know. You must be using a pretty powerful computer if you have more than 100 fps for Canvas.
Lastly you can't have perfect hardware support. Touchscreen is still okay (as we can use touch events), but tell me if you can use a tablet on a HTML5 game. (Give me the link - I'm interested to know too )
So that's all. I'm setting up this post for asking opinions from all of you
P/s: Anyone here using Chromebooks?
I think yes...here are some advantages of this. They are my own opinions...so feel free to point some wrong parts of this post.
osu! currently supports Windows and Mac. Hence...Linux users and Chromebook owners are left out of the party.
But HTML5 is a big platform - it supports every desktop platform there, and everyone can enjoy it. No cross-platform problems...no more custom builds, no more Wine, no more emulation...etc. It means - hassle free playing on every platform.
Next, you don't depend much on stuffs. currently osu! depends on C# a.k.a. Mono or .NET. So osu! can't live without it. JS is a different language. You write it once. Package it to a Chrome package? Your choice. Zip it up and share it for non-Chrome users? No problem. It provides a possible solution for portable osu!.
It's also easy enough to write. And all the needed APIs are provided out-of-the-box. For drawing the notes we can use Canvas. osu!Bancho? HTML POST requests can be good enough. Chrome even provides more APIs needed for communicating with osu! servers.
But some drawbacks too...
Some essential functions aren't ready for HTML5. You can't extract .osz files. It's the same for skin packs. You can't scan directories for new maps or skins. You can't save screenshots quickly nor saving replays directly. It's all because of the limitations of HTML5 as a 'too publicly available' language. (Some of them can be implemented with Chrome's special APIs, yes, some only.
The performance will also struggle. Check out some Canvas and WebGL demos on the web and you will know. You must be using a pretty powerful computer if you have more than 100 fps for Canvas.
Lastly you can't have perfect hardware support. Touchscreen is still okay (as we can use touch events), but tell me if you can use a tablet on a HTML5 game. (Give me the link - I'm interested to know too )
So that's all. I'm setting up this post for asking opinions from all of you
P/s: Anyone here using Chromebooks?