Funkschy / pokemon-wannabe

A small tech demo, which shows how you could use Kantan for game development.

Home Page:https://funkschy.github.io/pokemon-wannabe/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pokemon wannabe

A small tech demo, which shows how you could use Kantan for game development.

Getting started

If you just want to check out the "game", you can try it on https://funkschy.github.io/pokemon-wannabe/

But if you want to build it, you have to do it in one of the following ways.

Since Kantan does not currently support conditional compilation, we have to change the source code a bit.

Go into src/main.kan and make sure that emscripten_set_main_loop_arg(&mainloop, &game, -1, 1) is commented out

For the native version

git clone --recursive https://github.com/funkschy/pokemon-wannabe
cd pokemon-wannabe
make
./game

Go to the very end of src/main.kan and make sure that emscripten_set_main_loop_arg(&mainloop, &game, -1, 1) is not commented out. and comment out the while running {...} loop

For the browser version

git clone --recursive https://github.com/funkschy/pokemon-wannabe
cd pokemon-wannabe
make run
# open localhost:8080 in you browser

About

A small tech demo, which shows how you could use Kantan for game development.

https://funkschy.github.io/pokemon-wannabe/

License:MIT License