Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • PeoplePods 0.9
  • Brackets Sprint 8
  • elFinder 2.0 RC1
  • BBClone 0.6.1
  • Twitter Follow Box...
  • Multilingual Press...
  • SimplePie 1.2.1
  • TinyTips 1.2
  • SWFUpload 2.2.0.1 ...
  • Head Cleaner 1.4.2.9
  • Home > Scripts > Games

    Super Mario in 14kb Javascript

    Download button

    Downloads: 4,395  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.9/5)
    22 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    nihilogic | More scripts
    www.nihilogic.dk
    Freeware 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    JavaScript
    April 9th, 2008, 08:43 GMT
    C: \ Games

     Read user reviews (1)  Refer to a friend  Subscribe

    Super Mario in 14kb Javascript description

    Super Mario in 14kb Javascript allows you to play the Super Mario game in your web browser.

    There are no external image files or anything, everything is rendered with Javascript using either canvas elements or old fashioned div-making tactics (for IE).

    The sprites are stored in custom encoded strings in a format that only allows 4 colors for each sprite but in turn only takes up around 40-60 bytes per sprite. 

    MIDI music is embedded as base64-encoded data: URI's. No music for IE, though, and it seems all the other browsers each have different, minor problems with it, but it sort of works.

    It is by no means a complete clone or anything, it's not even an entire level and several key things are missing, such as mushrooms, Koopas and stuff. It was merely done as a sort of proof-of-concept and to see how small it could get.

    Performance varies somewhat between the different browsers, but Firefox, Opera, Safari and IE are all playable. The latest WebKit nightly seems to give Safari a speed boost.



    TAGS:

    Super Mario game | javascript game | game script | Super | Mario | game



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM