mirror of
https://github.com/FullScreenShenanigans/FullScreenPokemon.git
synced 2026-04-28 12:58:40 -07:00
new-travis-yml
FullScreenPokemon
A free HTML5 remake of the original Pokemon, expanded for modern browsing.
Usage
Note
: The output process for FullScreenPokemon is in flux. The following represents what will be true, but may be slightly inaccurate now.
The fullscreenpokemon module exposes a FullScreenPokemon class.
You can create a new game object by passing it width and height for a screen size.
That game object will contain a .canvas HTML <canvas> element which can be added to the page.
import { FullScreenPokemon } from "fullscreenpokemon";
const fsp = new FullScreenPokemon({
width: 700,
height: 490
});
document.body.appendChild(fsp.canvas);
Build Process
FullScreenPokemon uses Gulp to automate building, which requires Node.js.
To build from scratch, install NodeJS and run the following commands:
npm install -g gulp
npm install
gulp
See Build Details for detailed Gulp usage.
Description
Languages
TypeScript
99.9%