Skip to content

felipecoder/fivem-game-view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published