react-godot-new
v1.0.1
Published
Load a webassembly build of the Godot engine and Bootstrap packed games from within the react component tree
Downloads
3
Readme
react-godot
Load a webassembly build of the Godot engine and Bootstrap packed games from within the react component tree
Install
npm install --save react-godot-new
Usage
import * as React from "react";
import ReactGodot from "react-godot-new";
class Example extends React.Component {
render() {
return <ReactGodot script="/path/to/myGame.js" pck="/path/to/myGame.pck" />;
}
}
License
MIT © d3dc