Wiimote d-pad works in Javascript or Flash games!

Discussion in 'Wii - Console and Game Discussions' started by hey_suburbia, Dec 27, 2006.

  1. hey_suburbia
    OP

    hey_suburbia Do The Lizard Bop

    Member
    560
    22
    Apr 24, 2004
    United States
    Philadelphia, PA
  2. hey_suburbia
    OP

    hey_suburbia Do The Lizard Bop

    Member
    560
    22
    Apr 24, 2004
    United States
    Philadelphia, PA
    This works really well, I'm in the middle of making/re-creating a sidescroller. Flash/javascript people should check this out.
     
  3. shaunj66

    shaunj66 Administrator

    Administrator
    10,024
    1,638
    Oct 24, 2002
    United Kingdom
    South England
    Someone aughta make a Java NES emulator (that uses hosted ROM images - homebrew of course!) with support for these keys! [​IMG]
     
  4. Monkey01

    Monkey01 GBAtemp Advanced Fan

    Member
    586
    0
    Aug 27, 2006
    Netherlands
    The Netherlands
    Should be made in Flash then, but as flash is vector based and such, I don't know how possible/hard this will be...
     
  5. Helmut

    Helmut GBAtemp Regular

    Member
    263
    0
    Aug 13, 2003
    France
    That's quite impossible since Flash is made of Action Script, which with you can only script flash control. It's not a programming language.
     
  6. Vater Unser

    Vater Unser GBAtemp Addict

    Member
    2,184
    0
    Oct 28, 2004
    Gambia, The
    Pen Island
    it does support Javascript, though

    people who are registered at digg should digg that story, so it'll be brought to the attention of some web designers and flash game makers [​IMG]
     
  7. shaunj66

    shaunj66 Administrator

    Administrator
    10,024
    1,638
    Oct 24, 2002
    United Kingdom
    South England
    I heard the Wii browser does handle javascript - and handles it extremely well, though there are some limitations/missing features since Nintendo were extremely cautious about it in case it could be used to exploit the Wii. [​IMG]
     
  8. imgod22222

    imgod22222 GBAtemp's Original No-faced Member

    Member
    1,555
    0
    Jul 5, 2006
    United States
    wait.. give an example. (FLASH)
    like
    on (Key.isDown(Key.175)){
    would be when the up key is pressed?
    Im also supposing that the wiimote driver is required for this to work.
     
  9. Monkey01

    Monkey01 GBAtemp Advanced Fan

    Member
    586
    0
    Aug 27, 2006
    Netherlands
    The Netherlands
    Yes, but JavaScript is something totally different then Java.
    Java is an applet based programming language, which is used for example for Mobile Phone applications, Bittorrent clients, and other serious apps and games.
    JavaScript is a webbased language which is mostly used for simple things in websites, like forms handling or at most some simple games.
    If JavaScript is used for games, which the web was not invented for, this will be much slower then a Java applet which is just a part in the website using an engine which is made for more serious applications like games.
    If that same JavaScript also needs to do difficult things like emulating, then I don't think it'll be possible to run this on an acceptable speed, even if it's only NES emulating...
     
  10. shaunj66

    shaunj66 Administrator

    Administrator
    10,024
    1,638
    Oct 24, 2002
    United Kingdom
    South England
    Ack, I meant Java not javascript. Typo!