Giter VIP home page Giter VIP logo

shit's Introduction

klobot project

taken by Reisbrot

Here are the files for a game that can be played on a toilet in the flipdot hackerspace Kassel. The control interface is a touchless capacitive sensor that tracks the position of your hand. The monitor is connected to a Raspberry-Pi. A motion detector starts the game.

Game

To channel Mr. Brown through the sanitary underground tubes, you need to move your hand relatively to the controller. You loose if Mr. Brown touches the tubewalls. You then will see the highscores of your fellow shitheads and can add yours. Try to stay in the game as long as possible, you have only one try per session! (maybe you can restart by using the lavatory brush...)

Data

Resolution

game screen resolution: 320x240 px

panel resolutions: 320x240 (short), 320x480, 320x720 (long), 320x960 (extralong)

tube wideness: 80 px

mr.brown: 40x40 px

Collision

//Collision will be detected when Mr. Brown hits a pixel that is not coloured eeeeee.

###Code I will repogram the game in Java while using the old resources. Also im programming with the worst free Java-Engine i could find, jme3. Not updated since 2016. Its the only I know how to program in.

Tubes

While straight tubes can be drawn in a short panel, some combinations require longer panels. Especially crossing over to an other lane in a single short panel is very hard, therefore longer panels are available.

Attention: The connectors in the middle lane have a different grid and crossing into the middle in a short panel is not recommended for level designers.

3 tubelanes -> 49 combinations:

001-001 (right tube straight) -> short
001-010 (right tube curve to middle tube)
001-011 (right tube splits into middle and right tube)
001-100 (right tube curve to left tube)
001-110 (...)
001-101
001-111

010-001
010-010
010-011
010-100
010-110
010-101
010-111

011-001
011-010
011-011
011-100
011-110
011-101
011-111

100-001
100-010
100-011
100-100
100-110
100-101
100-111

110-001
110-010
110-011
110-100
110-110
110-101
110-111

101-001
101-010
101-011
101-100
101-110
101-101
101-111

111-001
111-010
111-011
111-100
111-110
111-101
111-111

shit's People

Contributors

kssoz avatar reisbrot avatar anuejn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.