@Neo: I think you missed the part where html5 does not replace javascript.
Sorry but I don't share source code for these kinds of projectsDon't worry about it, I totally understand.
A C# XNA game structure will probably not fit with a JavaScript game structure. JavaScript and C# are fundamentally different languages and deserve very different program models. But I won't bother getting into that. If you can't provide a prototype, there's no point in you even seeing the source code to osu!. And honestly, I doubt you can get a prototype running.Clemaister wrote:
Of course, it'll be easier and faster if we had the source of osu! to have an idea more clear of structuring the program, but we know that a source is not a thing easy to give so...
It is currently impossible to stream audio (without Flash) (1) with reliable offsets (using <audio>/<embed>/etc.) or (2) with a small buffer size (using Mozilla's API).But Javascript could call a flash containing the audio.
Yes; audio cues could work. That still doesn't let you sync hit sounds, though; they'll sound 100ms off, which would be horrible for streams.peppy wrote:
I can't say I've tried myself, but audio sync seems relatively possible based on http://www.thewildernessdowntown.com/
Please check Balldroppings, you'll see that's possible.strager wrote:
Yes; audio cues could work. That still doesn't let you sync hit sounds, though; they'll sound 100ms off, which would be horrible for streams.peppy wrote:
I can't say I've tried myself, but audio sync seems relatively possible based on http://www.thewildernessdowntown.com/
This, andMetalMario201 wrote:
If you think this is going to be a good choice for low-spec machines, think again.
It might be possible to change the offsets of the music and the hitsounds amirite?strager wrote:
Yes; audio cues could work. That still doesn't let you sync hit sounds, though; they'll sound 100ms off, which would be horrible for streams.
That uses Flash.Clemaister wrote:
Please check Balldroppings, you'll see that's possible.
Yes it doesstrager wrote:
That uses Flash.Clemaister wrote:
Please check Balldroppings, you'll see that's possible.
Neo Adonis wrote:
I've seen your work, and for a week, I think it's good.
Right now the latest osu file is downloaded each time (from the "Grab the latest osu" link on osu website). I already coded the part which reads osz files, but it's not in use right now. The problem is that our server is free and is very limited. Thus we can't leave files over 2-4Mb on the server. And osz files are often bigger (mp3 storyboard).Neo Adonis wrote:
You've done it well at reading .osz files! I've compared with the song, and your work at translating data is excellent! Tip: if you're downloading constantly the latest file, don't do it. You'll be wasting bandwidth. Else, download and upload to your server the file, let's say, every day or week. Just in case...
Drawing circles is much faster than using images And it's lightweight.Neo Adonis wrote:
About the hit circles, why don't you try to use the sprites instead of circle drawing? The same with numbers. I'll search how to make color blend in canvas. If it's not possible, I'll say you. Or, if you can make it server-side, try coloring sprites using plugins (GD or ImageMagick if you're using PHP) and return the colored sprites.
Neo Adonis wrote:
Now only I can add the following: keep it up!
And i'm saying it's therefore horribly wrong.TheCameleon wrote:
Fo now, we just use the full screen size
You are downloading too many maps at once. Lay off for a bit.This is what appends when trying to get osz files :/
I've been trying to say this all along.peppy wrote:
Using flash is a bad direction. If you use flash for the music, you should use flash for everything, as it will handle better.
<audio> supports timing cues, IIRC, which may fit what you (think you) need.TheCameleon wrote:
Flash is the only way to get the playing time ;) If I could I wouldn't use it.
The main problem is that right now firefox's <audio> doesn't read mp3 (only ogg - which isn't much used in beatmpaps). And firefox is one of the main <canvas>-able browser. That wouldn't be nice to make users use Chrome only for that.strager wrote:
I've been trying to say this all along.peppy wrote:
Using flash is a bad direction. If you use flash for the music, you should use flash for everything, as it will handle better.<audio> supports timing cues, IIRC, which may fit what you (think you) need.TheCameleon wrote:
Flash is the only way to get the playing time If I could I wouldn't use it.