SitePoint Sponsor

User Tag List

Results 1 to 14 of 14
  1. #1
    SitePoint Addict myrdhrin's Avatar
    Join Date
    Jul 2004
    Location
    Montreal
    Posts
    211
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Notice: This is a discussion thread for comments about the SitePoint article, Hacking JavaScript for Fun and Profit: Part I.
    __________

    That's so cute... we tend to forget we can have fun with those technologies :-)

  2. #2
    SitePoint Enthusiast
    Join Date
    Mar 2006
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have been making a similar thing using the jquery library. Uses mouse clicks to move the character. http://liveanime.org/rpg/

  3. #3
    Jeremy
    SitePoint Community Guest
    eh, i get
    Line:63
    Char:9
    Code:0
    Error:Object doesn't support this property or method

  4. #4
    SitePoint Enthusiast
    Join Date
    Aug 2008
    Location
    Florida
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Crazy want you can do with simple HTML, CSS, Javascript. Imagination + Technology + Time = Super Mario

  5. #5
    Sajc
    SitePoint Community Guest
    The javascript doesn't work in Google Chrome. Will that be tackled in the second portion or are we focusing on specific browsers?

  6. #6
    SitePoint Member
    Join Date
    Oct 2007
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    eh, i get
    Line:63
    Char:9
    Code:0
    Error:Object doesn't support this property or method
    What browser are you on?

    Quote Originally Posted by Sajc View Post
    The javascript doesn't work in Google Chrome. Will that be tackled in the second portion or are we focusing on specific browsers?
    The examples were written well before Chrome came out, so it hasn't been tested against that. Although it should run against Firefox 2/Firefox3/Safari and IE7, it was a proof of concept, so there may be browsers out there that it won't work on. I will, though, see if it's an easy fix to get it working in chrome.

    - Myles

  7. #7
    SitePoint Evangelist
    Join Date
    Apr 2008
    Location
    Dublin, Ireland
    Posts
    461
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to use the keydown event for it to work in Chrome as apparently keypress will not always contain a keycode based on quirksmode's analysis of detecting keystrokes - http://www.quirksmode.org/js/keys.html.

    IE8 beta seems to have an issue with the use of mario as a global object which presumably would be fixed if the code was rewritten to ensure it wasn't a global object (no bad thing mind you).

  8. #8
    SitePoint Enthusiast
    Join Date
    Jan 2004
    Location
    Edinburgh, Scotland
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "You can interrupt another piece of code by setting up a single-shot timer"

    That's news to me - I thought it had to wait for the current function to finish?

  9. #9
    Mark
    SitePoint Community Guest
    Google Chrome and IE 8 are both beta, many libraries including jquery and mootools don't work in them. That is the browsers fault not the coders.

    BTW can't wait for the next part of the series and starting to develop a Zelda stile rpg.

  10. #10
    SitePoint Member TonyViet's Avatar
    Join Date
    Aug 2008
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks you, great article!

  11. #11
    SitePoint Zealot
    Join Date
    Sep 2007
    Posts
    104
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great Article. Nice tricks have been provided in this article.

  12. #12
    SitePoint Member
    Join Date
    Oct 2008
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Great Article.

  13. #13
    SitePoint Member
    Join Date
    Oct 2008
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I didn't actually realise that Javascript could be this powerful. Great article.

  14. #14
    Brian
    SitePoint Community Guest
    Really interesting, however, it doesn't work in Safari


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •