Ursa Primozic
Published

Kindle users, can your reader do this? Flappy bird on epaper

We set ourselves a challenge. Make a Flappy bird clone for our V tablet. In an hour. This is the result.

Full instructions provided1,058
Kindle users, can your reader do this? Flappy bird on epaper

Things used in this project

Hardware components

Visionect V tablet
×1

Story

Read more

Code

code.txt

Plain text
    //this is a part of periodic render_tick implemented by flappybird.io
 //Don't worry, you can't overload the system as the plugin makes
 //sure we send out renders with the speed that is acceptable for
 //the device. 
 if(startRendering) {
     okular.add({
         bitDepth: 1,
         A2: true,
         width: 600,
         height: 800
     });
 }

code.txt

Plain text
    //Causes a full screen refresh with blink in 4-bit grayscale
    setTimeout(function() {
        okular.add({
            bitDepth: 4,
            width: 600,
            height: 800
        });
        startRendering = true;
    }, 1000);

Credits

Ursa Primozic
6 projects • 12 followers
Communications Manager for Visionect
Contact

Comments

Please log in or sign up to comment.