Giter VIP home page Giter VIP logo

rain-world-clock's Introduction

Rain World Clock

Recreates the cycle clock in the game Rain World. If you haven't played it, go check it out!

Building

Make sure you have Python (3.12.1), setuptools (69.5.1), PyObjC (10.2), numpy (1.26.3) and pillow (10.3.0) installed. Generally the newest version should work, but the version numbers are included in parentheses if you are reading this a few decades in the future.

Run python3 setup.py py2app to build. The results will be in dist/Clock.app.

Usage

Open the app. It will create a task bar button. Use the drop-down menu from the button to select JSON files. An example file (the comments are not valid JSON, they are for demo purposes only):

{
  "ticktock": 3.2,  // seconds between tick and tock
  "intervals": [{
    "totalPip": 25,  // total number of pips in a cycle, can be zero (default)
    "totalTime": 1791,  // total seconds in the cycle, can be zero for infinite time (default)
    "karmaSymbol": 1,  // karma symbol from 0-10, 0 (default) means empty
    "karmaReinforced": true  // karma flower is in effect, default false
  }, {
    "totalPip": 15,
    "totalTime": 670,
    "karmaSymbol": 8,
    "maxKarma": 9  // max karma (7-10) must be specified if karmaSymbol > 5.
  }]
}

The sound effects come from this repo and are properties of the Rain World developers. All png files in the repo come from the rain world wiki, see copyright notices there. The rest are shared under the MIT License.

rain-world-clock's People

Contributors

trebor-huang 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.