Skip to content

dapetcu21/hat

Repository files navigation

HAT

HAT brings you the experience of old NES games to your TV!

This was built during the UPC – The Challenge hackathon using Metrological Framework and Pixi.js.

How to build it

You should first run npm install.

Build development build

webpack

Build production build

NODE_ENV=production webpack

Build unminified production build

NOMINIFY=1 NODE_ENV=production webpack

The "unfucker"

There's an issue in the Metrological SDK (more likely in the compiler/minifier, not SDK itself) where using // inside a string truncates the string and results in a syntax error. We built a workaround for this:

UNFUCK=1 webpack

Build with sound

AUDIO=1 webpack

Zip it all up

The build results should be taken from ./ro.hat-app.app.Hat, with or without the Contents/Sounds folder. There's a script that does that already for you. Check out npm run build and npm run pack

How it works

Bring your friends and use your phones as gamepads to play a sequence of 5 fast paced multiplayer games. On Android, the gamepad will also have haptic feedback.

Two game types are currently implemented: the classic Tron light bikes game and a 2-lane obstacle avoidance game.

Who built this?

Code: Marius Petcu
Code: Anatol Prisăcaru
Code: Bogdan Florea
Design: Gabriel Bucur

Screenshot

img_1245 screenshot from 2015-10-28 19 48 53 screenshot from 2015-10-28 19 49 50 screenshot from 2015-10-28 19 49 21

About

Multiplayer game for Metrological SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages