Giter Site home page Giter Site logo

ukitinu / ttfh Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 122 KB

Till the Final Hour: graphical three-day clock, for a p&p campaign loosely inspired by Majora's Mask.

License: The Unlicense

Python 98.44% Shell 1.56%
python3 tkinter zelda rpg-tool majoras-mask

ttfh's Introduction

Till the Final Hour

Graphical clock to cycle over three days, made for a p&p campaign loosely inspired by TLOZ: Majora's Mask.

As in Majora's Mask, each day starts at 05:00.
The clock can be paused, two play speeds are supported, and there are forward, backward and reset buttons.
It is possible to store multiple times and load them at a later time: useful if the party decides to split and the players don't spend the same amount of time. These savestates are deleted when the clock reset.

Sound effects are supported.
Clock tower bells at certain hours, hour transitions, day transitions, and last day's quakes/rumbles are supported and can be configured.
Sound effects are not supplied.
I use some of the original sound effects, which means, since it's well known that Nintendo hates their fans, that I won't share them. You can supply your own MP3s, or you can leave it as is so that no sound plays.


Configuration and execution

  1. Ensure you've got python3 and pip installed on your device.
  2. Clone the project/download the files (you may ignore the .githooks/, .github/ and tests/ directories).
  3. Run pip install -r requirements.txt.
  4. Remove the .sample suffix from ttfh.ini.sample.
  5. Remove the .sample suffix from either run.sh.sample or run.vbs.sample (depending on your OS), hereinafter referred to as run file.
  6. In ttfh.ini, set the value of python3 (under the [SYSTEM] section) to the command that executes python3.
  7. In ttfh.ini, set the values ending with -name in the [GUI] section to whatever you want (if that doesn't fit the window, you can resize it editing width and/or height).
  8. In ttfh.ini, set the values interval-short and interval-long in the [TIMER] section to the duration in milliseconds of one in-game minute (default and slow speed) (e.g., if you want a default hour to last 2 minutes, set interval-short to 2000).
  9. Run make_run.py to (possibly) update the run file.
  10. Execute the run file and enjoy.
  11. If you close the window, the current time is saved, together with all the savestates. Next time you execute the run file, it will continue from the previous time and the saves will be available.

Sounds

In this section you can define your own sound effects.
bells plays every day at the hours listed in bell-hours (and minute 0).
tick plays at every hour change that is not listed in bell-hours.
rumble plays at the hours listed in rumble-hours, only during the third (last) day.
transition plays at avery day transition.

Images

In this section, you can put your own buttons' icons, I recommend keeping them 16x16 in size.

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.