An in-development game about scanning real food barcodes https://shampoo.ooo
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
ohsqueezy 5cf39db71e added android build and curl error checking 5 months ago
lib added android build and curl error checking 5 months ago
resource added android build and curl error checking 5 months ago
src added android build and curl error checking 5 months ago
.gitignore added android build and curl error checking 5 months ago
.gitmodules change sfw to sb, use Makefile skeleton from demos 2 years ago
Makefile added android build and curl error checking 5 months ago
README.md update makefile target names; remove broken cross compilation targets 5 months ago
config.json added android build and curl error checking 5 months ago
config_android.json added android build and curl error checking 5 months 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 year ago
index.html android example instructions in SPACEBOX 1 year ago

README.md

        _______________   ,-----------------------------------------------------------.
       //`````````````\\  \                                                            \
      //~~~~~~~~~~~~~~~\\  \   by @ohsqueezy           &  @sleepin                      \
     //=================\\  \     [ohsqueezy.itch.io]     [sleepin.itch.io]              \
    //                   \\  \                                                            \
   //                     \\  \  zlib licensed code at [open.shampoo.ooo/shampoo/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://open.shampoo.ooo/shampoo/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.