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

    Member hey_suburbia Do The Lizard Bop

    Joined:
    Apr 24, 2004
    Messages:
    560
    Location:
    Philadelphia, PA
    Country:
    United States
  2. hey_suburbia
    OP

    Member hey_suburbia Do The Lizard Bop

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

    Administrator shaunj66 Administrator

    Joined:
    Oct 24, 2002
    Messages:
    9,830
    Location:
    South England
    Country:
    United Kingdom
    Someone aughta make a Java NES emulator (that uses hosted ROM images - homebrew of course!) with support for these keys! [​IMG]
     
  4. Monkey01

    Member Monkey01 GBAtemp Advanced Fan

    Joined:
    Aug 27, 2006
    Messages:
    586
    Location:
    The Netherlands
    Country:
    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

    Member Helmut GBAtemp Regular

    Joined:
    Aug 13, 2003
    Messages:
    263
    Country:
    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

    Member Vater Unser GBAtemp Addict

    Joined:
    Oct 28, 2004
    Messages:
    2,184
    Location:
    Pen Island
    Country:
    Germany
    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

    Administrator shaunj66 Administrator

    Joined:
    Oct 24, 2002
    Messages:
    9,830
    Location:
    South England
    Country:
    United Kingdom
    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

    Member imgod22222 GBAtemp's Original No-faced Member

    Joined:
    Jul 5, 2006
    Messages:
    1,555
    Country:
    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

    Member Monkey01 GBAtemp Advanced Fan

    Joined:
    Aug 27, 2006
    Messages:
    586
    Location:
    The Netherlands
    Country:
    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

    Administrator shaunj66 Administrator

    Joined:
    Oct 24, 2002
    Messages:
    9,830
    Location:
    South England
    Country:
    United Kingdom
    Ack, I meant Java not javascript. Typo!
     

Share This Page