The Wayback Machine - https://web.archive.org/web/20200602161625/https://github.com/topics/canvas2d
Skip to content
#

canvas2d

Here are 416 public repositories matching this topic...

pixi.js
Hectate
Hectate commented Apr 10, 2020

I was trying to look up the API for the DebugPanel so I could locate an option to decrease the text size. I'm developing a smaller resolution game and the elements of the panel overlap and are unreadable/unusable at these lower sizes. Upon opening the API and searching/clicking on the DebugPanel link, I'm routed to [http://melonjs.github.io/melonJS/docs/me.DebugPanel.html](http://melonjs.github.io

cookiengineer
cookiengineer commented Jan 27, 2018

Minor issue: The docs seem to be outdated when it comes to the NMLEvent or NidiumEvent.

For these cases there's no event.preventDefault() and no event.stopPropagation() methods (just in case some people are wondering or are using libraries that would expect those to exist):

  • window._onkeydown
  • window._onmousedown
  • window._onmousemove
  • window._onmouseup

It might make sen

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
react-canvas-draw
eTr0nic
eTr0nic commented Apr 12, 2020

For my original canvas, I've set the canvasWidth and canvasHeight to '100%' which works well in and of itself. However, when saving the data and then loading it via the saveData prop on a different canvas, it does not draw at all. If you try to draw on the canvas you'll notice it constantly refreshes as it 'tries' to draw the saveData string, but it doesn't actually show up on the canvas itself.

tmptrash
tmptrash commented Nov 13, 2017
47:15-28 Critical dependency: the request of a dependency is an expression
 @ ./common/src/plugins/Plugins.js
 @ ./client/src/manager/Plugins.js
 @ ./client/src/manager/Manager.js
 @ ./client/src/App.js

WARNING in ./node_modules/ws/lib/BufferUtil.js
Module not found: Error: Can't resolve 'bufferutil' in 'C:\db\projects\jevo.js\node_modules\ws\

Improve this page

Add a description, image, and links to the canvas2d 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 canvas2d topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.