Slashdot Mirror


Game Development in Mozilla

camworld writes "O'ReillyNet has a short article from the Alphanumerica guys about building a classic arcade game using Mozilla: In a way, this is like connecting a DSL line to a Commodore 64 computer. We're working on rewriting an arcade game from the early 80s using Mozilla technologies. By combining two different technologies from two very different times, we hope to be able to learn something new from in a new way."

8 of 89 comments (clear)

  1. Re:Be careful... by PD · · Score: 4

    "As farAs far as I know, Javascript 1.5 has no capabilities to directly access the information on your harddrive, other than saving cookies and possibly files. as I know, Javascript 1.5 has no capabilities to directly access the information on your harddrive, other than saving cookies and possibly files."

    Javascript can do file I/O in Mozilla. Take a look at this link

  2. Original Pac-Man Code by AtariDatacenter · · Score: 4
    I'm wondering how close they are coming towards the original programming structures of Pac-Man. (Yes, I know. But for those who don't, it was programmed in assembler for the Z-80 processor. I have the arcade game.) I've seen a number of vintage game programming books which detail in various ways how the game was programmed. (The different tables and what not.) I'm a little surprised that someone hasn't disassembled and documented the game's code.

    Question: Will it still have the original cheat where if you fit into the right side of the "T" (which is above where you start) and face up while no ghosts are looking, you can stay there forever without getting caught?

  3. Re:Why this is "a good thing" by mikpos · · Score: 5

    I don't see it as a good thing. There is still no decent graphical browser for X Windows. Our new poster boy, Mozilla, however, is not only a browser, but a newsgroup client, an e-mail client, a replacement for MAME, and, hell, why not an entire OS as well? It's like they're in competition with the Emacs people or something: see who can create the most complete yet unusable operating system that requires another operating system to run.

    The whole idea is a little strange, though. Having cross-platform data (HTML) apparently wasn't good enough; now we need cross-platform programs too. Oh, pretty well the whole thing has to be rendered in software? Good! Just as long as every single pixel looks exactly the same in Windows as it does in Linux. That we can be sure that it will not look, feel, or act like any other program on any other platform, a sure-fire way to confuse our customers to no end. Then again, who needs to use programs on different platforms when they can run programs running on this new OS called Mozilla? I can only hope that some day Emacs will be ported to Mozilla, so that we can run an OS inside an OS inside an OS for no apparent reason.

    Anyway I'm done bitching. I've got fed up with waiting for a decent, free web browser to appear; it's apparently never going to happen (Konqueror aside; I don't like KDE, OK?), so I've started the arduous task of writing my own. Blah. Mozilla looked so promising at the start, too. At around M8, it was the coolest thing on Earth.

  4. Thus it began by JasonChu · · Score: 5

    This is certainly an interesting project: Not because it's Mozilla, not because its cross-platform, not because Pac-Man kicks ass (I'd rather it be good ol' Pong, myself), but because this has been what a number of major companies have been looking forward to, or fearing depending on who they are and what they have.

    This is something that Microsoft realized too late,and has only recently recovered from. What is it? The movement towards web browsers as a platform. MS passed off the Internet has a fad and only later realized that the future was moving away from the desktop. You don't actually think that IE was "integrated" for added value you, do you? Of course not: it's only there to ensure that their desktop OS marketshare continues to their browser marketshare as they see that this is the platform of the future.

    Sun couldn't be happier that the desktop is going, they want all the programs to be hosted on Sun servers like the good ol' mainframe days. However, they are not a major player in this area (HotJava was never designed as a end user browser, and their servers don't care which of the other browsers are being used). Netscape had the lead until MS was able to buy it back, but their merger with AOL could lead to Bad Things as this continues.

    Perhaps I'm letting my bias interfere when I assume that Bad Things will happen out of necessity,just because this is AOL, but you can probably see why I feel that way. Chances are that you've probably logged on to AOL at least once, maybe at a relatives house, and been spammed by all those annoying popups. Just imagine going through that every time you want to finish a document under a deadline. That's just one obvious problem that I can think of, but let your mind wander . . .

    This is the next frontier, and some have seen it coming for quite some time . . .

  5. Why this is "a good thing" by twjordan · · Score: 5
    The main reason for doing this and a good reason at that is to demonstrate to all those who haven't quite grasped it yet that mozilla is not just a browser. I have spent time trying to talk about the great things you can do with XUL with people and all they talk abotu is how we don;t need another languages to skin with, newsflash, XUL is much much much more than a skinning language.

    I guarantee that in the coming weeks and months, you will begin to see more and more mozilla based applications come out. I would say that a good portion of what can be done on the desktop can be done in mozilla.

    That said, any project that forces people to recognize that what we have here trancends the realm of browser is "a good thing."

    Oh yeah, all it takes is a ZillaGL module and you could play quake too!

    Tony

  6. Be careful... by PD · · Score: 4

    Micro$oft Word, Excel, and Outlook are very powerful because they contain scripting languages. That also makes them dangerous. What safeguards are there so that the ability to make a video game out of Mozilla can't be misused to format a million hard drives by remote control?

    Anyway, it's not just Mozilla that could be powerful enough to make a video game. Tcl is a language that was designed to be embedded into programs as a scripting language. It's just not that remarkable that Mozilla has a scripting language powerful enough to build whatever you wanted.

  7. meta-computing by anticypher · · Score: 4

    This is cool. Bloatware for the hellofit.

    These programmers are building an entire computing environment (XML in a browser) which runs inside of another computing environment (classic OS), and then re-writing a game to show how they can now work entirely inside of Mozilla and never have to leave the browser environment.

    This is yet another example of how the computer, the OS, the applications, and the network are all starting to become interchangeable. It goes one step closer to Bill Gates assertion that the browser belongs inside the OS, but it also shows that a sufficiently bloated browser can replace the OS.

    Now they just have to write some compilers and libraries in XML, and we'll never have to leave our browser environments again. Ooops, that's emacs. Sorry. :-)

    the AC

    --
    Hemos is like...sci-fi fans;he thinks technology is cool, but he hasn't bothered to understand the science it's based on
  8. Re:Just goes to show.... by carlfish · · Score: 5

    "This just proves that Mozilla is too bloated as well."

    When the Mozilla project started, the requirements were that the resulting software be highly portable, compliant with a whole slew of web standards, and be a superset of the functionality of Netscape Communicator. Thus, it was doomed to be bloated before it even began. It was doomed to be bloated because that's what people WANTED it to be.

    To quote JWZ (although he was referring to the pre-opensource Mozilla), "Mozilla is big because your needs are big. Your needs are big because the Internet is big. There are lots of small, lean web browsers out there that, incidentally, do almost nothing useful. If that's what you need, you've got options..."

    Mozilla's solution to its own bloat-by-design was, IMHO, rather elegant. It took stock of the what it was required to implement, and then used those technologies to build other components. This isn't anything particularly new, of course emacs invents itself from its lisp interpreter.

    To fulfil its goal of standards compliance, Mozilla had to understand HTML, XML, Javascript, DOM and CSS. To maintain a suite of applications (browser, mail/news, html authoring tool) across widely differing platforms, it needed its own flexible, cross-platform UI and Networking libraries.

    So Mozilla's self-reinvention as a platform, rather than an application was the result of necessity, and some pretty good thinking from the designers rather than just bloat for the sake of bloat. It was actually the most efficient way that it could perform the task it had been given.

    Charles Miller
    --

    --
    The more I learn about the Internet, the more amazed I am that it works at all.