GaryWinthorpe

Hi guys, I'm currently experiencing two different issues (with different runtimes).

I'm creating a game using react, but below is what I'm experiencing:

1) I was using the canvas-ts runtime and using the mesh rendering there were triangles all over the spine character and I could find no way to remove them. The only thing I found was a stackoverflow response saying it's not possible to remove them and to use the webgl runtime. So that brings me onto my next issue.

2) I am now using the webgl runtime and the example worked fine etc, but when I try to run my own character, the whole character is black and the textures aren't rendering properly.

Has anyone encountered anything similar and do you have any suggestions?

Thanks in advance.
GaryWinthorpe
  • 記事: 1

Nate

Anything in the browser console? Black images sounds like the images can't be loaded. Note that a browser won't load images from the local disk. You need to serve the assets using a web server (can be run locally). The only alternative is to embed all the assets into the HTML (using data URIs) if you really must use a local HTML file.
アバター
Nate

Nate
  • 記事: 11409


Return to Runtimes