Skip to content

denghe/xx_examples

Repository files navigation

xx_examples

examples for xx game engine

#online demo

https://denghe.github.io/xx_examples/

#requirement ( windows )

  1. TortoiseGit & git for win ( optional )
  2. visual studio 2022 with c++ & game
  3. cmake-gui latest
  4. python3 latest
  5. emsdk latest

https://github.com/emscripten-core/emsdk

  1. git pull
  2. open cmd window
  3. .\emsdk.bat install latest
  4. .\emsdk.bat activate latest --permanent
  5. .\emsdk.bat list
  6. find "mingw-?.?.?-64bit"
  7. .\emsdk.bat install mingw-?.?.?-64bit
  8. .\emsdk.bat activate mingw-?.?.?-64bit --permanent
  9. close cmd window

#git usage

  1. locate directory
  2. mouse right menu choose: GitSync
  3. click "Pull"
  4. click "Submodule Update"

#tips1

upgrade all submode to latest version:

git submodule update --remote

#tips2

how to install SDL2 in emsdk:

  1. create a file. name = "o.cpp":
int main() { return 0; }
  1. execute following command line:
em++ -sUSE_SDL=2 o.cpp -o o.html

will show following log:

ports:INFO: retrieving port: sdl2 from https://github.com/libsdl-org/SDL/archive/release-??????????.zip .....

About

examples for xx game engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published