Skip to content

Latest commit

 

History

History
62 lines (49 loc) · 2.31 KB

README.md

File metadata and controls

62 lines (49 loc) · 2.31 KB

game-overlay in electron ⚡

Codacy Badge

Build status

use the power of web to inject any web app to overlay in your game

screenshot

demo

NOTE

  1. need Visual Sudio 2017 to build native C++ project.
  2. use 32bit node to install 32bit electron (game overlay support x64 no matter electron version), if you want to use 64bit electron, modify compile:electron script in client/package.json.
  3. we can assocciate a new IME conext if game disabled it, but in fullscreen it will cause window to lose focus.
  4. node-gyp need python2 installed on system and make sure it's added to PATH

document

  1. checkout document about how to use it in your own project

run demo

  1. git clone https://github.com/hiitiger/gelectron.git
  2. git submodule update --init --recursive
  3. cd to boost and do boost bootstrap
  4. run demo client
        cd client
        npm link ../electron-overlay
        npm i
        npm run compile:electron
        npm run build
        npm run start
    
  5. click the start button to start
  6. open gameoverlay.sln and build all
  7. start dx11app and press ESC to do load inject dll for test
  8. press F1 to swtich input intercepting

feature

- [x] electron offscreen window overlay in game
- [ ] dx12 api support
- [x] dx11 api support
- [x] dx10 api support
- [x] dx9 api support
- [x] multi windows support
- [x] window z-index and focus
- [x] in game sync drag and resize
- [ ] in game defered drag and resize
- [x] window draw policy
- [x] input intercepting by manually control
- [x] custom shaped window (alpha test for mouse handling)
- [ ] detailed injecting configuration 
- [x] input intercepting by auto mouse check

todo

- [ ] brwoser window state manage
- [x] better hotkey
- [x] session reconnect