Package

purescript-emo8

Repository
opyapeus/purescript-emo8
License
MIT
Uploaded by
opyapeus
Published on
2019-02-06

Build status

A functional 2D game engine that can create emoji games.

※ It's still a beta version.

[ 日本語 ]

emo8 emodius

Recommended For The Person

  • Who want to make simple games in functional language
  • Who thinks it is troublesome to prepare game materials
  • Who want to distribute the game easily
  • Who want a start to learn purescript

Why PureScript?

Because it is a functional language that can write programs with good expression and good readabilities. It is also compiled into JavaScript and easy to distribute.

Expressive power Ease of distribution
Haskell △ (Hard to convert into JavaScript)
Elm △ (No type class)
PureScript

Why Emoji?

Because it is the materials that everyone can use easily on the Web. In addition, I think that the limited materials stimulate your imagination like playing with the LEGO block.

This library is made with inspiration form PICO-8. PICO-8 also has severe restrictions, but I think that it will make the game making fun.

Play Now!

You can play sample programs on the web.

Specification

  • Display: variable size (recommended 256px~1024px)
  • Background Color: HTML Named Color 140 colors
  • Emoji: Unicode Emoji - Supported Emojis
  • Input: 8 buttons(up down left right 4 buttons x 2)
  • Map: No limit Emoji map - Map Edit
  • Sound: 4 channels Emoji score - Sound Edit
  • Language: PureScript
  • Compiled File Volume: about 500KB~1MB
  • Frame Rate: about 60 FPS
  • Operating Environment: web browser

Controller

  • Keyboard
 /¯¯¯\_/¯¯¯\
|  W  |  ↑  |
| A D | ← → |
|  S  |  ↓  |
 \___/¯\___/
  • Touch Screen (Swipe)
|¯¯¯¯¯¯¯¯|¯¯¯¯¯¯¯¯|
|   👆    |   👆   |
| 👈   👉 | 👈   👉 |
|   👇    |   👇   |
|________|________|

Sample Programs

Clone this repository first. yarn is required.

Install

yarn
yarn postinstall

Build

yarn build
yarn example

Start (Open html in browser)

open dist/hello/index.html
open dist/basic/index.html
open dist/emodius/index.html
open dist/nekof/index.html

Simple Manual

Useful Game Development Template

API Documentation

Under Developing

  • Interpreter which executes code on the web
  • Improve performance

Wait And See

Contribution

Please wait as it is still a beta version. If you find improvements please give me an issue. Thank you.

License

MIT