Note: iOS 9 + Facebook users w/ trouble scrolling: #super sorry# we hope to fix it asap. In the meantime Chrome Mobile is a reach around
hot  /  reviews  /  videos  /  cblogs  /  qposts

Javascript Super Mario Brothers Active Desktop

1:27 AM on 07.02.2006 // Niero Desu
  @destructoid

mario3.gifThis ninja figured out how to code World 1-1 of Super Mario Brothers 3 in Javascript, complete with some in-game boundary mechanics and pushable buttons. Here's a demo you can tinker with right now. Wanna download it onto your computer? If you have a dual core with a fatty of RAM and just use your computer to surf the web for porn, you're good. Otherwise I'd say cool and scurry along to a lamer robot wallpaper web site :) A how-to mirror of how is copied below for your convenience, fear of digg, and preservation of coolness that shant be faded, like Dr. Dre. [thx JC!] Javascript Mario This is an unfinished interactive reproduction of the beginning of Level 1-1 from Super Mario 3 designed to be used as a windows active desktop. For an example of how it looks, click here. All the boxes and enemies can be clicked on but unfortunately not all of the animations are completed. Download: mario.zip FAQ How do I install it? 1. Extract the rar somewhere on your computer 2. Right click on your desktop and go to properties. 3. Click on the desktop tab, then 'browse' 4. Select the mario.htm file in the directory you extracted. How do I reset it after clicking on things? Hit F5 What resolution does it need? It's designed for a 1920x1600 screen however it will automatically rescale the height to fit on any screen. It will NOT resize horizontally, this means if you use it at a lower resolution it'll work just fine, but you will be missing some of the content on the right side. The bottom is cut off, my start menu is multiple lines, etc. How do I fix it? Open the .html file in your favorite text editor and go to line 301. You will see: yoffset = screen.height-300; Increasing the 300 will raise the entire lower section, so for example if you had a second bar of 25 pixels you would change it to: yoffset = screen.height-325; To get windows to reload the html file you will probably need to change your background to a different image, then back to the html. Can I make the color behind my icons transparent? Not that I'm aware of, you can however set it to be the same background color: 1. Go into your display properties -> appearance -> advanced. 2. Select "Desktop" in the item dropdown, click the arrow next to the color box and click on "Other". 3. Enter these values: Red=110, Green=157, Blue=255 Did you make it all? Yes, with the exception of the wallpaper itself. I originally saw an old school video games thread at [M] and liked the mario background and it gave me the idea to do this. Instead of recreating the wallpaper I just used the one from the thread created by PovRayMan. Does this work on a mac? Thanks to Miguel for these instructions: Webdesktop layers a web browser behind your icons and displays it as a desktop: http://stevenf.com/software/webdesktop/ in order to get it to work though, you have to drag the .html on top of the Webdesktop app, otherwise the minute you hit Finder Webdesktop is sent behind your icons and you can't access it. What I did though was I used dockless to keep the Webdesktop icon out of my dock since I won't ever use it, unless to change the current page viewed on Webdesktop. If ever i need to access Webdesktop to drag another web page or url onto it I'll use a Menu Bar app list program like Tiger Launch to be able to access Webdesktop again. http://www.versiontracker.com/dyn/moreinfo/macosx/16689 Of course if people like to keep Webdesktop on their dock, they don't need any of the other two apps. One thing I modified to it though was I changed your body tag's onLoad from this: onLoad="startup();" to this: onLoad="startup();document.body.style.overflow='hidden';" to hide the scroll bars, since it doesn't completely fit on my monitor and I get the scrollbar thing. Can I move mario? No. You can click on the boxes / enemies / coins only. How did you make the animations? I used an snes emulator with fraps to record video of each character, then using virtualdub I exported the animation to frames. Using photoshop I then cleaned up each frame by hand and added a black border to make it easier to position them wherever I want without worrying about aliasing on the outside. Total time spent working on this is probably in the 12-15 hours range. What about different levels? Originally I was planning on making an underground level as well, then stupidly realized way after I started that Mario 3 had no underground levels. It would be relatively easy to port this to different levels, just make a new background and update the html / javascript. Why HTML/Javascript instead of Flash/Java/Whatever? I wrote this for my laptop which is also my primary work machine and as such I wanted it to use as little system resources as possible. I have very little flash programming experience and was worried about it being a resource hog. Why isn't this finished? I started working on this about a year ago and worked on it on and off for about 6 months, the remaining features are more difficult / time consuming and I'm just too damned lazy to finish it. After over a year of having it has my desktop and getting "Wow! That's cool" responses I'm growing tired of having it on my laptop. Instead of just letting it die I figure I might as well throw it out there for people to use. Feel free to modify it or expand upon it, if you do so email me and I'll put your updates up here with credit. If you are interested in completing it or just working on it more, email me and I'll send you all the original source PSD's and such. Why are there gif files for the bouncing toad and tube flower guy that don't show up? The GIF files are buggy and are commented out in the HTML simply to make it look better. The tube guy's timing is off and both characters have white noise around them. You can enable them rather easily, open the html file and search for /* and tags) Why don't the enemies hit each other? Never got around to it. Comments / legal threats? [email protected]



Niero Desu, Blogsmith
 Follow Blog + disclosure destructoid Tips
I host Destructoid for a living. Here's a photo of me at work:  more   |   staff directory



 Setup email comments

Unsavory comments? Please report harassment, spam, and hate speech to our community fisters, and flag the user (we will ban users dishing bad karma). Can't see comments? Apps like Avast or browser extensions can cause it. You can fix it by adding *.disqus.com to your whitelists.

 Quickposts
Status updates from C-bloggers

Torchman avatarTorchman
THE TRUTH BOMBSHELLS ARE DROPPING FOLKS. OH MY LORD, GAJ'S SUPPOSED LOVE FOR NAOTO IS ALL A LIE
El Dango avatarEl Dango
For the next Assassin's Creed, they should completely overhaul the gameplay and base it on the latest Splinter Cells. Stealth, climbing and action would all be massively improved that way.
Jiraya avatarJiraya
I come to remind you all , that these tights are ever vigilant , Best Waifu is watching YOU
Torchman avatarTorchman
YOUR WAIFU IS AS GARBAGE AS ZELDA IN COMPETITIVE SMASH 4.
SayWord avatarSayWord
So I am totally in love with adult Nep Nep. New Waifu approaching...
Brazen Head avatarBrazen Head
When does Undertale get "Interesting"? Played for 2-3 hours, having fun, but failing to see what it does that's so utterly amazing.
Bartiksl avatarBartiksl
Hello! We've just released a sci-fi mmo Nbela Online for iOS, Android, Steam, etc. Want to enter the deep space from any platform? You can do it now! A lot of information you can find on our site - playnebula.com
ShadeOfLight avatarShadeOfLight
Cannot.look.away.
Shinta avatarShinta
Check out the tracks your party leaves in the snow, and check out how good the river looks. This game is going to be amazing.
Gameous avatarGameous
Quby - The Cube Jumper
Cannibal Steven avatarCannibal Steven
I know I'm making a 4th post by doing this, but for some reason my quickpost posted as multiples... Apologies for the clogging.
Cannibal Steven avatarCannibal Steven
We don't do Friday Night Fights anymore right? Any DTOIDers have Battlefront or WiiU parties that could use the company of An Eager to Cunnilingus Cannibal?
Cannibal Steven avatarCannibal Steven
We don't do Friday Night Fights anymore right? Any DTOIDers have Battlefront or WiiU parties that could use the company of An Eager to Cunnilingus Cannibal?
Cannibal Steven avatarCannibal Steven
We don't do Friday Night Fights anymore right? Any DTOIDers have Battlefront or WiiU parties that could use the company of An Eager to Cunnilingus Cannibal?
Luckrequired avatarLuckrequired
10 years of this. Yeeeah baby!
Vamessi17 avatarVamessi17
Xbox One proves that they're useless.They said that they are better than Sony's PS4 since they've got more and better exclusives and that doesn't mean that they should offer most of the exclusives to PC.Now there's no need to own an Xbox.
Nekrosys avatarNekrosys
Well, I just ordered in an Undertale shirt. Despite my being crap at the game, it's just so charming. So. Ridiculously. Charming. I can't get mad at it, despite my awfulness at the bullet hell aspects.
Ckarasu avatarCkarasu
So, SMT IV: Final looks like it'll make fans of the older games happy. Especially fans of SMT 2.
Flegma avatarFlegma
Do games go in cycles like style? I mean, I think I can just as well play my 1993 Space Hulk (PC CD) instead of getting the moderately new Space Hulk instead.
Occams avatarOccams
Naruto 4 installs on my PS4 and it updates. Game says it can't run story mode during installation. Nothing's installing though. Restarted PS4. Reinstalled. Nothing. Fucking dumb.
more quickposts


Contest!


Seriously

Invert site colors

  Dark Theme
  Light Theme


Destructoid means family.
Living the dream, since 2006

Pssst. konami code + enter

modernmethod logo



Back to Top


We follow moms on   Facebook  and   Twitter
  Light Theme      Dark Theme
Pssst. Konami Code + Enter!
You may remix stuff our site under creative commons w/@
- Destructoid means family. Living the dream, since 2006 -