An unique functional 2D game engine that can create games with only emoji.
[ 日本語 ]
- Thinks only emoji is interesting!
- Wants to share the game easily
- Wants to write a clear program using PureScript
- Familiar materials that can be used anywhere
- Create games like assembling LEGO blocks
- Interesting that there are restrictions like PICO-8
Language abstraction | Distributability | |
---|---|---|
PureScript | ○ | ○ |
Haskell | ○ | △ ※1 |
Elm | △ ※2 | ○ |
- ※1: Hard to convert into JavaScript
- ※2: No type classes
Screen Size | Variable 256px~1024px(reasonable) |
Background Color | 140 colors(HTML named colors) |
Material | Unicode Emoji v13.0 (Single code point only) |
Controller | 8 buttons(up down left bottom ×2) |
Map | Map made of Emoji |
Sound | Sound made of Emoji |
Language | PureScript |
Output File Volume | ~1MB(reasonable) |
Frame Rate | About 60 FPS(requestAnimationFrame) |
Operating Environment | Web browser |
/¯¯¯\_/¯¯¯\
| W | ↑ |
| A D | ← → |
| S | ↓ |
\___/¯\___/
|¯¯¯¯¯¯¯¯|¯¯¯¯¯¯¯¯|
| 👆 | 👆 |
| 👈 👉 | 👈 👉 |
| 👇 | 👇 |
|________|________|
🈳🈳🈳🈳🈳🈳🈳🈳🈳
🈳⛅🈳🈳🎌🈳🈳🌧🈳
🈳🈳🈳🌳🗻🌳🈳🈳🈳
🈳🈳🌳🗻🗻🗻🌳🈳🈳
🈳🌳🗻🗻🗻🗻🗻🌳🈳
🌳🗻🗻🗻🗻🗻🗻🗻🌳
🎹🈳🈳🈳🈳🈳🈳🈳🈳🈳🈳🈳🈳
🎹🈳🈳🈳🈳🈳🈳🈳🈳🈳🈳🈳🈳
🎹🈳🈳🈳🈳🈳🈳🈳🈳🈳🈳🈳🈳
🈳🈳🈳🈳🈳🈳🈳🈳🈳🈳🈳🈳🎹
See example for the implementation.
yarn
yarn bundle:example
open dist/example/hello/index.html
open dist/example/basic/index.html
open dist/example/emodius/index.html
yarn build
yarn dev
- emoji rotate (45°, 135°, 225°, 315°) problem on canvas Why won't emojis render when rotated to 45 (or 315) degrees?