https://github.com/timostrating/pokeworld
Opengl engine + fully procedural demo
https://github.com/timostrating/pokeworld
3d cpp emscripten opengl webgl2
Last synced: 12 months ago
JSON representation
Opengl engine + fully procedural demo
- Host: GitHub
- URL: https://github.com/timostrating/pokeworld
- Owner: timostrating
- Created: 2019-06-15T16:14:01.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-01-16T21:03:54.000Z (about 5 years ago)
- Last Synced: 2025-03-24T19:39:28.963Z (about 1 year ago)
- Topics: 3d, cpp, emscripten, opengl, webgl2
- Language: C++
- Homepage:
- Size: 16.6 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TinyPokemonWorld
WARNING: This is a work in progress Portfolio item.
[Emscpriten](https://emscripten.org/) + [GLFW3](https://www.glfw.org/) + [GLAD](https://www.glfw.org/) + [GLM](https://github.com/g-truc/glm/releases) + [ImGui](https://github.com/ocornut/imgui) + [stb](https://github.com/nothings/stb) + [personal unit test code](https://github.com/timostrating/unity_test)
## Setup
OPTIONAL: Setup [Emscpriten](https://emscripten.org/)
1. To manage the dependencies I use submodules. So get them by recursively cloning this repo or run `$ git submodule update --init --recursive` after you cloned it
2. Download [GLAD with opengl es 3.2](http://glad.dav1d.de/#profile=core&specification=gl&api=gl%3Dnone&api=gles1%3Dnone&api=gles2%3D3.2&api=glsc2%3Dnone&language=c&loader=on) and place the unzipped files in `./external/glad`
## Building it
Build the (optional) Emscpriten version
`$ cd build/emscripten`
`$ emconfigure cmake ./`
`$ make`
`$ emrun out/TinyPokemonWorld.html`
Or build the normal desktop version
`$ cd build/desktop`
`$ cmake ./`
`$ make`
## Inspired by
https://github.com/hilkojj/cpp-GAME-utils
https://github.com/hilkojj/cpp-GAME-utils-template
https://github.com/emscripten-core/emscripten/tree/incoming/tests
https://www.amazon.com/Computer-Graphics-OpenGL-Donald-Hearn/dp/0130153907