1 Star 0 Fork 0

yang73137/FullScreenMario-JSON

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

FullScreenMario

A free HTML5 remake of Nintendo's original Super Mario Bros, expanded for the modern web. It includes the original 32 levels, a random map generator, a level editor, and over a dozen custom mods.

How to Play

Although you may no longer play on fullscreenmario.com, it is easy to play your own copy.

Newcomers (non-coders)

Download the .zip of this project, extract that onto your computer, and open index.html in a browser (preferably Google Chrome). That's it!

In your own site

Upload the latest release of FullScreenMario (or your built version) to your FTP server.

Developing

Build Process

FullScreenMario uses Grunt to automate building, which requires Node.js. The process is straightforward; see Grunt's help page.

The root index.html file includes all the raw .js and .css files, and thus should only be used for development. The dist/index.html file uses the built and minified output so it should be used as production code.

Coding

FullScreenMario is built on a modular framework called GameStartr. The GameStartr directory contains GameStartr, its parent class EightBittr, and the 22 modules used by the GameStartr framework. These all (theoretically) have their own README files, which you should skim before developing for FullScreenMario itself.

The main game code outside the framework is stored in FullScreenMario.js. The FullScreenMario class inherits from GameStartr and has a global 'FSM' instance set up by the UserWrappr module in index.js. GameStartr's constructor (its reset function) contains a reset function for each module that stores the modules within it as FSM.AudioPlayer, FSM.ChangeLiner, etc.

The FullScreenMario.js class declaration contains class functions and some constants, while static settings to be added to the FullScreenMario prototype, such as map layouts and object attributes, are stored in files under settings, such as audio.js and collisions.js.

Legal

This is released under the Attribution Non-Commercial Share-Alike License (see License.txt). FullScreenMario is meant to be both a proof of concept and an entertaining pasttime, not a source of income.

The FullScreenMario project started October 21st, 2012. The initial beta release in October 2013 saw the primary host website receive approximately 2.68 million unique visitors within a month, after which Nintendo shut the site down with a DMCA complaint (no action was taken against GitHub or other hosting websites). The coding project then underwent an extensive rewrite and architecture change to become a modular project centered on the EightBittr and GameStartr platform.

空文件

简介

A free HTML5 remake of Nintendo's original Super Mario Bros. It includes the original 32 levels, a random map generator, a level editor, and over a dozen custom mods. 展开 收起
JavaScript
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/yang73137/FullScreenMario-JSON.git
git@gitee.com:yang73137/FullScreenMario-JSON.git
yang73137
FullScreenMario-JSON
FullScreenMario-JSON
master

搜索帮助