Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 697 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 697 Bytes

react-godot

Load a webassembly build of the Godot engine and Bootstrap packed games from within the react component tree

NPM JavaScript Style Guide

Install

npm install --save react-godot

Usage

import * as React from 'react'

import ReactGodot from 'react-godot'

class Example extends React.Component {
  render () {
    return (
      <ReactGodot script='/path/to/myGame.js' pck='/path/to/myGame.pck' />
    )
  }
}

License

MIT © d3dc