https://superp00t.pg.ikrypto.club/

Joshua Achorn 109ee9d0e7 added mario 4 years ago
Fonts 109ee9d0e7 added mario 4 years ago
Maps 109ee9d0e7 added mario 4 years ago
Sounds 109ee9d0e7 added mario 4 years ago
Theme 109ee9d0e7 added mario 4 years ago
parser 109ee9d0e7 added mario 4 years ago
src 109ee9d0e7 added mario 4 years ago
EventHandlr.js 109ee9d0e7 added mario 4 years ago
README.md 109ee9d0e7 added mario 4 years ago
data.js 109ee9d0e7 added mario 4 years ago
default.css 109ee9d0e7 added mario 4 years ago
editor.js 109ee9d0e7 added mario 4 years ago
gamepad.js 109ee9d0e7 added mario 4 years ago
generator.js 109ee9d0e7 added mario 4 years ago
index.html 109ee9d0e7 added mario 4 years ago
library.js 109ee9d0e7 added mario 4 years ago
load.js 109ee9d0e7 added mario 4 years ago
maps.js 109ee9d0e7 added mario 4 years ago
mario.css 109ee9d0e7 added mario 4 years ago
mario.html 109ee9d0e7 added mario 4 years ago
mario.js 109ee9d0e7 added mario 4 years ago
quadrants.js 109ee9d0e7 added mario 4 years ago
sounds.js 109ee9d0e7 added mario 4 years ago
sprites.js 109ee9d0e7 added mario 4 years ago
things.js 109ee9d0e7 added mario 4 years ago
toned.js 109ee9d0e7 added mario 4 years ago
triggers.js 109ee9d0e7 added mario 4 years ago
ui.js 109ee9d0e7 added mario 4 years ago
upkeep.js 109ee9d0e7 added mario 4 years ago
utility.js 109ee9d0e7 added mario 4 years ago

README.md

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

addThing(new Thing(ThingFunction, arg1, arg2), xloc, yloc)
Command Result
addThing(ThingFunction, xloc, yloc)
or
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

setMap([A,B])
Command Result
setMap(A,B)
or
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.