Im using Playcanvas from long time and React as well.
But Im not able to understand how do I include playcanvas game inside my react app?
Can anyone please help me how it should be done.
Following I did
Installed playcanvas
npm install playcanvas
import pc from ‘playcanvas’
var app = new pc.Application(this.canvas, {});
This does not succeed.
Any one please let me know how component bare shell looks like in react for playcanvas
I’m working on a set of React components that allow you to build a complete PlayCanvas game in a declarative, reactive manner. They’re part of a game I’m building, but the plan is to extract these to a public repository and NPM package when things feel stable enough.