GithubHelp home page GithubHelp logo

imclab / fullscreenmario Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joshuakgoldberg/old-deleted-fullscreenmario

0.0 1.0 0.0 22.48 MB

An HTML5 remake of the original Super Mario Brothers - expanded for wide screens.

fullscreenmario's Introduction

FullScreenMario

An HTML5 remake of the original Super Mario Brothers - expanded for modern browsing.

Here's a quick set of cheat codes you can use during the game. If you're using this through the fullscreenmario.com UI, you'll have to reference everything as a member of 'game' (which is a link to the frame containing FSM).

Game Powerups

Command Result
marioShroom(mario) The equivalent of Mario touching a Mushroom or FireFlower item.
marioStar(mario) The equivalent of Mario touching a Star item. Note that if you want Mario to be invincible for the rest of the current map, use ++mario.star.
scrollMario(X) Scrolls the window horizontally by X, keeping Mario in the same spot relative to the screen.
scrollTime(T) Floats Mario through the rest of the level (beware, this is best used on the Random worlds!).
fastforward(T) Sets the game speed to 1+T. T=1 results in double the speed, and T=0 is normal speed.

Adding Things

Command Result
addThing(ThingFunction, xloc, yloc)
or
addThing(new Thing(ThingFunction, arg1, arg2), xloc, yloc)
Creates a new instance of a Thing, such as Goomba or Koopa, at the specified location. Thing functions are located as separate in things.js; in the future they will be stored as JSON objects.
killNormal(MyThing) Kills a specified Thing. You may find them listed under window.characters, window.solids, and window.scenery.

Map Shifting

Command Result
setMap(A,B)
or
setMap([A,B])
Starts the World A-B map immediately. If it doesn't exist (such as when maps aren't loaded via AJAX yet), it will log a complaint gracefully.
setMapRandom()
or
setMapRandom("Overworld")
Starts the corresponding random map immediately, similar to setMap. Named options are (Overworld by default):
  • Overworld
  • Underworld
  • Underwater
  • Sky
  • Castle
shiftToLocation(N) Shifts to the Nth location in the current map. For example, setMap(1,1); shiftToLocation(2); brings the user to the Underworld section of World 1-1. Note that maps are stored under Maps/WorldAB.js as function bodies.

Level Editor

loadEditor() Starts the in-game level editor.

Developers & Legal

This is released under the Attribution Non-Commercial Share-Alike license. Full Screen Mario is meant to be both a proof of concept and an entertaining pasttime, not a source of income.

The whole project was originally hosted under www.fullscreenmario.com, but that site was taken down by Nintendo for copyright infringement.

fullscreenmario's People

Contributors

blamonet avatar brycepauken avatar chaserx avatar d16r avatar dwilhelmi avatar ronnorthrip avatar sirctseb avatar waddlesplash avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.