Skip to Content
🚀 OneJS is now open source! Asset Store purchase will grant you lifetime access to our upcoming game-ready UI Library.
DocumentationTUTORIALSSAMPLESFortnite

The Fortnite UI Sample has been updated for OneJS V2 and is available as a npm package. Refer to the video guide above for a quick Getting Started.

The Gist

  • npm install fortnite-sample
  • Setup SampleCharacter in scene
  • Test the <FortniteSample /> preact comp like below:
import { h, render } from "preact" import { FortniteSample } from "fortnite-sample" const App = () => { return <FortniteSample /> } render(<App />, document.body)