All Projects → FullScreenShenanigans → Fullscreenpokemon

FullScreenShenanigans / Fullscreenpokemon

Licence: mit
A free HTML5 remake of the original Pokemon, expanded for modern browsing.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Fullscreenpokemon

Rpg Core
UNITY engine RPG framework
Stars: ✭ 146 (-4.58%)
Mutual labels:  game, pokemon
Polishedcrystal
An upgrade to Pokémon Crystal. Brings features and content up to date, and adds some original content.
Stars: ✭ 374 (+144.44%)
Mutual labels:  game, pokemon
Pokemon data
全ポケモンのJSONデータです。
Stars: ✭ 201 (+31.37%)
Mutual labels:  game, pokemon
Ipokemon
PokéMon like game on iOS with Location Based Service.
Stars: ✭ 426 (+178.43%)
Mutual labels:  game, pokemon
Pokemonunity
A framework to build Pokémon RPG games.
Stars: ✭ 934 (+510.46%)
Mutual labels:  game, pokemon
P3d Legacy
Legacy repository for the Pokémon3D Visual Basic version
Stars: ✭ 122 (-20.26%)
Mutual labels:  game, pokemon
Opmon
Currently moving the project to https://github.com/OpMonTeam/OpMon-Godot
Stars: ✭ 221 (+44.44%)
Mutual labels:  game, pokemon
Awesome Pokemon
🎮 A curated list of awesome Pokémon & Pokémon Go resources, tools and more.
Stars: ✭ 429 (+180.39%)
Mutual labels:  game, pokemon
Ancientbeast
Turn Based Strategy Game. Master your beasts! 🐺
Stars: ✭ 907 (+492.81%)
Mutual labels:  game, pokemon
Ipokemon Server
iPokeMon Server.
Stars: ✭ 119 (-22.22%)
Mutual labels:  game, pokemon
Newbark
🌳 A proof-of-concept Pokémon-style Retro RPG engine created with Unity.
Stars: ✭ 129 (-15.69%)
Mutual labels:  game, pokemon
Flappy Fly Bird
🐦 Flappy Bird reincarnation [Swift 5.3, GameplayKit, SpriteKit, iOS 12].
Stars: ✭ 150 (-1.96%)
Mutual labels:  game
Kaboom
Cruel but fair Minesweeper clone
Stars: ✭ 148 (-3.27%)
Mutual labels:  game
Sshtron
$ ssh sshtron.zachlatta.com
Stars: ✭ 1,910 (+1148.37%)
Mutual labels:  game
Cr Api
Clash Royale Public API that provides real-time data about players, clans, tournaments and more.
Stars: ✭ 147 (-3.92%)
Mutual labels:  game
Cube Composer
A puzzle game inspired by functional programming
Stars: ✭ 1,845 (+1105.88%)
Mutual labels:  game
Lexica
Word Game for Android - A fork of lexic (https://code.google.com/p/lexic)
Stars: ✭ 146 (-4.58%)
Mutual labels:  game
Knightonline
OpenKO is an open source version of the old school Knight Online MMORPG
Stars: ✭ 146 (-4.58%)
Mutual labels:  game
Rs Asteroids
A variation on the game Asteroids, written in Rust
Stars: ✭ 146 (-4.58%)
Mutual labels:  game
Aerogameframework
AeroGameFramework is a Roblox game framework that makes development easy and fun. The framework is designed to simplify the communication between modules and seamlessly bridge the gap between the server and client.
Stars: ✭ 150 (-1.96%)
Mutual labels:  game

FullScreenPokemon

Code Style: Prettier TypeScript: Strict NPM version

HTML5 remake of the original Pokemon, expanded for modern browsers.

Usage

The built lib/index.html uses UserWrappr to fill the available window size with a game screen, option menus, and piped input events. It stores its generated instance as window.FSP.

To do this in your own page, use the exported createFspInterface function.

import { createFspInterface } from "fullscreenpokemon";

createFspInterface(document.getElementById("game")).then(() => {
    console.log("Ready to play! ✨");
    console.log(FSP);
});

You can also directly create a new FullScreenPokemon instance with a manual size.

import { FullScreenPokemon } from "fullscreenpokemon";

// Creates a new game with a 320x480 screen size
const fsp = new FullScreenPokemon({
    height: 320,
    width: 480,
});

// Games contain a .canvas member for the screen
document.body.appendChild(fsp.canvas);

// Shows the initial in-game menu with start and load options
fsp.gameplay.gameStart();

By default, the game doesn't set up input events. You'll need to set up your own event registrations manually.

Documentation

FSP is built on top of EightBittr, a modular TypeScript game engine split across separate projects available on npm and hosted on GitHub in the FullScreenShenanigans organization. It consists of a couple dozen core modules under this organization.

See ./src/docs for documentation specific to FullScreenPokemon.

Development

After forking the repo from GitHub:

git clone https://github.com/<your-name-here>/FullScreenPokemon
cd FullScreenPokemon
yarn
yarn run hydrate
yarn run compile
  • yarn run hydrate creates a few auto-generated setup files locally.
  • yarn run compile builds source code with TypeScript

Running Tests

yarn run test

Tests are written in Mocha and Chai. Their files are written using alongside source files under src/ and named *.test.ts?. Whenever you add, remove, or rename a *.test.t* file under src/, watch will re-run yarn run test:setup to regenerate the list of static test files in test/index.html. You can open that file in a browser to debug through the tests, or run yarn test:run to run them in headless Chrome.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].