| Firefox sound vs sound reasoning. |
[Mar. 11th, 2013|03:20 am]
StevenRoy
|
Regarding my experiments with generated sound in JavaScript, I'm officially declaring them a failure, at least for now. HTML5 still seems like a good platform for programming simple games, but I'll be using an embedded Java applet for sound. (Of course, if I'm going to do that, I might as well just abandon HTML5 entirely and program the whole thing in Java, right?)
Mozilla's Audio Data API, in addition to being proprietary (which I actually don't mind), is also not working correctly in current Firefox versions (it actually never worked the way I wanted it to), and it's apparently also already deprecated, despite not having anything good to replace it with yet!
(There is, apparently, a new standard that they're supposedly considering; I even found the specs for it, but the whole thing reads like the ramblings of an Eastern European mental patient who's halfway through his first month of an "English as a third language for mental patients" night school course. My rule is: If I don't understand it, I'm not using it!)
---
( During my experiments, I began thinking up a list of criteria for what I would consider a good sound API...Collapse )
With these criteria in mind, a functional API pretty much designs itself. Still, I'll consider typing up a detailed specification later, if anyone seems interested in it. (Even though I don't expect much to come of it!)
(In Firefox's defense, it's possible to do some nifty things with the sound functions provided; it just can't be used adequately for games or any application where one needs to minimize lag.) |
|
|
| New standards that make things interesting! |
[Jun. 22nd, 2012|04:52 am]
StevenRoy
|
So it's apparently becoming possible for JavaScript in web browsers to enter full-screen mode, capture mouse motion (instead of just position), and even read gamepads.
I'd still worry about JavaScript's performance compared to more solid-typed languages like Java... but still...
This... changes... everything! (Sort of.)
...
A long time ago, I had an idea for a game, an arcade-style space shooter that would've been a sequel to "The Relentless Invader". I had developed some interesting VGA coloring effects for use in it, and written some cool music for it, but it never really got into the actual design stage at all. I had a couple of ideas but couldn't really get either of them to seem like they would make a good game, so I eventually abandoned the whole thing.
But now I'm thinking about reviving the project, using elements from a different game that I had nearly finished but never released. And now I'm thinking of doing it all in JavaScript. Because I apparently can now! (Not 100% sure about that... but I'm even less sure about "should", especially considering all the other things I could be working on instead!) |
|
|
| Java Platform API documentation, StevenRoy style |
[Mar. 28th, 2009|08:31 pm]
StevenRoy
|
Hey, Java programmers! Beta-test this: Java Platform API documentation, StevenRoy style
It should be fairly self-explanatory, especially to anyone who's perused this documentation before. The part I modified, of course, is the navigation frame on the left; the rest is the same ol' documentation loaded directly from Sun's site. (Even though this causes "Access Denied" errors every time one of those pages tries to set the window's title. Working around this by mirroring the entire documentation archive is not an option.)
I'm planning to add a search function at some point in the future.
Bring on the critique!
(By the way, this is a great example of what happens when I program a tool for myself to make my own programming tasks easier, and then later suddenly realize, "Hey, this could be useful for a lot of people! I could fix it up and share it!") |
|
|
| navigation |
| [ |
viewing |
| |
most recent entries |
] |
| |
|
|