Skip to content
#

canvas-game

Here are 595 public repositories matching this topic...

suchipi
suchipi commented Apr 12, 2020

It would be nice to have a component that can expose the frames of an animated GIF image using the Animation interface; I'm picturing something like this:

import { useType, useNewComponent, GIF, useDraw } from "@hex-engine/2d";
import someGifFile from "./whatever.gif";

function MyComponent() {
  useType(MyComponent);

  const gif = u
grandsbor
grandsbor commented Oct 9, 2019

Some text editors (e.g. vim) save temporary files in the same directory as the file being edited. So, if you edit an airline xxx.json, the assembler may found .xxx.json.swp in the assets/airlines dir, include it in the package and fail:

[13:37:30] SyntaxError: Unexpected token b in JSON at position 0
    at Object.parse (native)
    at fs.readdirSync.forEach (/home/grand/openscope/to

Improve this page

Add a description, image, and links to the canvas-game topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the canvas-game topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.