An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# TinyPokemonWorld

WARNING: This is a work in progress Portfolio item.


image

[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