Skip to content

A React Component to asynchronously load the Godot Engine and bootstrap a .pck. Modified to work with NextJS

Notifications You must be signed in to change notification settings

Shragenator/nextjs-godot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nextjs-godot

Load a webassembly build of the Godot engine and Bootstrap packed games from within the react component tree. Modified to work within NextJS

NPM JavaScript Style Guide

Install

npm install --save nextjs-godot

Usage

import * as React from 'react'

import NextGodot from 'nextjs-godot'

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

License

MIT © Shrag original author: d3dc

About

A React Component to asynchronously load the Godot Engine and bootstrap a .pck. Modified to work with NextJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 100.0%