1.0.0 • Published 4 months ago

fivem-game-view v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

fivem-game-view

fivem-game-view is an npm library for gamerender in realtime

Installation

npm  i fivem-game-view

Usage

import { GameView } from 'fivem-game-view'
const gameview = new GameView()

Functions

Render GameView to a canvas element

Can be used for a lot of stuff: video calls, video record, live stream ...

  • Start canvas render

    const canvas = document.getElementById("videocall-canvas");
    
    gameview.createGameView(canvas);
  • Stop canvas render

    gameview.stop();
1.0.0

4 months ago