This repository contains Overwolf sample apps for the PUBG developers challenge.
The apps demonstrate the same functionality in three flavours:
- Native (Vanilla) JS
- TypeScript
- React
The apps demonstrate some basic points and flows that are relevant when developing Overwolf apps:
- The app will show up automatically when you launch PUBG (manifest settings)
- Register to Game Events Provider (GEP) in order to receive real time events from the game (documentation)
- Define a toggle (show/hide) hotkey (manifest settings) and a custom hotkey
- Detect the launch source of the app (auto-launch from game start or manual)
- Communication between (windows best practices)
For more details check out Overwolf API documentation and PUBG Game Events documentation
Under Overwolf's settings, choose Support
tab and then Development options
.
Click the Load unpacked
button and choose the ow-native-sample
folder of this repository.
Open a terminal in the ow-typescript-sample
folder and run:
npm install
If you haven't done so already, install the gulp-cli:
npm install -g gulp-cli
Now run
gulp
It should create a dist
folder with the app files.
Under Overwolf's settings, choose Support
tab and then Development options
.
Click the Load unpacked
button and choose the dist
folder.
Open a terminal in the ow-react-sample
folder and run:
npm install
Now run
npm run build
Under Overwolf's settings, choose Support
tab and then Development options
.
Click the Load unpacked
button and choose the ow-react-sample
folder of this repository.
- Editing the author or app name in the manifest will prevent loading the app
as unpacked app - For any further information or questions, contact developers@overwolf.com