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?