You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
frank e3a3902143 cURL asynchronous requests 7 hours ago
lib pause camera display while requesting from APIs, set Emscripten frame data only when memory location changes 1 day ago
resource added performance timing to camera thread and temporarily fixed crashing by setting thread to wait, added README 2 months ago
src cURL asynchronous requests 7 hours ago
.gitignore wip of emscripten build with working webcam 3 weeks ago
.gitmodules change sfw to sb, use Makefile skeleton from demos 1 year ago
Makefile pause camera display while requesting from APIs, set Emscripten frame data only when memory location changes 1 day ago
README.md default compiler environment vars in Makefile 2 months ago
config.json pause camera display while requesting from APIs, set Emscripten frame data only when memory location changes 1 day ago
favicon.ico working emscripten web export; transfer web cam pixel data from JavaScript to C++; fetch images through Emscripten API and cors-anywhere proxy 1 week ago
index.html pause camera display while requesting from APIs, set Emscripten frame data only when memory location changes 1 day ago

README.md

        _______________   ,--------------------------------------------------------.
       //`````````````\\  \                                                         \
      //~~~~~~~~~~~~~~~\\  \   by @ohsqueezy           &  @sleepin                   \
     //=================\\  \     [ohsqueezy.itch.io]     [sleepin.itch.io]           \
    //                   \\  \                                                         \
   //                     \\  \  zlib licensed code at [git.nugget.fun/nugget/gunkiss]  \
  //      ☆ GUNKISS ☆      \\  \                                                         \
 //_________________________\\  `--------------------------------------------------------'

Gunkiss

Generate a custom pudding from food product UPC codes and help a pair of rats take over the video game industry, using their extraterrestrial ability to turn trash into performance enhancing drug puddings that enable business professionals to predict the stock market with supernatural accuracy.

Where to play

Gunkiss is in-development. Public builds for the web and Android are expected to be released soon.

Building from source

First, checkout the full repository.

git clone --recursive https://git.nugget.fun/nugget/gunkiss

Required Libraries

The following external programs and libraries are required to compile the game.

SPACEBOX

The SPACEBOX game framework is being developed simultaneously and should be checked out into lib/sb as a submodule of the project using the --recursive flag as shown above.

cURL

The game uses cURL to communicate with the Open Food Facts API. The cURL library and development headers must be installed to the system paths in order to compile the program.

Linux

On Linux, you can install libcurl and development headers through the package manager. For example, on Debian:

sudo apt install libcurl4 libcurl4-openssl-dev
Other systems

See [the downloads page][] for ways to get the library and headers. It must be installed in such a way that linking can be done with -lcurl and headers are in the default search path.

OpenCV

The game uses OpenCV to enable barcode reading through the camera. The library and headers by default are expected to be installed to [HOME]/local/opencv/lib and [HOME]/local/opencv/headers respectively, but those locations can be edited in the Makefile

ZBar

The game uses ZBar to scan images for barcodes and report what the barcode is. The library and headers by default are expected to be installed to [HOME]/local/zbar/lib and [HOME]/local/zbar/headers respectively, but those locations can be edited in the Makefile.

Compiling

Once the requirements are satisfied, run make linux to compile. The executable will be saved to the root folder as gunkiss.

Compiler

The project is developed using clang, but gcc can be substituted. Environment variables for CC and CXX can be used to change the default compiler.